Init Project Docs Skill: CLAUDE.md From Real Code
Every agentic tool wants a project-level docs file (CLAUDE.md, AGENTS.md, .cursorrules) so it can load context on every session. Most are written once, padded with generic advice, and ignored. This skill writes a small, useful one that's actually grounded in your codebase.
An installable skill that bootstraps a project-level docs file (CLAUDE.md, AGENTS.md, or .cursorrules) by reading the actual code.
What It Does
- Reads before writing — package manifests, README, folder structure, sample files
- Targets the right file — CLAUDE.md, AGENTS.md, or .cursorrules based on your tool
- Covers what matters — how to run, conventions, where things live, gotchas
- Skips what isn't true — no padding with sections that don't apply
Install in 30 Seconds
Pick your tool above and download:
- Claude Code:
~/.claude/skills/init-project-docs/SKILL.md - OpenAI Codex CLI: append to
AGENTS.md - Cursor: append to
.cursorrules
Run it once per project. The output is a single markdown file ready to commit at the project root.
Why It Earns Its Spot
Generic docs files don't help — the agent loads them and still has to ask. Real docs files name the three commands that matter, the four conventions the team actually follows, and the two gotchas a new contributor needs. This skill keeps you to that 300-line ceiling so the file stays load-light and useful.
Install once, generate per project.