Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By divar-irv1.0.0MITIn 1 marketplace
Generates a README.md and AI rule files (CLAUDE.md, AGENTS.md, Cursor rules) from parallel analysis of a codebase's structure and APIs. It says it needs API access to an OpenAI-compatible LLM provider and Python 3.13.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An AI-powered code documentation generator that automatically analyzes repositories and creates comprehensive documentation using large language models. The system employs a multi-agent architecture: five specialized analysis agents run concurrently to map a codebase's structure, dependencies, data flow, request flow, and APIs, and generation agents turn those analyses into a polished README.md and AI assistant configuration files (CLAUDE.md, AGENTS.md, .cursor/rules/). A GitLab cronjob mode discovers active projects and opens merge requests with fresh analysis automatically.
Read the full story behind this project:
.ai/docs/CLAUDE.md, AGENTS.md, and .cursor/rules/*.mdc files for AI coding assistantsanalyze-codebase, generate-readme, and generate-ai-rules skills (.claude-plugin/, skills/)ANALYZER_MAX_WORKERS, 0 = auto-detect CPU count).ai/config.yaml, then CLI flagsRetry-After support (handles 429s)This repository doubles as a Claude Code plugin — the easiest way to use it, no API keys or Python setup required. Install it from within Claude Code:
/plugin marketplace add divar-ir/ai-doc-gen
/plugin install ai-doc-gen@divar
This adds three skills that Claude Code invokes directly:
analyze-codebase — multi-agent analysis producing .ai/docs/ documentsgenerate-readme — README generation from analysis or direct explorationgenerate-ai-rules — CLAUDE.md, AGENTS.md, and Cursor rules generationgit clone https://github.com/divar-ir/ai-doc-gen.git
cd ai-doc-gen
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
pip install -e .
A Dockerfile and a Helm chart (k8s/helm/) are also provided for containerized and scheduled (Kubernetes CronJob) deployments.
# Copy and edit environment variables (LLM API keys, base URLs, etc.)
cp .env.sample .env
# Copy and edit configuration
mkdir -p .ai
cp config_example.yaml .ai/config.yaml
# Analyze your repository
uv run src/main.py analyze --repo-path .
# Generate README documentation
uv run src/main.py generate readme --repo-path .
# Generate AI assistant configuration files (CLAUDE.md, AGENTS.md, .cursor/rules/)
uv run src/main.py generate ai-rules --repo-path .
Analysis documents are saved to .ai/docs/, and generated documentation and AI configuration files are placed in your repository root.
# Analyze codebase (structure, data flow, dependencies, request flow, APIs)
uv run src/main.py analyze --repo-path <path>
# Generate README documentation
uv run src/main.py generate readme --repo-path <path>
# Generate AI assistant configuration files
uv run src/main.py generate ai-rules --repo-path <path>
7-day copy clicks
npx claudepluginhub divar-ir/ai-doc-gen --plugin ai-doc-genBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground