template / tools
AGENTS.md20 starsChanged 3 months agoApache-2.0View on GitHub
Agent-oriented documentation for the tools/ directory. Human developers: see README.md. This directory contains executable entry points that agents can discover, invoke, and compose. Each tool is declared via a tools.yaml manifest that specifies type, entrypoints, and metadata. An agent scanning this workspace should: To add a new tool: 1. Create a subdirectory (not under templates/ — that is for exemplars only). 2. Copy the closest exemplar's tools.yaml and scripts as a starting point. 3. Register the new tool in the…
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,773 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 repository37 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .agents/skills/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- fonds/AGENTS.mdAGENTS.md
- .github/actions/AGENTS.mdAGENTS.md
- .github/actions/setup-docs-lint/AGENTS.mdAGENTS.md
- .github/actions/setup-python-env/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/ISSUE_TEMPLATE/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- infrastructure/AGENTS.mdAGENTS.md
- projects/AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-evaluationSkill
- bdi-mental-statesSkill
- context-compressionSkill
- context-degradationSkill
- context-fundamentalsSkill
- context-optimizationSkill
- evaluationSkill
- filesystem-contextSkill
- harness-engineeringSkill
- hosted-agentsSkill
- latent-briefingSkill
- long-horizon-promptingSkill
- memory-systemsSkill
- multi-agent-patternsSkill
- project-developmentSkill
- self-improvement-loopsSkill
- tool-designSkill
- continual-learningSkill
- gauss-open-gauss-cliSkill
- infrastructure-overviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Prefer tools tagged curated or production over experimental.
- Very specific: line 58
Create a subdirectory (not under templates/ — that is for exemplars only).
≈ “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.
Files
AGENTS.md — tools/
Agent-oriented documentation for the
tools/directory. Human developers: see README.md.
Purpose
This directory contains executable entry points that agents can discover, invoke, and compose.
Each tool is declared via a tools.yaml manifest that specifies type, entrypoints, and metadata.
Discovery
An agent scanning this workspace should:
- Recursively find all
tools.yamlfiles undertools/. - Parse
type,entrypoints, andtagsto decide whether a tool is applicable. - Prefer tools tagged
curatedorproductionoverexperimental.
Manifest Schema (tools.yaml)
type: code_executor | validator | skill | agent | renderer | model
description: "Human-readable description"
version: "semver string"
tags:
- curated # passes quality bar
- exemplar # reference implementation
- production # safe to run in live pipelines
- experimental # under development
creator: "org/repo"
license: "SPDX identifier"
entrypoints:
- scripts/run.sh # primary execution entrypoint
- scripts/validate.sh # validation / health-check entrypointInvocation Contract
| Entrypoint | stdin | stdout | exit code |
scripts/run.sh | JSON payload (optional) | JSON result | 0 = success |
scripts/validate.sh | — | human-readable report | 0 = valid |
scripts/invoke.sh | prompt string | agent response | 0 = success |
scripts/predict.sh | JSON payload | JSON prediction | 0 = success |
Available Exemplars
| Path | Type | Description |
templates/template_code_executor/ | code_executor | Generic code execution tool manifest |
templates/template_validator/ | validator | Validation tool manifest |
templates/template_skill/ | skill | Agent skill manifest |
templates/template_model/ | model | Pre-trained linear regression model, real OLS-computed coefficients |
Extending
To add a new tool:
- Create a subdirectory (not under
templates/— that is for exemplars only). - Copy the closest exemplar's
tools.yamland scripts as a starting point. - Register the new tool in the parent
AGENTS.mdandREADME.md.
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.

