init

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

A project initialization or update procedure built around the specify command-line tool. It can refresh templates, upgrade the tool, or clear status information, then asks which extensions and permissions to enable.

In plain words
What is it for?
Use it to initialize a project, refresh its templates, update the specify tool, or reset its status line.
Why use it?
It standardizes first-time setup and upgrades while checking for errors and required restarts. This avoids manually changing project configuration in the wrong order.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

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

Good fit Use it to initialize a project, refresh its templates, update the specify tool, or reset its status line.

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

Made for: Claude Code.

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 init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rhuss/cc-spex/init"><img src="https://agentmods.dev/badge/skills/rhuss/cc-spex/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,993 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 32
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 33
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00044 $0.02993
Opus 5.5 $0.00018 $0.01197
Sonnet 5.5 $0.00009 $0.00599
Haiku 4.5 $0.00004 $0.00299

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

Security

Grade A, and why

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 20d 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.

spex/skills/init/SKILL.md · 121 lines

How it starts

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

You MUST complete ALL steps below. Do not stop after Step 1.

Step 1: Run init script

Run the command from <spex-init-command> in the <spex-context> system reminder. This is your first and only Bash call. Do not run anything else before it.

  • Remember the DECLARATION_EXISTED=true or DECLARATION_EXISTED=false line from the output (printed when the command runs without flags). Step 2 needs it.
  • If output contains NEED_INSTALL: show output, STOP.
  • If output contains ERROR or the script exits with a non-zero status other than 3 (3 means RESTART_REQUIRED): show the error, STOP. Do not continue to Step 2, Step 3 or the restart advice.
    • When init stops with ERROR: ... has local edits and differs from .specify/templates/overrides/..., show the message verbatim: a core template was edited in place while an override for it also exists. Nothing was changed. The user merges the edits into the override (or reverts the core template) and runs init again.
    • In particular, init exits with status 1 and ERROR: spex-worktrees requires the spec-kit git extension when spex-worktrees is enabled but the git extension cannot be enabled. Show the message with its two fixes: add the git extension (specify extension add git / specify extension enable git) and run /spex:init again, or re-run setup with an extension selection that leaves out spex-worktrees (the message shows the specify workflow run ... -i extensions=... command). Do not tell the user to disable spex-worktrees by hand.
  • If the command was run with --refresh or --update and output contains RESTART_REQUIRED: SKIP Steps 2 and 3. Templates and extensions were refreshed. When the project has a declaration (.specify/spex.json), the refresh re-applied its extension selection exactly (extensions toggled by hand are reset, and the output names every change); without a declaration, the enabled/disabled state of the installed extensions is preserved. No permission rules are added, but the refresh rewrites the legacy Bash(*), Read(*), Edit(*) and Write(*) rules that earlier spex versions wrote to the bare tool names (Bash, Read, Edit, Write, same meaning) in .claude/settings.json and .claude/settings.local.json, and prints one Migrated: ... line per changed file. Go directly to Step 4 and report that the refresh completed, including any Preserved:, Enabled:, Disabled:, Migrated: or WARNING: lines and any Stealth mode: ..., Repaired stealth mode: ... or WARNING: stealth mode is NOT fully active lines (with the paths listed below it) from the output. Tell the user to restart Claude Code.
  • If output contains READY or RESTART_REQUIRED: do not summarize yet, go to Step 2.

Read the full file on GitHub · 121 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. 20d ago Changed · +1 lines 88223b48d0be
  2. 28d ago Changed · +11 lines 764decd4159c
  3. 1mo ago Changed · +21 lines 2bbd5cb7cc1e
  4. 1mo ago Changed · +1 lines f9be3e26c75c
  5. 3mo ago First seen · 87 lines · 44 tokens per session scan A a5641ffd2682

Subscribe to this mod's changes

init is a skill published in the GitHub repository rhuss/cc-spex (122 stars, last pushed 2d ago), licensed Apache-2.0. It adds 44 tokens to every session and 2,993 once invoked, about $0.0002 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-08-30.

Related

init compared with skills from other repositories

init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
initrhuss/cc-spexSkill1222d agoApache-2.0A44Claude Code
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