kolea: Command for Claude Code

.claude/commands/init.md

init is a command for Claude Code from robconery/kolea. It costs 18 tokens per session (731 once invoked), scanned A, original, MIT.

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

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

This is robconery/kolea's own configuration. It tells Claude Code how to work on kolea itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kolea configures →

Reuse

Borrowing it

Nothing to install: this file belongs to robconery/kolea. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/robconery/kolea/main/.claude/commands/init.md
Clone the repo
git clone --depth 1 https://github.com/robconery/kolea

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 init

README.md
[![agentmods](https://agentmods.dev/badge/commands/robconery/kolea/init/github.svg)](https://agentmods.dev/commands/robconery/kolea/init)
Your own site
<a href="https://agentmods.dev/commands/robconery/kolea/init"><img src="https://agentmods.dev/badge/commands/robconery/kolea/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/commands/robconery/kolea/init"><img src="https://agentmods.dev/badge/commands/robconery/kolea/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00018 $0.00731
Opus 5.5 $0.00007 $0.00292
Sonnet 5.5 $0.00004 $0.00146
Haiku 4.5 $0.00002 $0.00073

Measured 2mo ago against content hash 13c609e53942, 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 2mo 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • init — 100% identical, 0 lines differ
  • init — 100% identical, 0 lines differ
.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. 2mo ago 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 (11 stars, last pushed 28d ago), licensed MIT. It adds 18 tokens to every session and 731 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-08-31.