Agent Skills
› Niall-Young/Canvasight
› canvasight-agent-team
canvasight-agent-team
GitHub管理Canvasight Agent Team协作协议。处理启用、配置及审计Agent团队,维护ROSTER.md角色状态与报告一致性,执行乐观并发写入、冲突解决及Git提交闭环,确保多智能体工作流规范运行。
Trigger Scenarios
用户明确要求启用、禁用或配置Canvasight Agent Team
Run payload中structuredContent.agentTeam.enabled为true
涉及ROSTER.md、AGENTS.md或各类Agent报告的读写与维护
Install
npx skills add Niall-Young/Canvasight --skill canvasight-agent-team -g -y
SKILL.md
Frontmatter
{
"name": "canvasight-agent-team",
"description": "Follow Canvasight's Agent Team, role-registry, and agent-report protocol. Use when a Canvasight Run payload has structuredContent.agentTeam.enabled true, or when the user explicitly asks to enable, disable, configure, audit, or include Canvasight Agent Team, ROSTER.md, agent reports, issue reports, solution reports, integration summaries, or the AGENTS.md + role-registry + agent-reports collaboration workflow. Do not use for normal Canvasight opening, Run payload handling, graph writing, troubleshooting, or ordinary code changes unless this protocol is explicitly involved."
}
Codex Agent Team Skill
Use this skill when Canvasight asks Codex to run with Agent Team enabled, or when the user explicitly works on the Agent Team report protocol.
Workflow
- Read
structuredContent.agentTeam, then the target project'sAGENTS.mdwhen it exists. - Read
references/agent-team-schema.json; it is the authoritative contract for role names, field names, statuses, paths, and queue columns. - Read
ROSTER.mdfor durable role-seat state, then linked reports and the latest integration summary before rebuilding a role on a new thread. - Before accepting, blocking, solving, or handing off an issue, read its latest
owner,status, andversion. Do not write against a stale snapshot. - Use
references/agent-selection.mdto select only the roles needed for the current work andreferences/report-protocol.mdfor write-back rules. - Keep the main thread responsible for integration, conflict handling, validation, and final delivery. After it freezes a verified commit-ready scope, have the Project Management Agent perform the scoped Git closure defined in the references; if that seat is unavailable, the main thread must perform the same closure.
ROSTER.md preserves role-seat state, not a thread-local subagent process. Do not create every role by default; recreate only the seats required for the current work.
Required Boundaries
- Keep
canvasight-agent-teamas the Canvasight compatibility name; it packages the upstream Codex Agent Team protocol. - If Agent Team work uses fixed roles,
ROSTER.mdis required. Create or repair it before relying on a persistent role seat. - Report files are the source of truth for issue ownership, state, dependencies, and validation evidence.
ROSTER.mdis the source of truth for role-seat runtime mapping.agent-reports/QUEUE.mdis a derived index only. - When an issue and roster disagree about issue ownership, keep the report as authoritative and synchronize the roster after the report write succeeds. When a queue row disagrees with a report, regenerate the queue row from the report.
- A single issue has exactly one active
owner. A role may not take it over without an explicit handoff, blocker-driven reassignment, or main-thread reassignment recorded in the issue. - Use optimistic concurrency for every report write: re-read the expected
versionimmediately before editing, increment it withupdated_at, and abort/re-read if it changed.updated_atis audit metadata, not the write guard. - Write in this order: report -> affected roster seat -> derived queue. Never update the queue first.
- Use stable schema role names in reports.
Main Threadis the only reserved coordinator that need not have a roster seat. - Run
node scripts/validate-agent-team.mjs --root <project-root>before delivering changes to a project that uses this protocol. - Do not leave verified task-owned changes at
commit: pendingmerely because the main thread owns final delivery. Finish selective staging and commit unless a documented Git-closure exception applies. - If a project already has a conflicting collaboration protocol, preserve it, record the conflict, and ask for direction before replacing it.
Version History
- 065406a Current 2026-07-19 09:56


