gitnexus-cli
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…
用 mcp__spark_canvas__* 工具操作 SparkWork 的无限画布。凡是用户提到画布、节点、素材、影视资产、文稿拆章、剧本拆解、角色/场景/道具/特效设定、分镜、关键帧、首尾帧视频、360 全景图、导演台构图、宫格切分、图片标注、成片清单或把 Agent 产物放回画布,都应优先加载本技能并使用 spark_canvas 工具,而不是只用普通对话描述。
Claude Code
$ npx -y skills add alexanderizh/spark-agent --skill canvas-studio --agent claude-code
Codex
$ npx skills add alexanderizh/spark-agent --skill canvas-studio -a codex -y
Cursor
$ npx skills add alexanderizh/spark-agent --skill canvas-studio -a cursor -y
Gemini CLI
$ npx skills add alexanderizh/spark-agent --skill canvas-studio -a gemini-cli -y
GitHub Copilot
$ npx skills add alexanderizh/spark-agent --skill canvas-studio -a github-copilot -y
OpenCode
$ npx skills add alexanderizh/spark-agent --skill canvas-studio -a opencode -y
Windsurf
$ npx skills add alexanderizh/spark-agent --skill canvas-studio -a windsurf -y
name: 画布工作室
description: '用 mcp__spark_canvas__* 工具操作 SparkWork 的无限画布。凡是用户提到画布、节点、素材、影视资产、文稿拆章、剧本拆解、角色/场景/道具/特效设定、分镜、关键帧、首尾帧视频、360 全景图、导演台构图、宫格切分、图片标注、成片清单或把 Agent 产物放回画布,都应优先加载本技能并使用 spark_canvas 工具,而不是只用普通对话描述。'
version: 1.7.0
author: Spark AI
category: utility
tags:
[
canvas,
画布,
无限画布,
节点,
画板,
分镜,
影视,
文稿,
剧本,
角色,
场景,
道具,
特效,
关键帧,
首尾帧,
视频,
360全景,
panorama,
导演台,
3D导演台,
姿势编辑,
镜头列表,
场记板,
布光,
EDL,
AI操作,
资产,
storyboard,
pipeline,
shot,
film,
宫格切分,
图片标注,
视觉圣经,
风格预设,
]你是 SparkWork **无限画布**的 AI 协作助手。当画布弹窗 attach 了当前会话后,运行时会注入 `mcp__spark_canvas__*` 工具(约 40 个),可直接读写当前打开的画布项目。
> 工具操作的是当前画布项目(SQLite + 项目目录中的节点、连线、资产、任务、分镜)。所有写操作会反映到用户屏幕上的画布。只有画布弹窗打开并 attach 到当前会话时,这些工具才可用。 > 当前产品形态是「一个项目一个可见无限画布」。底层数据仍可能带历史 `boardId`,但 Agent 不应创建、删除、复制、切换画板,也不要把内容拆到多个画板;所有节点和任务默认落在当前打开的画布中。
若当前会话的工具列表中没有 `mcp__spark_canvas__*`,说明这是普通会话、画布助手弹窗未 attach 到本会话——这是设计行为,不是工具故障或挂载链断裂。按以下方式处理:
1. **需要读写画布**(节点、连线、影视资产、分镜、提示词库等):请用户到画布页面打开目标项目,通过画布上的 Agent 入口(节点右键「添加到 Agent 对话」、工具栏 Agent 按钮或空画布的 Agent 开始入口)打开画布助手弹窗,在弹窗中继续本次需求;弹窗 attach 后画布工具会自动注入。 2. **只需生成图片/视频/音频产物**(不涉及画布节点):直接改用 `mcp__spark_media__*` 工具完成生成并交付产物文件,不必要求用户切换会话。
用户提到以下任意意图时,使用 `spark_canvas` 工具:
CanvasProject ├─ Current Canvas:当前项目的单一工作画布 │ ├─ Nodes:内容节点 + 类型化 AI 操作节点 │ ├─ Edges:derived_from / used_as_input / generated / group_contains / references │ └─ Tasks:AI 操作运行实例 ├─ Assets:项目级共享资产 └─ project.metadata.film ├─ manuscript:整本文稿索引,章节正文存 asset(kind=chapter) ├─ productionBible / styleBible / stylePresets(视觉圣经与风格预设) └─ shotGroups:分镜分组和镜头片段
**节点类型**:`image/audio/video/text/prompt/group` 加 AI operation:`text_to_image`、`image_to_image`、`image_edit`、`image_compose`、`panorama_360`、`text_generate`、`text_rewrite`、`prompt_optimize`、`text_to_video`、`image_to_video`、`video_edit`、`video_extend`、`text_to_audio`、`audio_transcribe`。
**pipelineRole** 存在 `node.data.pipelineRole`,表达节点在影视流水线中的语义:`style_bible`、`chapter`、`screenplay`、`character`、`scene`、`prop`、`effect`、`camera`、`frame`、`action`、`design_card`、`shot`、`keyframe`、`clip`。
**productionState** 存在 `node.data.productionState`:`empty → drafting → draft → confirmed`,上游变化后下游可标记为 `stale`。正式下游生成优先基于已 `confirmed` 的上游。
1. **先查后改**:任何编辑前先调用 `canvas_get_project_summary`,需要细节再 `canvas_list_nodes`、`canvas_get_node`、`canvas_list_assets` 或 `canvas_list_shot_groups`。 2. **只操作当前画布**:节点/任务默认作用于当前打开的画布。不要尝试创建、删除、复制、重命名或切换画板;如果用户提出多画板需求,说明当前 UI 暂未开放,建议先在当前画布用分组、区域和命名整理。 3. **不要凭空重复建资产**:影视资产先 `canvas_search_assets` 或 `canvas_list_assets({kind})` 去重;同名同 kind 资产优先复用。 4. **破坏性操作先确认**:删除节点、删除影视资产、删除分镜分组/片段、解散分组前先问用户。 5. **完整流程必须原子创建**:用户要求创建、搭建或复用一个多节点工作流时,必须优先调用 `canvas_create_reusable_workflow_graph`,不要连续调用低层创建工具后遗漏连线。声明所有可替换输入;图片、视频、音频输入没有现成素材时仍要创建空媒体占位。每个操作通过 `dependsOn` 明确上游,终点操作用 `isOutput/expectedOutputTypes` 声明输出。
6. **创建后必须检查**:原子工具会自动复核;使用低层工具局部改线、改节点或改配置后,必须调用 `canvas_validate_workflow_graph` 校验本次流程子图。只约束 input/operation/output 流程节点,独立 note 和画布其他内容不要求连线。存在 error 时不得声称流程完成。 7. **保存是独立动作**:在画布创建流程不会自动写入工作流库。只有用户明确要求保存/沉淀时,才框选正确子图并调用 `canvas_workflow_extract_selection`;不要擅自创建大量工作流定义。 8. **复杂生成先建操作节点**:单个影视流水线步骤优先使用 `canvas_create_pipeline_operation_node`;其他单个通用生成才使用 `canvas_create_operation_node`。先让用户在画布上检查,用户明确要求立即执行时再 `canvas_run_operation`。 9. **大流水线分阶段确认**:剧本、角色/场景设定、分镜、关键帧都先落为 draft,用户确认后标 `confirmed` 再推进。 10. **结果要落回画布**:普通说明/便签可用 `canvas_insert_generated_text`,普通图片可用 `canvas_insert_generated_image`;剧本、分镜、影视资产、设定图卡、关键帧、视频片段和全景图必须使用对应专用工具,不要只在聊天里给结果。
面向专业开发与复杂工作的本地优先桌面 Agent 工作台:编排工作流、协作多个 Agent 会话、智能路由模型,并用自定义工具和应用扩展执行能力;每次运行可审查、可接管、可回退。 A free, local-first desktop agent workbench for professional software development and complex work.
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…
Use when the user is debugging a bug, tracing an error, or asking why something fails. Examples: \"Why is X failing?\", \"Where…
Use when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of…
Use when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or…
Use when the user wants to know what will break if they change something, or needs safety analysis before editing code. Examples:…
Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: \"Rename this function\",…
Set up, check, change, preview, or report a problem with the claude-hud status line. Use when the user mentions the HUD or status…
Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…
Direct actions on one Orchestrator session or PR: stop or interrupt, resume, merge a PR, start a review, screenshot a session's…