coco-workflow: Instructions file for Claude Code

CLAUDE.md

coco-workflow CLAUDE.md is an instructions file for Claude Code from skullninja/coco-workflow. It costs 9,612 tokens per session, scanned A, original, MIT.

A Claude Code plugin for planning and carrying out software work from written specifications. A specification describes what should be built, while the plugin tracks tasks, reviews changes, and can mirror status to an issue tracker.

In plain words
What is it for?
Use it to create product requirements and roadmaps, turn features into design and task documents, track dependent tasks across sessions, review pull requests, and optionally sync progress with Linear or GitHub.
Why use it?
It brings planning, task tracking, pull-request workflow, automated code review, and project-status visibility into one process. It also supports work spanning multiple repositories.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is skullninja/coco-workflow's own configuration. It tells Claude Code how to work on coco-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything coco-workflow configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/you/Projects/AcmeApp.

Reuse

Borrowing it

Nothing to install: this file belongs to skullninja/coco-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/skullninja/coco-workflow/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/skullninja/coco-workflow

Made for: Claude Code.

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 coco-workflow CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/skullninja/coco-workflow/claude-md/github.svg)](https://agentmods.dev/instructions/skullninja/coco-workflow/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/skullninja/coco-workflow/claude-md"><img src="https://agentmods.dev/badge/instructions/skullninja/coco-workflow/claude-md/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 coco-workflow CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/skullninja/coco-workflow/claude-md"><img src="https://agentmods.dev/badge/instructions/skullninja/coco-workflow/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,612 This file is loaded in full into every session.
When invoked 9,612 The same file — it is already loaded in full.
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.09612 $0.09612
Opus 5.5 $0.03845 $0.03845
Sonnet 5.5 $0.01922 $0.01922
Haiku 4.5 $0.00961 $0.00961

Measured 17d ago against content hash 8cec5efd3db4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coco-workflow CLAUDE.md 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 17d 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.

CLAUDE.md · 617 lines

How it starts

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

CLAUDE.md -- Coco

Project Overview

Coco is a Claude Code plugin that provides autonomous spec-driven development. It unifies planning (slash commands), execution (built-in task tracker), PR workflow with AI code review, and visibility (configurable issue tracker) into a single plugin distributed via the Claude Code marketplace (or as a git submodule).

Architecture

Five layers:

  • Discovery: /coco:prd and /coco:roadmap produce PRD, analysis, and roadmap artifacts. Supports multi-repo via derived PRDs (/coco:prd derive)
  • Planning: Skills (interview, design, tasks, import) produce spec artifacts in specs/{feature}/
  • Execution: lib/tracker.sh (bash + jq) manages task state, dependencies, sessions
  • Review: Two-tier PR workflow with AI code review (agents/code-reviewer.md)
  • Visibility: Issue tracker bridge (Linear MCP, GitHub CLI, or none) mirrors status

Key Files

Path Purpose
.claude-plugin/plugin.json Claude Code plugin manifest (auto-discovers commands/skills/agents)
hooks/hooks.json Claude Code hook definitions (PostToolUse, PreCompact, SessionStart) -- no PreToolUse, see Hooks
bin/coco-tracker Tracker wrapper -- on PATH as bare command coco-tracker
lib/tracker.sh Built-in task tracker -- core of the system (invoked via coco-tracker)
config/coco.default.yaml Default configuration schema
commands/setup.md /coco:setup -- project initialization (config wizard, git hooks, permissions)
commands/ 14 slash commands (setup, prd [greenfield/audit/derive], roadmap, phase, loop, execute, dashboard, standup, test-audit, etc.)
commands/test-audit.md /coco:test-audit -- read-only test suite audit against the value rubric
skills/interview/SKILL.md Pre-design discovery interview (AI-selected)
skills/design/SKILL.md Feature design: spec + implementation plan (AI-selected)
skills/tasks/SKILL.md Task list generation with consistency analysis (AI-selected)
skills/import/SKILL.md Tracker + issue tracker import (AI-selected)
skills/execute/SKILL.md Execution skill (delegates to /coco:execute command)
skills/hotfix/SKILL.md Single-issue hotfix workflow (with optional PR)
agents/code-reviewer.md AI code review agent for PRs
agents/task-executor.md Worktree-isolated task executor for parallel execution
agents/pre-commit-tester.md UI/UX validation agent (config-driven)
agents/test-auditor.md Read-only test scoring agent, dispatched by /coco:test-audit for large suites
hooks/scripts/post-tool-use-quality.sh PostToolUse hook -- runs lint/typecheck after file edits
hooks/scripts/pre-compact.sh PreCompact hook -- captures session state before compaction
hooks/scripts/session-start.sh SessionStart hook -- restores session context
hooks/scripts/coco-lib.sh Shared hook helpers -- resolves the coco project root by walking up
git-hooks/commit-msg.sh Commit message validation (reads config)
git-hooks/pre-commit.sh Build check + UI change detection (reads config)
GUIDE.md Comprehensive workflow guide with deep-dives and quick reference
templates/ Default templates for PRD, analysis, roadmap, discovery, design, tasks, constitution
templates/test-value-rubric.md Test value rubric -- verdicts and evidence used by review and audit
scripts/setup.sh Creates .coco/ directory and installs git hooks in host project
scripts/uninstall.sh Removes git hooks
tests/test-tracker.sh 84 tests for tracker.sh
tests/test-hooks.sh 9 tests for coco-lib.sh project-root resolution
tests/test-setup-config.sh 26 tests guarding wizard/config drift

Read the full file on GitHub · 617 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. 17d ago Changed · +152 lines · +2,014 tokens per session 8cec5efd3db4
  2. 2mo ago First seen · 465 lines · 7,598 tokens per session scan A 78e2f5c6c008

Subscribe to this mod's changes

coco-workflow CLAUDE.md is an instructions file published in the GitHub repository skullninja/coco-workflow (7 stars, last pushed 15d ago), licensed MIT. It adds 9,612 tokens to every session, about $0.0384 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 instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens