agentleFS
TAKEOFF69TAKEOFF69/codex-skills-kit/AGENTS.md

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 checking a change actually works.

    Of the AGENTS.md files we read, the 11,638 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.

  • In this repository6 other files it gives its agents.

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
  1. Very specific:

    Progressive disclosure: keep SKILL.md focused; move deep optional detail into directly linked references/.

    line 36
  2. Very specific:

    Task-type changes move together: update codex-prompt, prompt templates, worked example, golden fixture, task-types.json, and README table …

    line 39
  3. Distinctive:

    Plugin inventory changes move together: update plugin manifest description/default prompts, changelog version, README, and validation.

    line 40
  4. Distinctive:

    Diff discipline: every changed line traces to task.

    line 41
  5. Very specific:

    Commit AUDIT-REPORT.md – scratch artifact is gitignored.

    line 45
  6. Distinctive:

    Add network behavior to root validator.

    line 46
  7. Distinctive:

    Add bundled runtime scripts when concise instructions are sufficient.

    line 47
  8. Distinctive:

    Commit generated Python caches or local plugin cachebusters.

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 under skills/.
  • .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 --selftest

Green 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.md focused; move deep optional detail into directly linked references/.
  • Skill metadata: frontmatter must match validator; agents/openai.yaml default 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).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.