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 agents/solana-foundation/templates/repository-mapgit 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/agents/solana-foundation/templates/repository-map)<a href="https://agentmods.dev/agents/solana-foundation/templates/repository-map"><img src="https://agentmods.dev/badge/agents/solana-foundation/templates/repository-map.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.00000 | $0.00558 |
| Opus 5 | $0.00000 | $0.00279 |
| Sonnet 5 | $0.00000 | $0.00112 |
| Haiku 4.5 | $0.00000 | $0.00056 |
Grade A, and why
repository-map 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.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Map
This repository is the template source consumed directly by create-solana-dapp. The public gallery at https://solana.com/developers/templates is a browsing surface, not a separate template source.
Root Files
README.mdexplains user-facing template usage and the high-level contribution flow.CONTRIBUTING.mdexplains the general GitHub workflow and local commands.COMMUNITY_TEMPLATE_GUIDE.mdis the main guide for new community templates.package.jsondefines root scripts and therepokit.groupstemplate groups scanned by the generator and linter.templates.jsonis generated metadata consumed by downstream tooling.TEMPLATES.mdis generated human-readable template metadata.
Template Roots
Template roots are configured in root package.json under repokit.groups. Use that file as the source of truth instead of hard-coding group names in docs or scripts.
Most new externally maintained templates belong under community/ unless a maintainer asks for a different root.
Reference Flow
- Use root
package.jsonrepokit.groupsto find the current template roots. - Use
TEMPLATES.mdfor the generated catalog of current templates. - Use nearby templates in the same root as examples for scripts, README structure, metadata, and assets.
- Use
COMMUNITY_TEMPLATE_GUIDE.mdfor community submission requirements.
Agent Docs
repository-map.mdexplains where repo-level information lives.template-authoring.mdexplains template contents and safety expectations.template-metadata.mdexplains package metadata and generated outputs.testing-and-ci.mdexplains local validation and CI behavior.review-checklist.mdgives review criteria.known-gotchas.mdcaptures edge cases that do not belong in the main guides.
Tooling
scripts/generate.tsscans template groups and writestemplates.json,TEMPLATES.md, and.github/workflows/templates.json.scripts/lint.tsvalidates template package metadata, duplicate names, andog-image.pngrequirements.scripts/validate.tsvalidates generated metadata shape.scripts/create-image.tscreates templateog-image.pngassets.scripts/clean.tsremovestemplates.jsonandTEMPLATES.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 · 50 lines · 0 tokens per session scan A 69fea7ec97a4
repository-map is an agent published in the GitHub repository solana-foundation/templates (106 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 558 tokens. 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 agents, from other repositories
codemap
Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…
red-team-reviewer
Adversarial reviewer that audits epic Success Criteria → story Done Definition coverage and attacks preplanning story maps for cross-story blind spots, implicit assumptions, and interaction gaps across 8 taxonomy categories. Requires opus.
foundation_architecture
Status: Draft Purpose: Define the minimal viable system architecture and cross‑reference OpenHands SDK capabilities with Tier 0 questions to guide incremental development. Related: ./openhandsinsightsandprioritization.md, ./implementationquestions.md, ./design/multiagentorchestration.md.
chainaware-token-launch-auditor
Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…
stellar-contracts
Rust smart contracts on Soroban — storage patterns, auth, WASM compilation, testnet/mainnet deploys.
ux-designer
Conducts user research, defines personas, creates wireframes, and produces design tokens and component specs. Runs once at the start of the Build phase when hasui is true. Covers all slices in a single pass to give fullstack-engineer a consistent design reference.