Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/skullninja/coco-workflow/syncgit clone --depth 1 https://github.com/skullninja/coco-workflowWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00020 | $0.00764 |
| Opus 5 | $0.00010 | $0.00382 |
| Sonnet 5 | $0.00004 | $0.00153 |
| Haiku 4.5 | $0.00002 | $0.00076 |
Grade A, and why
sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
User Input
$ARGUMENTS
$ARGUMENTS can optionally specify:
--dry-run-- show what would change without making updates--epic {name}-- sync a specific epic (default: active)
Setup
- Read
.coco/config.yamlforissue_trackerconfiguration. - If
issue_tracker.provideris "none", report "No issue tracker configured" and exit.
Execution
0. Clean Up Stale Worktrees
Remove stale git worktree references left by crashed or completed agents:
git worktree prune
If .claude/worktrees/ contains directories with no corresponding git worktree, remove them:
git worktree list --porcelain
Compare against directories in .claude/worktrees/. Remove any orphaned directories.
1. Load Tracker State
coco-tracker list --json --epic {epic-id}
Parse all tasks with their statuses and issue_key metadata.
2. Load Issue Tracker State
For each tracker task that has an issue_key:
If "linear":
Use: mcp__plugin_linear_linear__get_issue
Parameters:
id: {issue_key}
If "github":
If github.use_projects is true:
- Read
.coco/state/gh-projects.jsonand find the feature entry whereproject_numbermatches the task'sgh_project_numbermetadata. Extractproject_id,status_field_id, andstatus_optionsfrom that entry. - Query project board status as source of truth:
Match each task'sgh project item-list {project_number} --owner {github.owner} --format jsongh_project_item_idto get its current board column status. - Backfill detection: For tasks with
issue_keybut nogh_project_item_id(pre-existing issues created before Projects V2 was enabled), offer to backfill:
Then update tracker metadata with the newgh project item-add {project_number} --owner {github.owner} --url {issue_url}gh_project_item_id.
If github.use_projects is false (legacy):
gh issue view {issue_number} --json state,labels
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 112 lines · 20 tokens per session scan A 6295cd89d29a
sync is a command published in the GitHub repository skullninja/coco-workflow (7 stars, last pushed 2d ago), licensed MIT. It adds 20 tokens to every session and 764 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
interactive-planning
File-based planning with interactive gates + native task tracking. Supports task-based (single plan file) and spec-driven (multi-file specs with manifest) modes. Phase/Sprint/Spec hierarchy with dependency DAG.
set-tracker
Set the issue tracker for the current project.
maggy-init
Interactive wizard that configures Maggy for the user's org, issue tracker, and codebases. Writes /.maggy/config.yaml and ensures deps are installed.
specmanager-board
Open the SpecManager kanban board in your default browser.
progress
You are generating a visual progress report showing which phases are complete, in-progress, or pending for the current feature.
commit
You are creating a conventional commit scoped to the current phase of work.