phase

phase is a command for Claude Code from skullninja/coco-workflow. It costs 21 tokens per session (1,948 once invoked), scanned A, original, MIT.

A roadmap phase is a group of related features planned for one stage of a release. This command coordinates the full phase from feature design and task import through issue creation and execution.

In plain words
What is it for?
Use it to find the features in a roadmap phase, design them, import their tasks into a tracker, create issues, and execute the resulting work.
Why use it?
It connects planning tools and implementation steps that are often handled separately. Once the phase is approved, it continues through the features until the phase is complete or a hard failure stops it.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the coco plugin — 6 skills, 14 commands, 4 agents, 3 hooks shipped together

Good fit Use it to find the features in a roadmap phase, design them, import their tasks into a tracker, create issues, and execute the resulting work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/skullninja/coco-workflow/phase
Install

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.

Clone the repo
git clone --depth 1 https://github.com/skullninja/coco-workflow

Made for: Claude Code.

Or install coco, the plugin that ships this one along with the rest of its 6 skills, 14 commands, 4 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for phase

README.md
[![agentmods](https://agentmods.dev/badge/commands/skullninja/coco-workflow/phase/github.svg)](https://agentmods.dev/commands/skullninja/coco-workflow/phase)
Your own site
<a href="https://agentmods.dev/commands/skullninja/coco-workflow/phase"><img src="https://agentmods.dev/badge/commands/skullninja/coco-workflow/phase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for phase

Your own site · 80×15
<a href="https://agentmods.dev/commands/skullninja/coco-workflow/phase"><img src="https://agentmods.dev/badge/commands/skullninja/coco-workflow/phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,948 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01948
Opus 5.5 $0.00008 $0.00779
Sonnet 5.5 $0.00004 $0.00390
Haiku 4.5 $0.00002 $0.00195

Measured 1mo ago against content hash 95ada2dfae0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

phase 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 1mo ago.

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.

commands/phase.md · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.

User Input

$ARGUMENTS

$ARGUMENTS is a phase identifier or description. If empty, ask the user which phase to start.

Setup

  1. Read .coco/config.yaml for project configuration.

Execution

This command runs to completion in one turn. After the plan gate in step 3, there are no further checkpoints. Do not end a turn on a statement about the next feature ("Next I'll design X", "Continuing with feature 2") -- take the step instead. Do not offer to pause between features. The user approved the phase; the only legitimate stops are a hard failure or Phase Completion. Same four rules as /coco:loop -- see The Loop Does Not Stop To Report in commands/loop.md.

Report progress as one line per feature as it resolves, so the user can see phase position without asking:

[phase "{name}" | feature {i}/{n} | {done} complete] {feature} -> {stage}

1. Identify Specs for the Phase

Read discovery.roadmap_dir from config (default: docs/roadmap).

Structured roadmap lookup (preferred):

  1. Glob {roadmap_dir}/*.md for roadmap files
  2. If $ARGUMENTS matches a phase name or number in a roadmap file (e.g., "Phase 1: Foundation"):
    • Parse the phase table to get the feature list with slugs, priority order, and scores
    • Extract cross-feature dependencies from the phase section
  3. If $ARGUMENTS is a release name (e.g., "v1.0"):
    • Open {roadmap_dir}/{release}.md and ask the user which phase to execute

Fallback (no roadmap files found):

  • Search project README or docs for a roadmap section
  • Use $ARGUMENTS as a description of features to implement
  • Check existing spec directories in {specs_dir}/

Extract all features for the phase. When sourced from a roadmap, preserve the priority order and scores for reporting.

2. Audit Existing State

For each feature:

a. Check for existing spec directories using the Glob tool for each feature: {specs_dir}/{feature}/*

b. Check for existing code using Grep and Glob tools to search the codebase for related files (do NOT delegate to subagents for this).

Read the full file on GitHub · 233 lines

Changes

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.

  1. 1mo ago First seen · 233 lines · 21 tokens per session scan A 95ada2dfae0d

Subscribe to this mod's changes

phase is a command published in the GitHub repository skullninja/coco-workflow (8 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 1,948 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other commands, from other repositories

ccc

CC Commander Hub — interactive menu derived from adventure JSON files. 450+ skills, 11 CCC domains, 80+ commands, 9 modes.

KevinZai/commander · 31 tokens

ccc-spawn

Plan and launch parallel Claude Code peers (quick, team, swarm or domain expert), each on its own branch and worktree with non-overlapping files, then track or stop them. Use when work splits into independent parts that should run in separate sessions.

KevinZai/commander · 55 tokens

ccc-improve

Run the continuous-improvement pipeline: scan GitHub and npm for new Claude Code tooling, score proposals, and approve or reject them in a local queue. Use when reviewing ecosystem findings or deciding what to adopt next.

KevinZai/commander · 47 tokens

ccc-linear

Show the Linear project board by status with a progress bar, pick an issue to start work on, or create a new issue, with every Linear write confirmed first. Use when you want to see or act on your Linear project from the session or the ccc CLI.

KevinZai/commander · 54 tokens

ccc-makeover

Score project health with X-Ray, apply the top recommendations in impact order with your OK for each, and show the before and after score. Use when you want the highest-impact project health fixes applied and measured.

KevinZai/commander · 47 tokens

ccc-office-hours

Stress-test a product idea before writing code through product, technical and user lenses, ending in BUILD IT, SIMPLIFY FIRST, RESEARCH MORE or KILL IT. Use when deciding whether a feature or product is worth building.

KevinZai/commander · 50 tokens