init

init is a command for Claude Code from TheBeardedBearSAS/claude-craft. It costs 11 tokens per session (956 once invoked), scanned A, original, MIT.

A setup command that creates Claude-Craft's project guidance files for a new software project. It asks which technology the project uses and collects basic project details.

In plain words
What is it for?
Use it to create configuration and reference files for C#/.NET, Symfony/PHP, or Flutter/Dart projects.
Why use it?
It gives the coding assistant a consistent starting structure and project-specific context.

Command for Claude Code

Part of the claude-craft plugin — 25 commands, 33 agents shipped together

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/thebeardedbearsas/claude-craft/init
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 25 commands, 33 agents.

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/thebeardedbearsas/claude-craft/init.svg)](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/init)
Your own site
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/init"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/init.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 956 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.00956
Opus 5 $0.00005 $0.00478
Sonnet 5 $0.00002 $0.00191
Haiku 4.5 $0.00001 $0.00096

Measured 4d ago against content hash a7994d00620e, 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 4d 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.

.claude/commands/common/init.md · 159 lines

How it starts

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

/init - Bootstrap Claude-Craft Structure

Initialise la structure Claude-Craft pour un nouveau projet.

Étapes

1. Identifier la Technologie

Demander à l'utilisateur quelle technologie utiliser:

  • C# / .NET - Clean Architecture, CQRS, MediatR
  • Symfony / PHP - Clean Architecture, DDD, Hexagonal
  • Flutter / Dart - Clean Architecture, BLoC/Riverpod

2. Créer la Structure

Selon la technologie choisie, créer:

.claude/
├── CLAUDE.md               # Quick reference (copie depuis template)
├── INDEX.md                # Index complet
└── references/
    └── [technology]/       # Références spécifiques
        └── project-context.md  # Personnalisé pour le projet

3. Personnaliser project-context.md

Demander les informations du projet:

  • Nom du projet
  • Description brève
  • Entités principales
  • Services externes
  • Contraintes particulières

4. Templates par Technologie

C# / .NET
# Claude-Craft - {{PROJECT_NAME}}

**Stack**: .NET 10 LTS, C# 14, Clean Architecture, CQRS, MediatR, EF Core, xUnit

## Quick Reference

See `@.claude/INDEX.md` for condensed checklists and patterns.

## Full Documentation

For detailed rules: `@.claude/references/csharp/`

## Available Commands

- `/csharp:check-compliance` - Full compliance audit
- `/csharp:check-architecture` - Architecture validation
- `/csharp:check-code-quality` - Code quality analysis
- `/csharp:check-testing` - Test coverage analysis
- `/csharp:check-security` - Security audit (OWASP)
- `/csharp:generate-feature` - Generate CQRS feature

## Docker Requirement

Always use Docker for commands to abstract from local environment.
Symfony / PHP
# Claude-Craft - {{PROJECT_NAME}}

**Stack**: PHP 8.5, Symfony 8.1, Clean Architecture, DDD, Doctrine ORM

## Quick Reference

See `@.claude/references/symfony/CLAUDE.md` for quick patterns.

## Full Documentation

For detailed rules: `@.claude/references/symfony/`

## Key Files

- `architecture.md` - Clean Architecture DDD
- `quality-tools.md` - PHPStan 2.x, Rector 2.x, Deptrac v4
- `json-streamer.md` - JSON Streamer Component
- `object-mapper.md` - ObjectMapper Component

## Docker Requirement

Always use Docker for commands to abstract from local environment.

Read the full file on GitHub · 159 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. 4d ago First seen · 159 lines · 11 tokens per session scan A a7994d00620e

Subscribe to this mod's changes

init is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 956 once invoked, about $0.0001 per session on Opus 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.