cc-resume

cc-resume is a command for Claude Code from yeisonrestrepo/code-conductor. It costs 14 tokens per session (1,322 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

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.

agentmods
npx agentmods add commands/yeisonrestrepo/code-conductor/cc-resume
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.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.svg" alt="Measured on agentmods" 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,322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00014 $0.01322
Opus 5 $0.00007 $0.00661
Sonnet 5 $0.00003 $0.00264
Haiku 4.5 $0.00001 $0.00132

Measured 4d ago against content hash 9dd52caf5bbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 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 AND scripts/detect-stack.mjs exists at $PWD:

  1. Run node scripts/detect-stack.mjs "$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, or if scripts/detect-stack.mjs does not exist, 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.

Extract:

  • The content of the most recent ## Checkpoint [...] block (3 bullets max)
  • Any entries under ## Active Conventions
  • Any entries under ## Technical Debt

If the file is absent or has no ## Checkpoint block, note "No checkpoints yet".

Step 4 — Read personal preferences

Read .claude/memory/personal.md. Extract developer preferences (verbosity, shortcuts, habits).

Read the full file on GitHub · 143 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. 4d 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 (6 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 1,322 once invoked, about $0.0001 per session on Opus 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.