code-conductor: Command for Claude Code

.claude/commands/cc-implement.md

cc-implement is a command for Claude Code from yeisonrestrepo/code-conductor. It costs 11 tokens per session (4,258 once invoked), scanned C, original, MIT.

An implementation command for carrying out tasks from an approved plan. It also restores saved context for the current code revision before work begins.

In plain words
What is it for?
Use it to execute an approved coding plan and resume work from saved project context.
Why use it?
It helps the agent continue planned implementation work with the relevant earlier state available.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is yeisonrestrepo/code-conductor's own configuration. It tells Claude Code how to work on code-conductor 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 code-conductor configures →

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

Reuse

Borrowing it

Nothing to install: this file belongs to yeisonrestrepo/code-conductor. 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/yeisonrestrepo/code-conductor/main/.claude/commands/cc-implement.md
Clone the repo
git clone --depth 1 https://github.com/yeisonrestrepo/code-conductor

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 cc-implement

README.md
[![agentmods](https://agentmods.dev/badge/commands/yeisonrestrepo/code-conductor/cc-implement/github.svg)](https://agentmods.dev/commands/yeisonrestrepo/code-conductor/cc-implement)
Your own site
<a href="https://agentmods.dev/commands/yeisonrestrepo/code-conductor/cc-implement"><img src="https://agentmods.dev/badge/commands/yeisonrestrepo/code-conductor/cc-implement/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 cc-implement

Your own site · 80×15
<a href="https://agentmods.dev/commands/yeisonrestrepo/code-conductor/cc-implement"><img src="https://agentmods.dev/badge/commands/yeisonrestrepo/code-conductor/cc-implement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,258 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00011 $0.04258
Opus 5.5 $0.00004 $0.01703
Sonnet 5.5 $0.00002 $0.00852
Haiku 4.5 $0.00001 $0.00426

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

Security

Grade C, and why

cc-implement scanned grade C with 1 finding 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 6d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

3. Strip Unicode invisible characters: `​`, ` `, `‌`, `‍` **`old_string` construction** (Steps 3 and 5 — the actual string passed to `Edit`): - Take the Read result verbatim; strip trailing whitespace and `\r` only - Pre
.claude/commands/cc-implement.md · 219 lines

How it starts

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

Phase entry - Resume Read

Before doing anything else, restore any stored context for the current commit by running scripts/resume-read.mjs. It resolves the current git hash, prefers a valid DB snapshot (conductor-db get-snapshot), falls back to the .claude/memory/session-snapshot.json handoff file, and prints a RESUME_HIT block on a hit / nothing on a miss. Capture its stdout and its exit code with the canonical per-platform form (each first probes for node and treats its absence as a clean miss, never an error):

  • Unix / Git Bash:
    if command -v node >/dev/null 2>&1; then
      resume_out="$(node scripts/resume-read.mjs 2>>.conductor/last-write.log)"; resume_rc=$?
    else resume_rc=3; resume_out=""; fi
    
  • PowerShell:
    if (Get-Command node -ErrorAction SilentlyContinue) {
      $__eap = $ErrorActionPreference; $ErrorActionPreference = 'Continue'
      if (Test-Path variable:PSNativeCommandUseErrorActionPreference) {
        $__nap = $PSNativeCommandUseErrorActionPreference; $PSNativeCommandUseErrorActionPreference = $false
      }
      try {
        $resume_out = node scripts/resume-read.mjs 2>> .conductor/last-write.log; $resume_rc = $LASTEXITCODE
      } catch { $resume_rc = 3; $resume_out = "" }
      finally {
        $ErrorActionPreference = $__eap
        if (Test-Path variable:__nap) { $PSNativeCommandUseErrorActionPreference = $__nap }
      }
    } else { $resume_rc = 3; $resume_out = "" }
    

Branch on resume_rc - only 0 and 4 are meaningful; every other code proceeds fresh:

  • 0 → parse the captured block and adopt it as this phase's starting context, then echo one banner to the user: > Resumed from stored snapshot @ <commit> (phase: <phase>), appending (checkpoint prose available) when the block reports prose: available. Parsing (the command owns normalization): split on \n; strip a trailing \r from every line; drop leading/trailing wholly-blank lines; require lines[0].trim() === 'RESUME_HIT' (anything else = miss); key: value lines split on the first ': ' (both sides trimmed); the pending: block is every subsequent ^\s*-\s+ line up to the first blank line or EOF, each item trimmed. Unknown keys are ignored. In PowerShell, node … binds string[] for multi-line output - normalize with $lines = @($resume_out); a $null/empty capture with resume_rc = 3 is a miss.
  • 4 → operational halt. Do not run this phase's normal work. Emit exactly: SNAP_INVALID: corrupt handoff at .claude/memory/session-snapshot.json - inspect or remove it, then re-run. and enter standby awaiting user action. The corrupt file is left on disk (the script did not delete it).
  • 3 or any other code → proceed fresh (clean miss, bypass, degrade, absent node, or any unexpected runtime code). Ignore the capture.

resume-read.mjs writes its own trace lines to .conductor/last-write.log via appendFileSync; the 2>> redirect above only sinks the incidental exit-4 halt reason away from the UI - it is not the trace channel.


Before starting any task, Read .claude/memory/project.md with limit: 60 and stop at its <!-- end current state --> line: that ## Current State digest is the bounded summary. For detail, Grep project.md with -n for the heading its Active spec: or Last checkpoint: line names, then Read that entry with offset and limit: 60. If the file has no ## Current State section, Read it with limit: 40 instead, then Grep ^## (Spec|Checkpoint) with -n and Read the last match of each with offset and limit: 60. Never read the whole file: its history is append-only and grows with the project.

Read the full file on GitHub · 219 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. 6d ago Changed c0ed6037ac01
  2. 8d ago Changed · +26 lines c8df5fe8e926
  3. 1mo ago Changed · +28 lines 587f9f012668
  4. 2mo ago First seen · 165 lines · 11 tokens per session scan C 1c56b4980a3e

Subscribe to this mod's changes

cc-implement is a command published in the GitHub repository yeisonrestrepo/code-conductor (17 stars, last pushed 2d ago), licensed MIT. It adds 11 tokens to every session and 4,258 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.