agentleFS
odyssey4meodyssey4me/agent-skills/AGENTS.md

agent-skills

AGENTS.md13 starsChanged 37 days agoApache-2.0View on GitHub

Refer to CONTRIBUTING.md for development guidelines. This repository implements the Agent Skills specification. All skills follow the standard structure with YAML frontmatter in SKILL.md, scripts in scripts/, and additional docs in references/. We use Python scripts because the specification supports multiple languages, and Python is better suited for complex API integrations. See docs/developer-guide.md for rationale. Skills should include an Error Handling section in their SKILL.md that tells agents which errors are retryable and which require user intervention: Pre-commit hooks are…

  • 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 31,774 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 repository7 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, 2 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Rate limiting (429) and server errors (5xx) are retryable: after a brief wait.

    line 37
  2. Very specific:

    Run scripts/pre_commit_checks.sh (or --skills if only skills changed), fix any issues, and run scripts/check_versions.sh before committing.

    line 46
  3. Distinctive:

    Follow Semantic Versioning when updating it:

    line 53
  4. Very specific:

    When completing items from TODO.md, remove the finished entries entirely rather than marking them [x].

    line 72
  5. Very specific:

    Use $jira to invoke the Jira skill, or describe what you want naturally:

    line 87
  6. Very specific:

    Use the path of the loaded SKILL.md to resolve scripts and references.

    line 92
  7. Very specific:

    All service skills require network access for remote operations.

    line 96
  8. Very specific:

    Use Codex for repository development.

    line 102

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

Codex Instructions

Refer to CONTRIBUTING.md for development guidelines.

Repository Layout

  • skills/ — Self-contained agent skills (jira, confluence, google, etc.)
  • scripts/ — Development utilities (validation, versioning, pre-commit)
  • templates/ — Starter templates for new skills (api, cli, workflow)
  • tests/ — Pytest suite (one file per skill, 80% coverage required)
  • docs/ — User guide, developer guide, OAuth setup
  • .github/workflows/ — CI (lint/test/validate) and release pipelines

Standards Compliance

This repository implements the Agent Skills specification. All skills follow the standard structure with YAML frontmatter in SKILL.md, scripts in scripts/, and additional docs in references/.

We use Python scripts because the specification supports multiple languages, and Python is better suited for complex API integrations. See docs/developer-guide.md for rationale.

Development Principles

  1. Keep documentation DRY — reference comprehensive guides rather than duplicating content. Link to the specification rather than restating it.
  2. Use lowercase for markdown files unless they're a de facto standard (README.md, CONTRIBUTING.md) or required by the Agent Skills specification (SKILL.md).
  3. Follow the Agent Skills specification — all implementation decisions should reference the specification.
  4. Prefer official CLIs over custom scripts — when an official CLI exists, use it instead of a custom API wrapper. Skills can be documentation-only when the CLI covers all use cases (e.g. gh for GitHub, glab for GitLab, gog for Google).
  5. Default to markdown output format — all skill scripts must output markdown by default. Use ### {title} for item headings, - **Label:** value for metadata, ## {Section} for top-level grouping. Preserve --json as an alternative. Reference skills/jira/scripts/jira.py as the canonical example.

Error Handling in Skills

Skills should include an Error Handling section in their SKILL.md that tells agents which errors are retryable and which require user intervention:

  • Authentication/permission errors are never retryable — they require user action.
  • Rate limiting (429) and server errors (5xx) are retryable after a brief wait.
  • All other errors should be reported to the user rather than retried.
  • Skills that use OAuth should document the auth reset → check workflow for recovering from scope/token errors.

Before Committing

Pre-commit hooks are a failsafe, not a first pass. Always run checks before committing to avoid wasting tokens on hook failures and re-commits.

Run scripts/pre_commit_checks.sh (or --skills if only skills changed), fix any issues, and run scripts/check_versions.sh before committing. Stage only changes belonging to the requested task; preserve unrelated edits.

Skill Versioning

Each skill has a metadata.version field in its SKILL.md frontmatter. Follow Semantic Versioning when updating it:

  • Patch (0.1.0 → 0.1.1): Bug fixes, typo corrections, minor doc tweaks that don't change behaviour.
  • Minor (0.1.1 → 0.2.0): New commands, new options, expanded functionality — anything additive and backward-compatible.
  • Major (0.2.0 → 1.0.0): Breaking changes — removed or renamed commands, changed default behaviour, restructured arguments.

The pre-commit skill-versions hook enforces this once installed — commits with unbumped skill changes are blocked. Run scripts/check_versions.sh to check manually.

Releasing

See docs/developer-guide.md for the full release procedure.

TODO.md

When completing items from TODO.md, remove the finished entries entirely rather than marking them [x]. If an entire section becomes empty, remove the section heading too. Only pending work belongs in TODO.md.

Maintenance

Review this file quarterly and after major Codex model releases. Remove rules that compensate for limitations the model or tooling no longer has — stale instructions can actively constrain newer models.

Subdirectory AGENTS.md files (e.g. skills/AGENTS.md) follow the same refresh cadence — include them in quarterly reviews.

Skill Invocation

Use $jira to invoke the Jira skill, or describe what you want naturally:

  • "Search Jira for my open issues"
  • "Create a bug in PROJECT about login failures"

Codex discovers this checkout's skills through .agents/skills/ symlinks. Use the path of the loaded SKILL.md to resolve scripts and references. Skill metadata does not grant shell or network permissions; use the session's approval and sandbox controls when access is required.

All service skills require network access for remote operations. Each SKILL.md documents its hosts and protocols. Request access through the session's approval mechanism when restricted; do not interpret network failures as expired credentials.

Portable Consumption, Codex Development

Use Codex for repository development. Keep installable SKILL.md files, references, templates, and default installation instructions agent-agnostic. Describe required service access and authorization without assuming a particular agent tool, sandbox parameter, skill invocation syntax, or installation path. Agent-specific consumer examples must be clearly labeled and optional.

For Codex development sessions with restricted network access, use the available session approval controls before remote commands. Where exec_command exposes sandbox escalation, request sandbox_permissions="require_escalated" for the needed command. Reuse existing authorization and report network failures without changing credentials.

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.