agentleFS
jMertajMerta/codex-skills/AGENTS.md

codex-skills

AGENTS.md130 starsChanged 12 months agoMITView on GitHub

  • Commits and pushes

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 1 is distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep SKILL.md frontmatter name and description single-line and within the constraints documented in README.md.

    line 8
  2. Very specific:

    Prefer concise, reusable guidance.

    line 9
  3. Very specific:

    Avoid bulk-loading references/ unless the task requires it.

    line 10
  4. Very specific:

    Verify the generated catalog: python3 scripts/build_skills_json.py --check

    line 13
  5. Very specific:

    Run validator regression tests: python3 -m unittest discover -s scripts -p "test_*.py"

    line 14
  6. Very specific:

    Test the CLI: npm test --prefix cli

    line 19
  7. Very specific:

    Use SemVer tags without a v prefix (example: 1.2.3).

    line 23
  8. Very specific:

    Keep cli/package.json version aligned with the release tag (the npm publish workflow enforces this).

    line 25
  9. Distinctive:

    Ensure npm trusted publishing is configured for this repo (GitHub Actions OIDC).

    line 26

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

Agent instructions (scope: this repository)

Scope and layout

  • This repo is a catalog of Codex skills (drop-in folders under ~/.agents/skills/).
  • Each skill is a folder containing a required SKILL.md plus optional references/, scripts/, and assets/.

Conventions

  • Keep SKILL.md frontmatter name and description single-line and within the constraints documented in README.md.
  • Prefer concise, reusable guidance; keep longer docs and templates in references/.
  • Avoid bulk-loading references/ unless the task requires it.

Verification (preferred commands)

  • Verify the generated catalog: python3 scripts/build_skills_json.py --check
  • Run validator regression tests: python3 -m unittest discover -s scripts -p "test_*.py"
  • Validate skill metadata: python3 scripts/validate_skills.py
  • Scan tracked content for suspicious invisible characters: python3 scripts/check_invisible_chars.py --all
  • Install CLI dependencies: npm ci --ignore-scripts --prefix cli
  • Audit CLI runtime dependencies: npm audit --omit=dev --prefix cli
  • Test the CLI: npm test --prefix cli
  • CI mirrors these commands in the GitHub Actions workflow Validate skills.

Releases (GitHub Releases)

  • Use SemVer tags without a v prefix (example: 1.2.3).
  • Cut releases from main with a clean working tree (git status should be empty) and all verification commands above passing.
  • Keep cli/package.json version aligned with the release tag (the npm publish workflow enforces this).
  • Ensure npm trusted publishing is configured for this repo (GitHub Actions OIDC).
  • Decide the release range:
    • List tags: git tag --sort=-creatordate | Select-Object -First 20
    • Changes since last tag: git log --first-parent --oneline <prev_tag>..HEAD
    • Size check: git diff --stat <prev_tag>..HEAD
    • First release (no tags yet): summarize git log --first-parent --oneline from repo start.
  • Draft release notes in releases/<version>.md using the template at release-notes/references/release-notes-template.md (commit it if you want it versioned alongside the code).
  • Publish the release:
    • gh release create <version> --title "codex-skills <version>" --notes-file releases/<version>.md --target main

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.