init-architect

init-architect is an agent for coding agents from miounet11/ccjk. It costs 21 tokens per session (1,427 once invoked), scanned A, a copy of init-architect, MIT.

An initialization agent that examines a code repository in stages and creates or updates documentation and a .claude/index.json file.

In plain words
What is it for?
Use it to catalogue a repository, document its modules, track how much has been examined, and suggest next steps.
Why use it?
It helps organize an unfamiliar repository while avoiding changes to the source code. Its staged approach can provide a quick overview or a deeper scan and can resume later.

Agent

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 agents/miounet11/ccjk/init-architect
Clone the repo
git clone --depth 1 https://github.com/miounet11/ccjk

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/miounet11/ccjk/init-architect.svg)](https://agentmods.dev/agents/miounet11/ccjk/init-architect)
Your own site
<a href="https://agentmods.dev/agents/miounet11/ccjk/init-architect"><img src="https://agentmods.dev/badge/agents/miounet11/ccjk/init-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,427 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.00021 $0.01427
Opus 5 $0.00010 $0.00714
Sonnet 5 $0.00004 $0.00285
Haiku 4.5 $0.00002 $0.00143

Measured 3d ago against content hash 4e90685d6a8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

init-architect 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 3d 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

This is a copy

100% identical to init-architect — 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.

templates/claude-code/en/workflow/common/agents/init-architect.md · 115 lines

How it starts

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


name: init-architect description: Adaptive initialization: concise at root + detailed at module level; staged traversal with coverage reporting tools: Read, Write, Glob, Grep color: orange

Initialization Architect (Adaptive Version)

No exposed parameters; internal adaptive three levels: quick summary / module scanning / deep supplementation. Ensures incremental updates and resumable runs with coverage reporting and next-step recommendations.

I. General Constraints

  • Do not modify source code; only generate/update documentation and .claude/index.json.
  • Ignore Rules Retrieval Strategy:
    1. Prioritize reading the .gitignore file from the project root directory
    2. If .gitignore does not exist, use the following default ignore rules: node_modules/**,.git/**,.github/**,dist/**,build/**,.next/**,__pycache__/**,*.lock,*.log,*.bin,*.pdf,*.png,*.jpg,*.jpeg,*.gif,*.mp4,*.zip,*.tar,*.gz
    3. Merge ignore patterns from .gitignore with default rules
  • For large files/binaries, only record paths without reading content.

II. Staged Strategy (Automatic Intensity Selection)

  1. Stage A: Repository Census (Lightweight)
    • Use multiple Glob calls in batches to get file inventory (avoid single-call limits), doing:
      • File counting, language proportions, directory topology, module candidate discovery (package.json, pyproject.toml, go.mod, Cargo.toml, apps/, packages/, services/, cmd/, etc.).
    • Generate Module Candidate List, annotating each candidate module with: language, entry file guesses, test directory existence, config file existence.
  2. Stage B: Module Priority Scanning (Medium)
    • For each module, try reading in the following order (batched, paginated):
      • Entry and startup: main.ts/index.ts/cmd/*/main.go/app.py/src/main.rs, etc.
      • External interfaces: routes, controllers, API definitions, proto/openapi
      • Dependencies and scripts: package.json scripts, pyproject.toml, go.mod, Cargo.toml, config directories
      • Data layer: schema.sql, prisma/schema.prisma, ORM models, migration directories
      • Testing: tests/**, __tests__/**, *_test.go, *.spec.ts, etc.
      • Quality tools: eslint/ruff/golangci configurations
    • Form "module snapshots", extracting only high-signal fragments and paths, not pasting large code blocks.
  3. Stage C: Deep Supplementation (Triggered As Needed)
    • Trigger conditions (any one suffices):
      • Repository overall small (fewer files) or single module small file count;
      • After Stage B, still cannot determine key interfaces/data models/testing strategies;
      • Root or module CLAUDE.md missing information items.
    • Action: Additional paginated reading for target directories, filling gaps.

Read the full file on GitHub · 115 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. 3d ago First seen · 115 lines · 0 tokens per session scan A 4e90685d6a8c

Subscribe to this mod's changes

init-architect is an agent published in the GitHub repository miounet11/ccjk (46 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 1,427 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-architect, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

unity-pro

Build Unity gameplay and engine-level features in Unity 2022.3+ — MonoBehaviour lifecycle, scene/prefab architecture, ScriptableObject configuration, async/coroutines, Addressables, scripting performance, build pipeline. Handles render-pipeline-aware decisions (URP/HDRP/Built-in) and platform targets (Standalone…

AcKeskin/contexture · 130 tokens

c-sharp-pro

Write idiomatic C# code with modern language features, async patterns, and LINQ. Masters .NET ecosystem, Entity Framework Core, and ASP.NET Core. Use for C# optimization, refactoring, or complex .NET solutions.

AcKeskin/contexture · 52 tokens

security-reviewer

Review code for security vulnerabilities — OWASP Top 10, OWASP LLM Top 10, Zero Trust patterns. Use for security-focused code review of web APIs, AI/LLM integrations, authentication, or any high-risk surface.

AcKeskin/contexture · 52 tokens

metal-video-source-pro

Write video frame source code that feeds Metal textures via VideoToolbox + CVMetalTextureCache on iOS/iPadOS, macOS, and visionOS. Handles zero-copy IOSurface bridging, pixel format negotiation, color/transfer correctness, and lifetime/threading rules. Use PROACTIVELY for VTDecompressionSession pipelines…

AcKeskin/contexture · 105 tokens

unity-ui-pro

Build Unity UI — UI Toolkit (UXML/USS/UIDocument) and UGUI (Canvas/RectTransform). Handles screen architecture, data binding, runtime UI performance, gamepad/keyboard input, and cross-platform UI scaling. Use PROACTIVELY for new screens, HUD, menus, in-game dialogs, settings, or any UI work in Unity 2022.3+. Not for…

AcKeskin/contexture · 102 tokens

vision-os-pro

Develop visionOS features for an immersive-space SwiftUI streaming library that bridges RealityKit + ARKit data providers to a C++/WebRTC core via Objective-C++. Handles ImmersiveSpace lifecycle, hand/accessory/world tracking, RealityView entity hierarchies, custom Metal shaders feeding RealityKit, and Swift↔Obj-C++…

AcKeskin/contexture · 176 tokens