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/rocketpy-team/infinity-api/agents-mdgit clone --depth 1 https://github.com/RocketPy-Team/Infinity-APIWhat 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.00647 | $0.00647 |
| Opus 5 | $0.00324 | $0.00324 |
| Sonnet 5 | $0.00129 | $0.00129 |
| Haiku 4.5 | $0.00065 | $0.00065 |
Grade A, and why
Infinity-API 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 yesterday.
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 — 25 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidelines
Project Structure & Module Organization
Source code lives in src/, with FastAPI entrypoints in src/api.py and domain layers grouped by concern (controllers/, services/, repositories/, models/, routes/, views/). Shared settings and helpers sit in src/settings/ and src/utils.py. Tests mirror this layout under tests/unit/ and tests/integration/ for focused and end-to-end coverage. Deployment assets stay at the root (Dockerfile, compose.yaml, Makefile), while virtualenv tooling is kept in infinity_env/.
Build, Test, and Development Commands
python3 -m pip install -r requirements.txtprepares runtime dependencies; addrequirements-dev.txtfor local tooling.make formatruns Black and Ruff autofixes acrosssrc/andtests/.make lintexecutes Flake8 and Pylint with the repository presets.make testwrapspytestwith the configuredtests/path.make devstarts Uvicorn onhttp://localhost:3000with hot reload.docker-compose up --build -d(fromcompose.yaml) builds and runs the API plus MongoDB in containers; usemake cleanto prune stacks.
Coding Style & Naming Conventions
Target Python 3.12 and a 79-character line length (Black, Ruff, and Pylint enforce this). Prefer module-level functions in snake_case, classes in PascalCase, and constants in UPPER_SNAKE_CASE. Keep FastAPI routers named <feature>_router inside src/routes/, and align Pydantic models with CamelCase class names under src/models/. Run make format before opening a PR to avoid stylistic churn.
Testing Guidelines
Pytest drives both unit and integration suites; name files test_<feature>.py and group fixtures near usage. Place pure-function tests in tests/unit/ and API or database flows in tests/integration/. Execute pytest tests/integration/test_environment.py -k simulate to target scenarios while keeping --import-mode=importlib behavior intact. New features should include happy-path and failure-case coverage, plus integration smoke tests when touching MongoDB writes.
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.
- yesterday First seen · 25 lines · 647 tokens per session scan A ac0e5bb076ce
Infinity-API AGENTS.md is an instructions file published in the GitHub repository RocketPy-Team/Infinity-API (10 stars, last pushed 27d ago), licensed MIT. It adds 647 tokens to every session, about $0.0032 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-31.
Other instructions, from other repositories
gorest AGENTS.md
Instructions for pilinux/gorest, covering agents.md, project overview, build and run commands, build and tidy dependencies.
gmgn-skills CLAUDE.md
Instructions for GMGNAI/gmgn-skills, covering claude.md, critical rule — read this first, project overview, available skills and quick decision guide.
cli AGENTS.md
Instructions for nylas/cli, covering ai coding agent guidelines, quick reference: shared helpers, quick reference: adding a new feature and quick reference: credential storage.
nango CLAUDE.md
Claude Code instructions for NangoHQ/nango, a project described as: Build product integrations with AI.
mcp-agent-langchainjs AGENTS.md
Instructions for Azure-Samples/mcp-agent-langchainjs, covering mcp agent langchain.js project instructions, architecture overview, component communication flow, key architectural patterns and authentication & state management.
silkweave CLAUDE.md
Instructions for silkweave/silkweave, covering claude.md, commands, mcp inspector (connects to mcp stdio example via .mcp.json), architecture and packages.