cc-init

cc-init is a skill for Claude Code from yeisonrestrepo/code-conductor. It costs 27 tokens per session (1,282 once invoked), scanned A, original, MIT.

A project setup and synchronization command. It examines the files in a project, detects its programming stack, and records project identity and common commands in CLAUDE.md, a file that gives Claude Code project instructions.

In plain words
What is it for?
Use it to initialize a project, re-sync its settings, detect its languages and tools, and find build, test, lint, format, and setup commands.
Why use it?
It removes the need to enter basic project details and commands by hand. It can distinguish a new or empty project from an existing codebase and update missing information.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .claude/scripts/detect-stack.mjs "$PWD".

Good fit Use it to initialize a project, re-sync its settings, detect its languages and tools, and find build, test, lint, format, and setup commands.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/yeisonrestrepo/code-conductor
agentmods
npx agentmods add skills/yeisonrestrepo/code-conductor/cc-init

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-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeisonrestrepo/code-conductor/cc-init"><img src="https://agentmods.dev/badge/skills/yeisonrestrepo/code-conductor/cc-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,282 The whole file, excluding the scripts and references it only reads on demand.
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.00027 $0.01282
Opus 5.5 $0.00011 $0.00513
Sonnet 5.5 $0.00005 $0.00256
Haiku 4.5 $0.00003 $0.00128

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

Security

Grade A, and why

cc-init 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 5d 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.

project-template/.agents/skills/cc-init/SKILL.md · 116 lines

How it starts

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

code-conductor: this command was written for Claude Code. Where it names a Claude Code tool (Read, Grep, Glob, Edit, Write, Bash, Skill, Agent), use your closest equivalent. $ARGUMENTS and an ARGUMENTS: line mean the text the user gave with the command.

Step 1 — Detect project state

List files in the project (exclude .git/, .claude/, node_modules/, and dot-files, max depth 3). Count source files found.

If the count is 0 or only CLAUDE.md / config files exist, treat this as a new/empty project (IS_NEW=true). Otherwise set IS_NEW=false.

Step 2 — Auto-detect and collect project identity

If the stack detector is present in the project, run it:

node .claude/scripts/detect-stack.mjs "$PWD"

Environment flags: CC_GLOB_DEPTH and any other CC_* env vars the user may have set are automatically inherited by the child node process — no explicit export or forwarding is required. The /cc-init command must NOT reset or unset these variables before calling detect-stack.

Capture the JSON output. For each field in the JSON (name, description, stack, build, test, lint, format, setup), check the corresponding line in CLAUDE.md:

  • If the CLAUDE.md line contains <command> or is blank after Key: → replace with the detected value using a single Edit call.
  • If the CLAUDE.md line already has a non-placeholder value → skip (never overwrite).

Apply all replacements in a single Edit call after collecting all detected values.

If the detector is absent or returns {}, skip auto-detection and continue below.

Step 2b — Resolve what detection could not

Ask about the fields detection could not fill, and never about the ones it did. The script decides which is which; this prose only asks.

node .claude/scripts/init-wizard.mjs report

stdout is JSON and nothing else:

{
  "unresolved": [{ "field": "build", "raw": "- Build: <command>", "reason": "placeholder" }],
  "resolved": ["name", "description", "stack", "test"],
  "absent": [{ "field": "setup", "expected": "- Setup:" }]
}

Read the full file on GitHub · 116 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. 5d ago First seen · 116 lines · 27 tokens per session scan A f29dc963c5ce

Subscribe to this mod's changes

cc-init is a skill published in the GitHub repository yeisonrestrepo/code-conductor (22 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 1,282 once invoked, about $0.0001 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-11-25.

Related

cc-init compared with skills from other repositories

cc-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cc-inityeisonrestrepo/code-conductorSkill222d agoMITA27Claude Code
build-executorMageByte-Zero/spec-superflowSkill89928d agoMITA30Claude Code
contract-builderMageByte-Zero/spec-superflowSkill89928d agoMITA33Claude Code
design-auditbencium/bencium-marketplaceSkill5073d agoMITA140Claude Code
bencium-code-conventionsbencium/bencium-marketplaceSkill5073d agoMITA19Claude Code
task-to-prowainlewis/blueprintSkill4444d agoMITA40Claude Code, Codex
code-reviewerMageByte-Zero/spec-superflowSkill89928d agoMITA35Claude Code