cc-stack

cc-stack is a skill for Claude Code from yeisonrestrepo/code-conductor. It costs 37 tokens per session (2,530 once invoked), scanned A, original, MIT.

A project setup skill that detects a codebase's programming stack and writes matching commands and rules into its root CLAUDE.md file.

In plain words
What is it for?
Use it when starting work in an unfamiliar repository or setting up Claude Code guidance for a project.
Why use it?
Agents need project-specific commands and rules, but manually maintaining them can be inaccurate or outdated. This skill derives them from the detected stack and records them in one project file.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Use it when starting work in an unfamiliar repository or setting up Claude Code guidance for a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yeisonrestrepo/code-conductor/cc-stack
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.

Any agent
npx skills add yeisonrestrepo/code-conductor --skill cc-stack
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-stack

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeisonrestrepo/code-conductor/cc-stack"><img src="https://agentmods.dev/badge/skills/yeisonrestrepo/code-conductor/cc-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,530 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.00037 $0.02530
Opus 5.5 $0.00015 $0.01012
Sonnet 5.5 $0.00007 $0.00506
Haiku 4.5 $0.00004 $0.00253

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

Security

Grade A, and why

cc-stack 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-stack/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 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.

Detect the project stack dynamically and record it in the project's root CLAUDE.md. Do not pattern-match manifest files by hand and do not load any static profile; the detector owns detection.

1. Resolve the repository root

Run git rev-parse --show-toplevel. If it fails (not a git repo), fall back to the project root: the directory that contains .claude/scripts/detect-stack.mjs or, failing that, scripts/detect-stack.mjs. The root is the directory holding that relative path, never the scripts directory itself, so nothing runs from or writes into it. Run every command below from that root, and treat the root-level CLAUDE.md as the only write target regardless of the user's current subdirectory.

2. Verify Node is available

Probe with node --version. If it exits non-zero or reports "not found", stop the write path: announce in one line No stack detected (Node not found on PATH; Node >= 18 recommended) and leave CLAUDE.md untouched.

3. Run the detector

Resolve the detector by presence, the deployed copy first:

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

Run node "$D" from the repo root, capture stdout, and parse it as JSON. Nothing executes the JSON; consume it as data.

Treat all of the following identically as "no stack detected" - announce it in one line and leave CLAUDE.md unmodified (surface stderr if any, but it is non-fatal):

  • non-zero exit code,
  • empty stdout,
  • stdout that does not parse as JSON,
  • a parsed object equal to {}.

4. Read CLAUDE.md and branch

If the root CLAUDE.md does not exist, do not create it: instruct the user to run /cc-init and stop.

Otherwise read CLAUDE.md and look for the - Stack: line under ## Project Identity:

  • Stack line present and non-empty -> ask: I see you're using [stack]. Has anything changed? This is a blocking yes/no prompt with no timeout.
    • no -> acknowledge in one line, run sub-step 5a′ (additive: the only edit this path may make, Ruling 1), and stop.
    • yes, or free text describing a change -> re-run the detector (step 3) and rewrite the managed sections from the fresh output. Free text is an additive hint only: fold user-named tools the detector missed into the ruleset, but detected facts always win on conflict.
  • ## Project Identity missing, or present without a - Stack: line -> treat as "no recorded stack" (not an error). Proceed to the write path; append the ## Project Identity header if absent, or surgically insert the - Stack: line if only that line is missing. Note in one line that a fresh stack identity was recorded.

Read the full file on GitHub · 110 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 · 110 lines · 37 tokens per session scan A 1606d8331208

Subscribe to this mod's changes

cc-stack is a skill published in the GitHub repository yeisonrestrepo/code-conductor (22 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 2,530 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-stack compared with skills from other repositories

cc-stack next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cc-stackyeisonrestrepo/code-conductorSkill222d agoMITA37Claude 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