init

A project setup command that creates starter files such as CLAUDE.md, a docs folder, a README, and a .gitignore file.

In plain words
What is it for?
Use it to initialize project documentation and configuration scaffolding before exploring or designing the project.
Why use it?
It gives a new project a consistent structure without inventing its purpose, architecture, or task plan, and avoids replacing existing files.

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/robconery/kolea/init
Clone the repo
git clone --depth 1 https://github.com/robconery/kolea

Made for: Claude Code.

Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 731 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00018 $0.00731
Opus 5 $0.00009 $0.00365
Sonnet 5 $0.00004 $0.00146
Haiku 4.5 $0.00002 $0.00073

Measured yesterday against content hash 13c609e53942, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

Origin

This is a copy

100% identical to init — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/init.md · 76 lines

How it starts

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

init

Stand up the working files for a project so the later phase commands have something to fill. You create structure, not content — stubs with headings and TODOs, never invented decisions.

CLAUDE.md Template

Use this when creating CLAUDE.md

# [Fill in]

[Project summary, ask if there isn't one]

## Rules

- DO NOT REPORT SOMETHING IS FIXED IF YOU HAVEN'T COMPILED THE APP
- DO NOT SEARCH node_modules for answers. GO ONLINE.
- Use emoji for markdown documents for readability.
- Get to the point, be terse, do not over explain. Tokens are water, we're in the desert. Use emoji instead of prose if you can.
- Never install a package by editing the manifest, always use a package install tool, such as `npm install`, `bun install`, etc.

Scope

  • IN: create CLAUDE.md, the docs/ skeleton, a README stub, .gitignore.
  • OUT: deciding what the project is (that is /explore), architecture (/design), tasks (/plan). This command does not interview the problem.

Preflight

  1. Re-entrant: if a file already exists, leave it alone. Report what was already there vs. what you created. Never clobber.
  2. Detect the ground:
    • Code already present → seed CLAUDE.md from what's actually there (language, test command, run command, layout). Be factual, no guessing.
    • Empty dir → CLAUDE.md gets a stub with those headings and TODO.

Produce

  • CLAUDE.md (root, owned here) — the how: stack, conventions, test & run commands, the phase commands available (/explore, /design, /plan, /document), and the rule that each doc has one owner.
  • docs/PROJECT.md — stub, owned by /explore. Headings: Problem, Who it's for, Goals, Scope (in/out), Open questions.
  • docs/ARCHITECTURE.md — stub, owned by /design.
  • docs/SPEC.md — stub, owned by /design.
  • docs/STORIES.md — stub, owned by /plan.
  • docs/PLAN.md — stub, owned by /plan. Empty checklist.
  • docs/MEMORY.md — the project decision log: decisions made with AI, preserved for Claude Code. Header + an empty dated-entry list. Curated by /document; appended to by every phase command. Distinct from the ~/.claude memory system.
  • README.md — one-line stub, owned by /document.

Read the full file on GitHub · 76 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. yesterday First seen · 76 lines · 18 tokens per session scan A 13c609e53942

Subscribe to this mod's changes

init is a command published in the GitHub repository robconery/kolea (1 stars, last pushed 2d ago), licensed MIT. It adds 18 tokens to every session and 731 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to init, differing in 0 lines, and is treated as a copy.