init-project

init-project is a command for Claude Code from miounet11/ccjk. It costs 17 tokens per session (636 once invoked), scanned A, original, MIT.

A project setup command that creates or updates guidance files for an AI coding assistant at the repository root and inside its modules.

In plain words
What is it for?
Use it when starting work on an unfamiliar project or when the project structure changes. It documents the overall repository and individual modules, including diagrams and navigation links.
Why use it?
It gives the assistant a structured view of the project, so important architecture, dependencies, entry points, tests, and files are easier to find.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Use it when starting work on an unfamiliar project or when the project structure changes. It documents the overall repository and individual modules, including diagrams and navigation links.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/miounet11/ccjk/init-project
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.

Clone the repo
git clone --depth 1 https://github.com/miounet11/ccjk

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-project

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/miounet11/ccjk/init-project"><img src="https://agentmods.dev/badge/commands/miounet11/ccjk/init-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 636 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.00017 $0.00636
Opus 5.5 $0.00007 $0.00254
Sonnet 5.5 $0.00003 $0.00127
Haiku 4.5 $0.00002 $0.00064

Measured 2mo ago against content hash 2a8763e18038, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

init-project 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.

templates/claude-code/en/workflow/common/commands/init-project.md · 54 lines

How it starts

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

Usage

/init-project <PROJECT_SUMMARY_OR_NAME>

Objective

Initialize project AI context using a mixed strategy of "concise at root + detailed at module level":

  • Generate/update CLAUDE.md at repository root (high-level vision, architecture overview, module index, global standards).
  • Generate/update local CLAUDE.md in identified module directories (interfaces, dependencies, entry points, tests, key files, etc.).
  • ✨ For improved readability, automatically generate Mermaid structure diagrams in the root CLAUDE.md and add navigation breadcrumbs to each module CLAUDE.md.

Orchestration Instructions

Step 1: Call the get-current-datetime sub-agent to obtain the current timestamp.

Step 2: Call the init-architect sub-agent once, with input:

  • project_summary: $ARGUMENTS
  • current_timestamp: (timestamp from step 1)

Execution Strategy (Agent adapts automatically, no user parameters needed)

  • Stage A: Repository Census (Lightweight) Quickly count files and directories, identify module roots (package.json, pyproject.toml, go.mod, apps/, packages/, services/*, etc.).
  • Stage B: Module Priority Scanning (Medium) For each module, perform targeted reading and sampling of "entry/interfaces/dependencies/tests/data models/quality tools".
  • Stage C: Deep Supplementation (As Needed) If repository is small or module scale is small, expand reading scope; if large, perform batch supplemental scanning on high-risk/high-value paths.
  • Coverage Measurement and Resumability Output "scanned files / estimated total files, covered module ratio, ignored/skipped reasons" and list "recommended next-step deep-dive sub-paths". When running /init-project repeatedly, perform incremental updates and breakpoint resumable scanning based on previous index.

Security and Boundaries

  • Only read/write documentation and indexes, do not modify source code.
  • Ignore common generated artifacts and binary large files by default.
  • Print "summary" in main dialog, write full content to repository.

Read the full file on GitHub · 54 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 · 54 lines · 17 tokens per session scan A 2a8763e18038

Subscribe to this mod's changes

init-project is a command published in the GitHub repository miounet11/ccjk (1 stars, last pushed 7d ago), licensed MIT. It adds 17 tokens to every session and 636 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-30.