Agent SkillsNiall-Young/Canvasight › canvasight-run

canvasight-run

GitHub

处理Canvasight Run输出为Chat跟进。涵盖原生桥接、浏览器回退及旧版节点数据场景。支持线程认领、运行等待、会话关联,并集成Agent Team调度与传输错误处理机制。

plugins/canvasight/skills/canvasight-run/SKILL.md Niall-Young/Canvasight

Trigger Scenarios

通过原生Widget桥接接收Run输出 浏览器或开发环境回退队列中的Run 需将旧版Plan/Goal节点数据视为Chat处理

Install

npx skills add Niall-Young/Canvasight --skill canvasight-run -g -y
More Options

Non-standard path

npx skills add https://github.com/Niall-Young/Canvasight/tree/main/plugins/canvasight/skills/canvasight-run -g -y

Use without installing

npx skills use Niall-Young/Canvasight@canvasight-run

指定 Agent (Claude Code)

npx skills add Niall-Young/Canvasight --skill canvasight-run -a claude-code -g -y

安装 repo 全部 skill

npx skills add Niall-Young/Canvasight --all -g -y

预览 repo 内 skill

npx skills add Niall-Young/Canvasight --list

SKILL.md

Frontmatter
{
    "name": "canvasight-run",
    "description": "Handle Chat-only Canvasight Run output in the current Codex thread. Use when a Run arrives through the native widget host bridge, when a browser\/dev Run is queued for await_canvasight_run fallback, or when legacy Plan or Goal node data must be treated as Chat."
}

Canvasight Run

Use this skill to handle Canvasight Run payloads as Chat follow-ups.

Workflow

  1. If the Run arrived as a normal Codex follow-up turn from the Canvasight native widget host bridge, use that Markdown directly.
  2. If the user opened Canvasight through a browser/dev fallback, call claim_canvasight_thread before clicking Run in an old tab so the daemon scopes the queued Run to the current thread. A bare 5173 page without an explicit claim must be treated as unbound, not as a sent Run.
  3. If the user already clicked Run but no Codex turn appeared, call await_canvasight_run. If await_canvasight_run is not callable, use tool_search for Canvasight tools first. If it is callable but fails with Transport closed, report canvasight_mcp_transport_closed: the fallback queue cannot be consumed from this stale task. Inspect mcp-lifecycle.log when available, then reload or use a new task with current Canvasight tools.
  4. Prefer sessionId when available; use projectPath to attach to the next queued Run from any active session in that project.
  5. Treat returned Markdown and structuredContent as the source of truth for the next Codex action.
  6. If structuredContent.agentTeam.enabled is true, use canvasight-agent-team before executing the task. Read its schema and ROSTER.md before assigning or rebuilding a role.

Normal Canvasight Run delivery must come from the Codex native widget host bridge, using either MCP Apps ui/message or Codex/OpenAI compatibility window.openai.sendFollowUpMessage. If the UI reports browser_fallback_no_bridge, the page was opened through browser fallback/dev URL instead of the native widget; reopen with open_canvasight after tool_search, or receive the queued fallback with await_canvasight_run. If those visible Canvasight MCP tools fail with Transport closed, stop, inspect mcp-lifecycle.log, and report canvasight_mcp_transport_closed instead of promising queued recovery in the same stale thread. Browser URLs and bare dev pages must not silently pretend success: if no claim exists, the UI must report unbound_dev_session; otherwise it queues the payload for await_canvasight_run. Do not treat Codex app-server turn/start as a Run delivery path.

Native open must have received the active task's explicit CODEX_THREAD_ID and passed the instance-bound await gate with verified fullscreen React/project/canvas evidence; Run is accepted only from that same instance. Do not use a missing hostCapabilities.message declaration alone to disable Run after the MCP App handshake succeeds. Call sendMessage and treat only its resolved Promise as sent.

Read references/run-output-contract.md for Chat delivery and legacy-node normalization.

Version History

  • 065406a Current 2026-07-19 09:56

Same Skill Collection

plugins/canvasight/skills/canvasight-open/SKILL.md
plugins/canvasight/skills/canvasight-update/SKILL.md
plugins/canvasight/skills/canvasight/SKILL.md
plugins/canvasight/skills/canvasight-agent-team/SKILL.md
plugins/canvasight/skills/canvasight-graph-writer/SKILL.md
plugins/canvasight/skills/canvasight-troubleshooting/SKILL.md

Metadata

Files
0
Version
065406a
Hash
32ab872d
Indexed
2026-07-19 09:56

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-21 12:46
浙ICP备14020137号-1 $Map of visitor$