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 smykla-skalskiv0.2.3MITIn 1 marketplace
Generates a lean CLAUDE.md for a repository from codebase analysis, with a bundled validator that checks it against review-agents-md's critical rules. Renamed from generate-claude-md in 0.2.0; also works in Codex and Copilot CLI.
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
claude-md, codebase-analysis, project-setup, best-practices, configuration, context-file, generate, scaffold ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Generate a lean, high-signal CLAUDE.md for a repository from codebase analysis.
Renamed from generate-claude-md in 0.2.0, because plugin names that contain "claude" read as Anthropic's own. Reinstall it as generate-agents-md@sai.
The generator counterpart to review-agents-md: it targets
the same best-practices rubric the reviewer audits against. A bundled validator
enforces review-agents-md's Critical checks (commands present, under 150 lines, no
README duplication, no generic advice) plus bullets and pointer style, so a
generated file is built to pass that audit; the workflow applies the remaining
quality (architecture relationships, domain mapping, real gotchas). It produces
short, project-specific files and deliberately avoids what naive /init output
tends to include: README duplication, directory trees, and generic advice Claude
already knows.
The plugin is a portable Agent Plugin with one Agent Skill, so the same package works in Claude Code, Codex, Copilot CLI and opencode.
Claude Code (Copilot CLI is the same with copilot in place of claude):
claude plugin marketplace add smykla-skalski/sai
claude plugin install generate-agents-md@sai
Codex:
codex plugin marketplace add smykla-skalski/sai
codex plugin add generate-agents-md@sai
opencode, or any agent that reads Agent Skills, loads skills/generate-agents-md/ directly:
ln -s /path/to/sai/plugins/generate-agents-md/skills/generate-agents-md ~/.config/opencode/skills/generate-agents-md
Local checkout: claude --plugin-dir /path/to/sai/plugins/generate-agents-md/
In Claude Code and Copilot CLI use /generate-agents-md, in Codex
$generate-agents-md, or ask in plain words ("write a CLAUDE.md for this repo").
Where the agent has no subagent tool, the codebase scan runs inline instead of in
a subagent; the output is the same.
/generate-agents-md [path/to/repo] [--output PATH] [--update] [--force] [--rules] [--dry-run]
| Flag | Default | Purpose |
|---|---|---|
| (positional) | cwd | Repo root to analyze |
--output | CLAUDE.md | Write to a specific path |
--update | off | Merge into an existing file, preserving custom sections |
--force | off | Overwrite an existing CLAUDE.md (explicit, destructive opt-in) |
--rules | off | Split topic detail into .claude/rules/*.md |
--dry-run | off | Print the result without writing |
Never overwrites silently. If CLAUDE.md already exists and neither --update
nor --force is passed, the skill writes CLAUDE.generated.md next to it and
tells you to diff and choose — so an existing file is never lost.
.claude/rules/ when over the length budgetAfter generating, audit anytime with /review-agents-md.
MIT - See ../../LICENSE
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub smykla-skalski/sai --plugin generate-agents-mdPlugins from other owners that cover similar ground