agents-md-writer
Skill3 starsChanged 6 months agoMITView on GitHub
Generate the dual-agent workspace contract, an AGENTS.md skill registry plus a CLAUDE.md pointer, so one set of skills serves both Claude Code (which auto-discovers them) and agents like Codex (which need required-reading instructions). Use when the user says "set up AGENTS.md", "make my skills work in Codex too", "dual agent setup", or "workspace contract".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- RUIIIOVO/agents-md-writertheir own version, first seen Aug 30, 2026
- Cogni-AI-OU/cogni-ai-agent-skillstheir own version, first seen May 19, 2026
- cathaysia/skillstheir own version, first seen May 6, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Cogni-AI-OU/cogni-ai-agent-skills★ 4same name
- cathaysia/skills★ 2same name
- RUIIIOVO/agents-md-writer★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository43 other files it gives its agents.
- ai-image-run-pacingSkill
- brand-voice-linterSkill
- case-study-writerSkill
- client-delivery-auditorSkill
- client-intake-builderSkill
- client-workspace-scaffolderSkill
- code-deduplicatorSkill
- cold-outreach-writerSkill
- demo-animationSkill
- demo-animation-v2Skill
- discovery-briefSkill
- em-dash-removerSkill
- etsy-listing-optimizerSkill
- follow-up-radarSkill
- github-profile-proof-updaterSkill
- github-safe-publisherSkill
- idea-inboxSkill
- implement-client-feedbackSkill
- lead-scorerSkill
- llms-txt-generatorSkill
- local-app-public-demoSkill
- obsidian-daily-noteSkill
- ops-status-reportSkill
- outreach-pipeline-designerSkill
- php-form-mailerSkill
- proposal-writerSkill
- release-announcement-writerSkill
- remove-ai-image-metadataSkill
- research-brief-curatorSkill
- research-to-articleSkill
- screen-recorderSkill
- session-handoffSkill
- skill-builderSkill
- skill-reviewerSkill
- social-campaign-proof-trackerSkill
- skill-nameSkill
- thumbnail-legibility-checkSkill
- thumbnail-set-designerSkill
- vault-janitorSkill
- verify-public-claimsSkill
- web-scraperSkill
- website-change-verifierSkill
- write-evidence-backed-profileSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read any existing AGENTS.md or CLAUDE.md so you extend rather than clobber.
- Distinctive: line 68
Ask the target agent (in a fresh session) to describe the workspace rules.
- Distinctive: line 74
Keep AGENTS.md under two screens.
- Distinctive: line 75
No em dashes in any output.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md Writer
Claude Code auto-discovers .claude/skills/. Codex and most other agents do not. Without a contract, half your tooling is invisible to half your agents. This skill writes that contract: one AGENTS.md that turns your skill folder into required reading for any agent, plus a CLAUDE.md pointer that keeps a single source of truth.
Step 1: Inventory the workspace
- List
.claude/skills/at the workspace root: every folder with a SKILL.md, and itsnameanddescriptionfrontmatter. - Note which are real folders and which are links into a shared library (both work; the contract references the workspace-relative path either way).
- Read any existing AGENTS.md or CLAUDE.md so you extend rather than clobber. Per-project files deeper in the tree stay untouched.
Step 2: Group the skills
Group by task domain, not alphabetically, so an agent can find the right skill from the task in front of it. Typical groups: Design, Writing, Business, Development, Workflow. Two or three groups beat seven.
Step 3: Write AGENTS.md
Structure, proven in real dual-agent workspaces:
# AGENTS.md
Workspace-level guidance for all projects under <root>. Applies to any agent that reads AGENTS.md.
## Local skills
Skills live in `.claude/skills/`. Claude Code auto-discovers them.
Other agents should treat the files referenced below as required reading,
because they do not auto-load skills from this folder.
## <Group> skills
When a task involves <domain>, read the relevant skill file first and apply its guidance.
- **<skill-name>** (`.claude/skills/<skill-name>/SKILL.md`)
One line: what it covers and when it is required.
How to use them:
- <task shape>: read **<skill-a>** first, then **<skill-b>**.
- These are reference guidance, not code. Read the SKILL.md, then apply.
## <Hard rules>
Any non-negotiable workspace rules an agent must follow in every output.The per-skill line answers "when is reading this mandatory", not just "what is this".
Step 4: Write the CLAUDE.md pointer
CLAUDE.md stays short and defers to AGENTS.md, so there is one source of truth:
# CLAUDE.md
Use `AGENTS.md` as the workspace guidance for <root>.
Claude Code should use `.claude/skills/` as the local skill source at this root.
For <task shape>, load `<skill-a>` first, then `<skill-b>`.Step 5: Verify
Ask the target agent (in a fresh session) to describe the workspace rules. If it cannot name the skills and when to read them, the contract failed; tighten the wording.
Rules
- Extend existing files, never overwrite silently. Show a diff of what changes.
- Register only skills that exist on disk. A contract pointing at missing files is worse than none.
- Keep AGENTS.md under two screens. It is a map, not documentation.
- No em dashes in any output.
Output
An AGENTS.md skill registry and a CLAUDE.md pointer at the workspace root, extending whatever already existed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

