Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/solana-foundation/templates/agents-mdgit clone --depth 1 https://github.com/solana-foundation/templatesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/solana-foundation/templates/agents-md)<a href="https://agentmods.dev/instructions/solana-foundation/templates/agents-md"><img src="https://agentmods.dev/badge/instructions/solana-foundation/templates/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00403 | $0.00403 |
| Opus 5 | $0.00201 | $0.00201 |
| Sonnet 5 | $0.00081 | $0.00081 |
| Haiku 4.5 | $0.00040 | $0.00040 |
Grade A, and why
templates AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Agent Instructions
This file gives AI coding agents the minimum context needed to work safely in this repository. It applies to the whole repo.
Start Here
- Read
README.md,CONTRIBUTING.md, andCOMMUNITY_TEMPLATE_GUIDE.mdbefore changing template behavior. - Use the focused notes in
docs/agents/for repo map, template metadata, validation, and review checks. - Keep changes small and local to the affected template or script.
- Do not overwrite user work or generated files by hand.
Common Commands
pnpm installinstalls root tooling.pnpm generateregenerates template metadata and docs.pnpm lintvalidates template structure, metadata, Open Graph images, and formatting.pnpm formatformats repo files.
Editing Rules
- Read
docs/agents/repository-map.mdbefore assuming current directory layout. - Do not manually edit generated files unless you are updating the generator and intentionally checking output.
- If you change a template
package.json, add/remove a template, or change metadata, runpnpm generate. - Every template directory listed in root
package.jsonrepokit.groupsmust contain apackage.jsonandog-image.png. - Never add secrets, private keys, personal wallet data, local RPC credentials, or real API tokens.
- Keep
.envfiles out of templates. Use.env.examplewhen configuration is needed, with placeholders for sensitive values and safe defaults for non-sensitive values. - For agent, MCP, wallet, or transaction automation templates, document authentication, permissions, and user approval boundaries clearly.
More Detail
docs/agents/repository-map.mddocs/agents/template-authoring.mddocs/agents/template-metadata.mddocs/agents/testing-and-ci.mddocs/agents/review-checklist.mddocs/agents/known-gotchas.md
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 37 lines · 403 tokens per session scan A 86180ea00481
templates AGENTS.md is an instructions file published in the GitHub repository solana-foundation/templates (106 stars, last pushed yesterday), licensed MIT. It adds 403 tokens to every session, about $0.0020 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
evmole AGENTS.md
Instructions for cdump/evmole: EVMole extracts structured facts from deployed EVM runtime bytecode.
experiencer CLAUDE.md
Claude Code instructions for vincentlaucsb/experiencer: The canonical repository instructions are in AGENTS.md. Read and follow that file; this compatibility entrypoint intentionally defines no independent rules.
pip-web CLAUDE.md
Claude Code instructions for playpip/pip-web, covering claude.md — agent guide for pip, read first (by task), the three layers (respect the boundaries), non-negotiables and commands / definition of done.
bray AGENTS.md
AGENTS.md instructions for forgesworn/bray, covering agents.md — nostr-bray, what this is, build & test, architecture and tool groups.
bitcoin-mcp copilot-instructions.md
Instructions for Bortlesboat/bitcoin-mcp, covering bitcoin-mcp copilot instructions, rules, satoshi api reference and verification.
drpc-agent-skills GEMINI.md
Gemini CLI instructions for drpcorg/drpc-agent-skills: @./skills/drpc-rpc/SKILL.md @./skills/drpc-rpc/setup.md @./skills/drpc-rpc/direct-http.md @./skills/drpc-rpc/tools-reference.md @./skills/drpc-rpc/recipes-simple.md @./skills/drpc-rpc/recipes-crosschain.md @./skills/drpc-rpc/recipes-defi-basics.md…