code-conductor: Command for Claude Code

.claude/commands/cc-resume.md

cc-resume is a command for Claude Code from yeisonrestrepo/code-conductor. It costs 14 tokens per session (1,513 once invoked), scanned A, original, MIT.

A command that restores project and session context in a new coding-agent session. It reads the project's CLAUDE.md instructions and can fill in missing build, test, lint, format, or setup commands from detected project details.

In plain words
What is it for?
Use it to resume an initialized project and recover its instructions and relevant session information.
Why use it?
It helps continue work without manually reconstructing the project's identity, commands, and previous state.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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 →

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/yeisonrestrepo/code-conductor/cc-resume"><img src="https://agentmods.dev/badge/commands/yeisonrestrepo/code-conductor/cc-resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 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,513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00014 $0.01513
Opus 5.5 $0.00006 $0.00605
Sonnet 5.5 $0.00003 $0.00303
Haiku 4.5 $0.00001 $0.00151

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

Security

Grade A, and why

cc-resume scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL --max-time 5 https://raw.githubusercontent.com/yeisonrestrepo/code-conductor/main/VERSION 2>/dev/null
.claude/commands/cc-resume.md · 151 lines

How it starts

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

Step 1 — Verify project initialization

Check if CLAUDE.md exists in the current directory.

  • If absent: stop immediately and output — "Project not initialized. Run /cc-init first."
  • If present but ## Project Identity fields are all empty: continue and include this warning at the top of the final report: "⚠ Project identity incomplete — run /cc-init to fill it in."

Step 2 — Read project identity

Read CLAUDE.md. Extract:

  • Name (from - **Name:**)
  • Description (from - **Description:**)
  • Stack (from - **Stack:**)
  • Language (from - **Language:**)

Use — for any missing fields.

Auto-fill blank command fields (BUG-015): After reading the identity fields, check if any of Build, Test, Lint, Format, Setup in CLAUDE.md are still <command> (any case) or blank after the colon. If at least one is blank, resolve the detector by presence, the deployed copy first:

D=.claude/scripts/detect-stack.mjs; [ -f "$D" ] || D=scripts/detect-stack.mjs

If neither file exists, skip this step silently.

  1. Run node "$D" "$PWD" and capture the JSON output.
  2. For each blank/placeholder command field, if the JSON contains a matching key (build, test, lint, format, setup), replace the placeholder with the detected value using a single Edit call.
  3. Never overwrite a field that already contains a non-placeholder value.
  4. If all five fields are already populated, skip this step silently.
  5. If the JSON is {} or node exits non-zero, skip silently.

Re-read the updated CLAUDE.md fields after this step so the session resume report reflects the filled values.

Step 3 — Read project memory

Read .claude/memory/project.md with limit: 60 and stop at its <!-- end current state --> line: that ## Current State digest is the bounded summary. Never read the whole file: its history is append-only and grows with the project.

Extract:

  • The Last checkpoint: line, then up to 3 bullets of the entry it names: Grep that heading with -n and Read the entry with offset and limit: 60
  • The bullets under ### Conventions in ## Current State
  • The bullets under ### Debt in ## Current State

Read the full file on GitHub · 151 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 · +2 lines d140fcc0eb53
  2. 23d ago Changed · +6 lines 096107236eeb
  3. 2mo ago First seen · 143 lines · 14 tokens per session scan A 9dd52caf5bbb

Subscribe to this mod's changes

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