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.
- skills/AGENTS.mdAGENTS.md
- confluenceSkill
- gerritSkill
- githubSkill
- gitlabSkill
- googleSkill
- jiraSkill
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
- Distinctive: line 37
Rate limiting (429) and server errors (5xx) are retryable: after a brief wait.
- Very specific: line 46
Run scripts/pre_commit_checks.sh (or --skills if only skills changed), fix any issues, and run scripts/check_versions.sh before committing.
- Distinctive: line 53
Follow Semantic Versioning when updating it:
- Very specific: line 72
When completing items from TODO.md, remove the finished entries entirely rather than marking them [x].
- Very specific: line 87
Use $jira to invoke the Jira skill, or describe what you want naturally:
- Very specific: line 92
Use the path of the loaded SKILL.md to resolve scripts and references.
- Very specific: line 96
All service skills require network access for remote operations.
- Very specific: line 102
Use Codex for repository development.
≈ “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.
Files
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
- Keep documentation DRY — reference comprehensive guides rather than duplicating content. Link to the specification rather than restating it.
- 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).
- Follow the Agent Skills specification — all implementation decisions should reference the specification.
- 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.
ghfor GitHub,glabfor GitLab,gogfor Google). - Default to markdown output format — all skill scripts must output markdown by default. Use
### {title}for item headings,- **Label:** valuefor metadata,## {Section}for top-level grouping. Preserve--jsonas an alternative. Referenceskills/jira/scripts/jira.pyas 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→checkworkflow 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.
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.

