Create a specialized CLAUDE.md (+ AGENTS.md symlink) inside a specific folder to give future agents folder-scoped context. Use when the user asks to create a CLAUDE.md for a folder, write folder instructions, or add agent context to a directory.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No known issues
Generate a focused CLAUDE.md inside a target folder, plus an AGENTS.md symlink pointing at it. The file gives any future agent (Claude Code, Codex, etc.) the folder-specific context the global CLAUDE.md doesn't cover.
Background reference: library/claude-code/claude-and-agents-md.md.
Ask the user which folder. Use absolute path under the project's workspace root.
Only create a file if the folder has context needed across multiple sessions — active evolving work, specific conventions, ongoing decisions. A folder of static reference files does NOT need one (agents can read on demand). If unsure, ask the user.
ls -la first to enumerate files and subfolders.package.json, src/App.tsx, one representative module file, and the folder's own module-details.md-style files.Before writing the file, give the user a bullet list grouped by section — let them react first. Candidate sections (skip any that don't apply):
@path/file.md import syntax)<folder>/CLAUDE.mdApply root CLAUDE.md first, then this file.## section headers matching the sections the user approved.@relative/path/file.md import syntax, not prose mentions.**Read when:** triggers (e.g. "Read when: writing offer copy"). Prevents loading every session.cd <folder> && ln -s CLAUDE.md AGENTS.mdVerify with ls -la CLAUDE.md AGENTS.md.
Do NOT stage or push unless the user says to. When they do: git add -A, commit with a Day N: style message, push.
CLAUDE.md (personality, dates, ports, etc.). Only include what's specific to this folder.ls or grep rots fast and wastes tokens. Pin decisions, rules, and context — not structure..env.example" beats "never commit secrets."AGENTS.md must be a symlink so edits stay in sync.66860fb
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.