cc-spex-init

cc-spex-init is a skill for Claude Code, Codex from rhuss/cc-spex. It costs 63 tokens per session (1,518 once invoked), scanned A, original, Apache-2.0.

A setup workflow for Spex, a specification-driven development system, in an existing project. It installs or refreshes Spex from the bundled source and can configure its extensions and security settings.

In plain words
What is it for?
Use it when starting Spex in a project, refreshing an existing Spex setup, or passing configuration options to its bootstrap script.
Why use it?
It gives projects a repeatable way to initialize or update Spex without cloning or downloading another copy. It also stops with the reported fix when a required Git extension is missing.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

Part of the spex plugin — 2 skills, 8 commands shipped together

Good fit Use it when starting Spex in a project, refreshing an existing Spex setup, or passing configuration options to its bootstrap script.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rhuss/cc-spex/cc-spex-init
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 rhuss/cc-spex --skill cc-spex-init
Clone the repo
git clone --depth 1 https://github.com/rhuss/cc-spex

Made for: Claude Code, Codex.

Or install spex, the plugin that ships this one along with the rest of its 2 skills, 8 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rhuss/cc-spex/cc-spex-init"><img src="https://agentmods.dev/badge/skills/rhuss/cc-spex/cc-spex-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,518 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.00063 $0.01518
Opus 5.5 $0.00025 $0.00607
Sonnet 5.5 $0.00013 $0.00304
Haiku 4.5 $0.00006 $0.00152

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

Security

Grade A, and why

cc-spex-init 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 28d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/bootstrap.sh, scripts/codex-progress.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`CODEX_HOME` is set, otherwise `~/.codex/config.toml`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

spex/codex/skills/cc-spex-init/SKILL.md · 128 lines

How it starts

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

Initialize Spex

This plugin bundles the complete Spex source (setup workflow, extensions and scripts). Initialization runs from that installed copy. Nothing is cloned or downloaded, and no temporary checkout is created.

Run the bootstrap

Resolve the absolute path of scripts/bootstrap.sh from this skill directory. Run it as sh <absolute path>/scripts/bootstrap.sh [arguments] while keeping the working directory at the project root where the user invoked $cc-spex-init. Never cd into the skill or plugin directory, and never clone the cc-spex repository or download Spex yourself. Pass through any arguments supplied after $cc-spex-init, with one exception below.

In Codex every $cc-spex-init run re-runs the full setup workflow from the bundled source, so each run is already a refresh. There is no refresh mode and bootstrap.sh does not accept --refresh or --update (those are Claude Code flags). If the user passes --refresh or --update, drop that flag before calling bootstrap.sh, run the rest as usual, and mention in your report that the flag is unnecessary in Codex because every run refreshes from source.

The bootstrap picks the Spex source in this order:

  1. SPEX_SOURCE, when it is set (an explicit local Spex source).
  2. ./spex in the project, when the project is the cc-spex repository.
  3. The Spex source bundled with this plugin.

If the bootstrap reports that the bundled source is missing or incomplete, show the error and stop. Do not fall back to cloning or downloading.

If setup stops with spex-worktrees requires the spec-kit git extension, show the message and its fixes: add the git extension (specify extension add git) and run $cc-spex-init again, or re-run $cc-spex-init --extensions NAME,NAME with a selection that leaves out spex-worktrees. Do not disable spex-worktrees by hand.

Defaults and overrides

The harness is always codex unless the user passes --integration.

When the project has no .specify/spex.json yet, these defaults apply:

Read the full file on GitHub · 128 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 28d ago Changed · +7 lines 9b4387518b3f
  2. 1mo ago Changed · +43 lines 4bec63d3657c
  3. 1mo ago First seen · 78 lines · 63 tokens per session scan A 6ea9ef91f82e

Subscribe to this mod's changes

cc-spex-init is a skill published in the GitHub repository rhuss/cc-spex (122 stars, last pushed 2d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,518 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-19.

Related

cc-spex-init compared with skills from other repositories

cc-spex-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cc-spex-initrhuss/cc-spexSkill1222d agoApache-2.0A63Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code