codex-skills-kit
AGENTS.md7 starsChanged 6 months agoMITView on GitHub
Conventions for agents working in this repository. This is a content and tooling repo: reusable Codex workflow skills, plugin packaging, fixtures, and deterministic validation scripts. There is no application runtime. A package of Codex skills covering prompt delegation, Git contention, gate engineering, honest verification, session closeout, and self-distillation. It also ships as a Codex plugin. Methodology is product; keep its depth while stripping project-specific details. Green validation covers skill frontmatter, present Codex metadata, plugin and marketplace coherence, task registry, golden…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Progressive disclosure: keep SKILL.md focused; move deep optional detail into directly linked references/.
- Very specific: line 39
Task-type changes move together: update codex-prompt, prompt templates, worked example, golden fixture, task-types.json, and README table …
- Distinctive: line 40
Plugin inventory changes move together: update plugin manifest description/default prompts, changelog version, README, and validation.
- Distinctive: line 41
Diff discipline: every changed line traces to task.
- Very specific: line 45
Commit AUDIT-REPORT.md – scratch artifact is gitignored.
- Distinctive: line 46
Add network behavior to root validator.
- Distinctive: line 47
Add bundled runtime scripts when concise instructions are sufficient.
- Distinctive: line 48
Commit generated Python caches or local plugin cachebusters.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md – codex-skills-kit
Conventions for agents working in this repository. This is a content and tooling repo: reusable Codex workflow skills, plugin packaging, fixtures, and deterministic validation scripts. There is no application runtime.
What this repo is
A package of Codex skills covering prompt delegation, Git contention, gate engineering, honest verification, session closeout, and self-distillation. It also ships as a Codex plugin. Methodology is product; keep its depth while stripping project-specific details.
Layout
.codex-plugin/plugin.json– plugin manifest bundling all folders underskills/..agents/plugins/marketplace.json– repository marketplace catalog pointing at root plugin.skills/<name>/SKILL.md– skill instructions and triggering frontmatter.skills/<name>/agents/openai.yaml– optional Codex app metadata validated when present.skills/<name>/scripts/– optional deterministic helper with hermetic selftest when practical.examples/<task-type>-example.md– worked prompts on fictional Acme Notes project.fixtures/golden-prompts/<task-type>.md– compact canonical prompts validated against task registry.task-types.json– source-of-truth mapping task types to skills, templates, examples, and fixtures.scripts/validate_skills.py– skill, plugin, registry, fixture, release, link, and secret validator..github/workflows/validate-skills.yml– CI validation on pushes and pull requests.
Validate before committing
python scripts/validate_skills.py --selftest
python scripts/validate_skills.py
python skills/git-under-contention/scripts/contention_preflight.py --selftestGreen validation covers skill frontmatter, present Codex metadata, plugin and marketplace coherence, task registry, golden fixtures, local links and anchors, release metadata, secret patterns, and seeded validator failures.
Conventions
- Style: en dashes (–) only in prose – never em dashes (—) or
--as punctuation. Syntactic--in commands, SQL, and Markdown is fine. - Project-neutral: examples and skills reference only Acme Notes or generic placeholders – no private project names, infrastructure, paths, or incident identifiers.
- Progressive disclosure: keep
SKILL.mdfocused; move deep optional detail into directly linkedreferences/. - Skill metadata: frontmatter must match validator;
agents/openai.yamldefault prompt must name$skill-name. - Persistent gates: prove new or changed gates with known-bad and known-good cases plus deterministic selftest.
- Task-type changes move together: update
codex-prompt, prompt templates, worked example, golden fixture,task-types.json, and README table in one change. - Plugin inventory changes move together: update plugin manifest description/default prompts, changelog version, README, and validation.
- Diff discipline: every changed line traces to task; avoid drive-by formatting.
Do not
- Commit
AUDIT-REPORT.md– scratch artifact is gitignored. - Add network behavior to root validator.
- Add bundled runtime scripts when concise instructions are sufficient.
- Commit generated Python caches or local plugin cachebusters.
Licensing
Code and scripts: MIT (LICENSE). Skill, example, and fixture content: CC BY 4.0 (LICENSE-CONTENT).
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.

