init-deep
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
This tool is a codebase documentation generator that scans your project and automatically creates platform-native context and instruction files (such as CLAUDE.md or .cursor/rules) for various AI coding assistants.
Security Assessment
Overall risk: Low. The tool scans local project directories to read your code and write new markdown files. The automated code scan (covering 12 files) found no dangerous patterns, hardcoded secrets, or requests for dangerous system permissions. It operates entirely as a local utility. While running the tool necessarily means allowing it to read your source code and execute file writes to your directory, it does not appear to make unauthorized external network requests or execute hidden shell commands.
Quality Assessment
The project is actively maintained, with its most recent code push happening today. It uses the permissive standard MIT license and includes CI workflows for validation, which is a good sign for code reliability. It boasts zero external dependencies, greatly reducing the attack surface and the risk of supply chain vulnerabilities. The only notable drawback is its low community visibility, currently sitting at only 6 GitHub stars. This means the tool has not been broadly vetted by a large crowd of developers yet, so you may be among its early adopters.
Verdict
Safe to use, though its low community adoption means it has not been broadly vetted by a large audience yet.
AI documentation generator for Claude Code, Cursor, Copilot, Gemini CLI, Codex, Windsurf, and Cline. Scans your codebase and generates platform-native context files
init-deep — AI Documentation Generator for Coding Assistants
init-deep is a codebase documentation tool that scans your project and generates platform-native context files so every AI coding assistant understands it. It runs as a slash command inside your AI assistant and writes the right documentation for each platform automatically — no manual maintenance required.
Why init-deep
AI coding assistants work best when they have accurate, up-to-date context about your project — files like CLAUDE.md, AGENTS.md, and .cursor/rules/. Creating and keeping this AI assistant context synchronized across multiple platforms manually is tedious and error-prone. init-deep automates code documentation: it analyzes your project once and produces correctly formatted files for each platform from a single canonical source.
Supported Platforms
- Claude Code — generates
CLAUDE.md(project context) and scoped.claude/rules/*.mdfiles - OpenAI Codex CLI — generates
AGENTS.md(the canonical source; read natively by Codex) - Cursor — generates
.cursor/rules/*.mdc(scoped module rules) and.cursor/commands/init-deep.md - Google Gemini CLI — generates
GEMINI.md(project context derived fromAGENTS.md) - GitHub Copilot — generates
.github/copilot-instructions.mdand.github/prompts/init-deep.prompt.md - Windsurf — generates
.windsurfrules - Cline — generates
.clinerules - Continue — generates rules and prompts under
adapters/continue/ - Roo Code — generates instructions and skills under
adapters/roo/for existing Roo users; Roo Code is sunsetting on May 15, 2026
Quick Start
Install init-deep into Claude Code from the plugin marketplace:
claude plugin marketplace add mzored/init-deep
claude plugin install init-deep
Then, inside a Claude Code session in your project directory, run:
/init-deep:init-deep
init-deep will analyze your codebase and generate or update all documentation files.
Installation
Claude Code
claude plugin marketplace add mzored/init-deep
claude plugin install init-deep
Or from an interactive Claude Code session:
/plugin marketplace add mzored/init-deep
/plugin install init-deep
OpenAI Codex CLI
codex plugin marketplace add mzored/init-deep
codex
/plugins
The Codex distribution is defined by .codex-plugin/plugin.json and the repo
marketplace at .agents/plugins/marketplace.json. In the plugin browser,
install init-deep, then mention the installed plugin or skill when you want
the workflow.
Cursor
git clone https://github.com/mzored/init-deep.git /tmp/init-deep
mkdir -p .cursor/commands .cursor/rules
cp /tmp/init-deep/adapters/cursor/commands/init-deep.md .cursor/commands/init-deep.md
cp /tmp/init-deep/adapters/cursor.mdc .cursor/rules/init-deep.mdc
rm -rf /tmp/init-deep
Google Gemini CLI
git clone https://github.com/mzored/init-deep.git /tmp/init-deep
mkdir -p .gemini/commands
cp /tmp/init-deep/adapters/gemini/commands/init-deep.toml .gemini/commands/init-deep.toml
rm -rf /tmp/init-deep
GitHub Copilot
git clone https://github.com/mzored/init-deep.git /tmp/init-deep
mkdir -p .github/prompts
cp /tmp/init-deep/adapters/copilot/prompts/init-deep.prompt.md .github/prompts/init-deep.prompt.md
cp /tmp/init-deep/adapters/copilot.md .github/copilot-instructions.md
rm -rf /tmp/init-deep
Copilot prompt files require prompt-file support. In VS Code, enablechat.promptFiles before expecting .github/prompts/init-deep.prompt.md
to appear in the prompt picker.
Windsurf
git clone https://github.com/mzored/init-deep.git /tmp/init-deep
cp /tmp/init-deep/adapters/windsurf/init-deep.md .windsurfrules
rm -rf /tmp/init-deep
Cline
git clone https://github.com/mzored/init-deep.git /tmp/init-deep
cp /tmp/init-deep/adapters/cline/init-deep.md .clinerules
rm -rf /tmp/init-deep
Usage
init-deep runs as a slash command inside your AI assistant. All flags work across platforms that support them:
/init-deep # Update existing docs + create new where needed
/init-deep --create-new # Regenerate all docs from scratch
/init-deep --max-depth=2 # Limit directory analysis depth (default: 3)
/init-deep --only=claude,codex # Generate only specific formats
/init-deep --skip-cursor # Skip Cursor format generation
/init-deep --skip-gemini # Skip Gemini format generation
/init-deep --skip-copilot # Skip Copilot format generation
/init-deep --skip-windsurf # Skip Windsurf format generation
/init-deep --skip-cline # Skip Cline format generation
/init-deep --dry-run # Preview scores and planned writes
/init-deep --doctor # Audit existing agent docs and install paths
/init-deep --sync-check # Verify generated files are in sync with the canonical source
How It Works
init-deep generates AI-ready project documentation through a four-step pipeline. The output is a set of platform-native files — AGENTS.md for Codex, CLAUDE.md for Claude Code, and adapter files for Cursor, Copilot, Gemini, Windsurf, Cline, Continue, and Roo Code:
- Discovery — concurrent analysis of project structure, conventions, entry points, anti-patterns, build/CI configuration, and test patterns
- Scoring — each directory is scored to determine whether it warrants its own scoped documentation file
- Generation —
AGENTS.mdis produced as the canonical source; all other platform files are derived from it - Review — cross-file sync verification, deduplication, and size trimming to keep each file within platform limits
Generated Files
| File | Platform | Purpose |
|---|---|---|
AGENTS.md |
OpenAI Codex | Universal agent instructions (canonical source) |
CLAUDE.md |
Claude Code | Claude context, derived from AGENTS.md |
GEMINI.md |
Google Gemini CLI | Gemini context, derived from AGENTS.md |
.github/copilot-instructions.md |
GitHub Copilot | Copilot-specific context |
.cursor/rules/*.mdc |
Cursor | Scoped module docs |
.windsurfrules |
Windsurf | Windsurf context |
.clinerules |
Cline | Cline context |
.claude/rules/*.md |
Claude Code | Scoped module docs |
adapters/continue/* |
Continue | Rules and prompt adapters |
adapters/roo/* |
Roo Code | Instructions and skill adapters |
.codex-plugin/plugin.json |
OpenAI Codex | Codex plugin manifest |
.agents/plugins/marketplace.json |
OpenAI Codex | Repo marketplace entry |
Development
The source of truth for all generated artifacts lives in source/commands/init-deep/spec.toml and source/commands/init-deep/body.md. The legacy single-file format source/init-deep/canonical.md is also supported. After editing source files, rebuild and validate:
python3 -m src.init_deep.cli check
python3 scripts/build_init_deep.py
python3 scripts/check_init_deep.py
git diff --exit-code
Contributing
Contributions are welcome. See CONTRIBUTING.md for the generated-artifact workflow and validation commands, and SECURITY.md for private vulnerability reports.
License
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found