Agent skill

Ccw Chain

by catlog22 in catlog22/Claude-Code-Workflow

Chain-based CCW workflow orchestrator. An agent skill from catlog22/Claude-Code-Workflow.

MITAuto-check: notes

Install Ccw Chain

skills CLI
$ npx skills add catlog22/Claude-Code-Workflow --skill ccw-chain -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install catlog22/Claude-Code-Workflow ccw-chain --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/catlog22/Claude-Code-Workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ccw-chain .claude/skills/ccw-chain && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ccw-chain
GitHub stars
2.1k
Token cost
~1.1k tokens
SKILL.md length
424 words
Files
10
Skills in repo
82
Repo updated
First seen
Licence
MIT

At a glance

Chain-based CCW workflow orchestrator. An agent skill from catlog22/Claude-Code-Workflow.

  • Works in 4 steps: chain_loader list — list all chains with… → Match user intent to chain… → chain_loader inspect — preview chain… → …
  • SKILL.md covers Discovery, Execution Protocol, Auto Mode (-y / --yes) and Delegation Protocol, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ccw Chain is an agent skill from catlog22/Claude-Code-Workflow. Chain-based CCW workflow orchestrator. Intent analysis, workflow routing, and Skill pipeline execution via progressive chain loading. Triggers on "ccw chain", "chain ccw", "workflow chain".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files (for example `chains/ccw-cycle.json`, `chains/ccw-exploration.json` and `chains/ccw-issue.json`).

The repository describes itself as: JSON-driven multi-agent cadence-team development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution. The licence is MIT.

Example prompts

  • “ccw chain”
  • “chain ccw”
  • “workflow chain”
  • “/ccw-chain”

Requirements

  • Pre-approved tools (allowed-tools): Skill(*), TodoWrite(*), AskUserQuestion(*), Read(*), Grep(*), Glob(*), Bash(*)

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. chain_loader list — list all chains with triggers, entries, and descriptions
  2. Match user intent to chain triggers.task_types / triggers.keywords
  3. chain_loader inspect — preview chain node graph and available entries
  4. chain_loader start — begin from default entry, named entry (entry_name), or any node (node)

What it can do on your machine

Read from SKILL.md and the folder at commit 07491b0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Skill(*)
    • TodoWrite(*)
    • AskUserQuestion(*)
    • Read(*)
    • Grep(*)
    • Glob(*)
    • Bash(*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ccw Chain loads about 1.1k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 424 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Skill(*), TodoWrite(*), AskUserQuestion(*), Read(*), Grep(*), Glob(*), Bash(*)

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from catlog22/Claude-Code-Workflow at commit 07491b0, republished under its MIT licence (© catlog22). 424 words, ~1,056 tokens.

Download SKILL.mdSave it as .claude/skills/ccw-chain/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
ccw-chain
description
Chain-based CCW workflow orchestrator. Intent analysis, workflow routing, and Skill pipeline execution via progressive chain loading. Triggers on "ccw chain", "chain ccw", "workflow chain".
allowed-tools
Skill(*), TodoWrite(*), AskUserQuestion(*), Read(*), Grep(*), Glob(*), Bash(*)

CCW Chain Orchestrator

Chain-based workflow orchestrator using chain_loader for progressive step loading and LLM-driven decision routing.

Discovery

  1. chain_loader list — list all chains with triggers, entries, and descriptions
  2. Match user intent to chain triggers.task_types / triggers.keywords
  3. chain_loader inspect — preview chain node graph and available entries
  4. chain_loader start — begin from default entry, named entry (entry_name), or any node (node)

Execution Protocol

When chain_loader delivers a step node with a skill/command doc:

  1. Read the loaded doc content to understand the skill's purpose and interface
  2. Assemble the Skill call: Skill(skill_name, args)
    • First step: args = "${analysis.goal}"
    • Subsequent steps: args = "" (auto-receives session context)
    • Special args noted in step name (e.g., --bugfix, --hotfix, --plan-only)
  3. Propagate -y: If auto mode active, append -y to args
  4. Execute: Skill(skill_name, args) — blocking, wait for completion
  5. Advance: chain_loader done to proceed to next step
javascript
const autoYes = /\b(-y|--yes)\b/.test($ARGUMENTS);

function assembleCommand(skillName, args, previousResult) {
  if (!args && previousResult?.session_id) {
    args = `--session="${previousResult.session_id}"`;
  }
  if (autoYes && !args.includes('-y') && !args.includes('--yes')) {
    args = args ? `${args} -y` : '-y';
  }
  return { skill: skillName, args };
}

Auto Mode (-y / --yes)

  • D1 Clarity Check: always choose "Clear" (skip clarification)
  • Confirmation: skip, execute directly
  • Error handling: auto-skip failed steps, continue pipeline
  • Propagation: -y injected into every downstream Skill call

Delegation Protocol

When chain_loader returns delegate_depth > 0:

  1. Continue normal execution (read content, assemble Skill, execute)
  2. On returned_from_delegate: true, resume parent chain context
  3. Variables received from child chain are available for subsequent steps

Preloaded Context

When chain_loader start returns preloaded_keys:

  1. Preloaded content is available via chain_loader content for the entire session
  2. Reference preloaded context when assembling Skill calls
  3. Use preloaded memory/project context to inform all downstream steps

Progress Visualization

After each chain_loader done, call chain_loader visualize to show progress. Display the visualization in execution log for user awareness.

Show full SKILL.md (160 more words)Show less

Variable Propagation

Intent analysis results (task_type, goal, auto_yes) are stored as chain variables. assembleCommand() reads variables from chain_loader status for Skill args. Variables automatically flow through delegation via pass_variables/receive_variables.

Phase-Level Execution (Skill Chain Delegation)

When the current chain is a skill-level chain (entered via delegation from a category chain):

  1. Each step delivers phase doc content directly (not SKILL.md)
  2. Execute phase instructions inline — do NOT wrap in Skill() call
  3. Reference preloaded skill-context for orchestration patterns (TodoWrite, data flow, error handling)
  4. Phase execution produces artifacts (files, session state) consumed by the next phase
  5. The chain system controls phase progression — no need for internal phase orchestration

Architecture: Chain Definition Layers

  • Category chains (8): ccw-chain/chains/ — routing and orchestration (ccw-main, ccw-standard, etc.)
  • Workflow skill chains (7): .claude/workflow-skills/*/chains/ — skill-level chains with phase content
  • Phase content: .claude/skills/*/phases/ — original phase files, referenced via @skills/ prefix
  • Category chains delegate to workflow skill chains via findChainAcrossSkills() fallback
  • Content refs: @phases/ = skill-relative, @skills/ = project .claude/skills/ relative

© catlog22, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files in .claude/skills/ccw-chain of catlog22/Claude-Code-Workflow.

  • SKILL.md
  • chains/ccw-cycle.json
  • chains/ccw-exploration.json
  • chains/ccw-issue.json
  • chains/ccw-lightweight.json
  • chains/ccw-main.json
  • chains/ccw-standard.json
  • chains/ccw-team.json
  • chains/ccw-with-file.json
  • specs/auto-mode.md

Open the folder on GitHubat commit 07491b0

Compare with similar skills

Ccw Chain next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ccw Chain compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ccw Chain this skillcatlog22/Claude-Code-Workflow2.1k—~1.1kAutomated safety check: NotesMIT
Plan Orchestrateaffaan-m/ECC276k1 repos~4.5kAutomated safety check: PassMIT
Team Agent Orchestrationaffaan-m/ECC276k1 repos~1.2kAutomated safety check: PassMIT
Orca Orchestrationstablyai/orca88k—~916Automated safety check: PassMIT
Agent Orchestrator Taskruvnet/ruflo74k2 repos~1kAutomated safety check: PassMIT
Orchestratesickn33/agentic-awesome-skills47k1 repos~692Automated safety check: PassMIT

Similar skills

  • Plan Orchestrate

    affaan-m/ECC

    Read a plan document, decompose it into steps, design a per-step agent chain from the ECC catalogue, and emit ready-to-paste /orchestrate custom prompts.

    276k GitHub starsUsed in 1 repo~4.5k tokens
    Agent WorkflowsAuto-check passed
  • Run team-based orchestration for agent squads: work items with owners and scope, agent Kanban state, branch isolation, control pane visibility, and merge gates.

    276k GitHub starsUsed in 1 repo~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Orca Orchestration

    stablyai/orca

    Coordinate supervised Orca workers: threaded messages, blocking ask/reply, task dispatch, worker_done/escalation waits, task DAGs, decision gates, coordinator…

    88k GitHub stars~916 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agent skill for orchestrator-task - invoke with $agent-orchestrator-task

    74k GitHub starsUsed in 2 repos~1k tokens
    Agent WorkflowsAuto-check passed
  • Orchestrate

    sickn33/agentic-awesome-skills

    Coordinate focused subagents on substantial work, keep their ownership non-overlapping, and integrate verified results.

    47k GitHub starsUsed in 1 repo~692 tokens
    Agent WorkflowsAuto-check passed
  • Intent Requirements Intake

    Yeachan-Heo/oh-my-claudecode

    Turns a pasted chat log or spoken problem report from support or ops staff into a reviewed five-section intent.md through numbered batches of questions.

    40k GitHub stars~1.5k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed

More from catlog22/Claude-Code-Workflow

All 82 skills in this repo
  • Ccw Help

    catlog22/Claude-Code-Workflow

    CCW command help system. An agent skill from catlog22/Claude-Code-Workflow.

    2.1k GitHub stars~2.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Brainstorm

    catlog22/Claude-Code-Workflow

    Unified brainstorming skill with dual-mode operation — auto mode (framework generation, parallel multi-role analysis, cross-role synthesis) and single role analysis.

    2.1k GitHub stars~4.8k tokensUpdated 3 mo ago
    Auto-check: notes
  • Delegation Check

    catlog22/Claude-Code-Workflow

    Check workflow delegation prompts against agent role definitions for content separation violations.

    2.1k GitHub stars~2.8k tokensUpdated 3 mo ago
    Auto-check: notes
  • Investigate

    catlog22/Claude-Code-Workflow

    Systematic debugging with Iron Law methodology. An agent skill from catlog22/Claude-Code-Workflow.

    2.1k GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check: notes
  • Issue Discover

    catlog22/Claude-Code-Workflow

    Unified issue discovery and creation. An agent skill from catlog22/Claude-Code-Workflow.

    2.1k GitHub stars~3.3k tokensUpdated 3 mo ago
    Auto-check: notes
  • Issue Manage

    catlog22/Claude-Code-Workflow

    Interactive issue management with menu-driven CRUD operations.

    2.1k GitHub stars~2.1k tokensUpdated 3 mo ago
    Auto-check: notes

Questions about Ccw Chain

What does Ccw Chain do?

Chain-based CCW workflow orchestrator. An agent skill from catlog22/Claude-Code-Workflow. Ccw Chain is an agent skill from catlog22/Claude-Code-Workflow. Chain-based CCW workflow orchestrator.

How do I install Ccw Chain in Claude Code?

Run `npx skills add catlog22/Claude-Code-Workflow --skill ccw-chain -a claude-code`. Or copy the skill folder (.claude/skills/ccw-chain in catlog22/Claude-Code-Workflow) into .claude/skills/ccw-chain in your project. Claude Code loads it when a task matches its description.

How do I install Ccw Chain in Codex?

Run `npx skills add catlog22/Claude-Code-Workflow --skill ccw-chain -a codex`. Or copy the skill folder (.claude/skills/ccw-chain in catlog22/Claude-Code-Workflow) into .agents/skills/ccw-chain in your project. Codex loads it when a task matches its description.

Can I use Ccw Chain in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add catlog22/Claude-Code-Workflow --skill ccw-chain -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ccw-chain, .gemini/skills/ccw-chain, .github/skills/ccw-chain and .opencode/skills/ccw-chain in your project.

What does Ccw Chain need to run?

SKILL.md names no scripts, command-line tools or credentials: Ccw Chain is instructions for the agent only. Its frontmatter pre-approves these tools: Skill(*), TodoWrite(*), AskUserQuestion(*), Read(*), Grep(*), Glob(*), Bash(*).

Does Ccw Chain access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ccw Chain safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Ccw Chain use?

Ccw Chain is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ccw Chain use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ccw Chain?

Skills that share tags, products or a category with Ccw Chain: Plan Orchestrate (affaan-m/ECC, 276k stars), Team Agent Orchestration (affaan-m/ECC, 276k stars), Orca Orchestration (stablyai/orca, 88k stars) and Agent Orchestrator Task (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ccw Chain?

catlog22 (a GitHub user) maintains it in catlog22/Claude-Code-Workflow, which has 2,130 GitHub stars. The repository holds 82 skills in this directory. The repository was last updated on June 18, 2026.

Source: catlog22/Claude-Code-Workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.