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/robotlearning123/gpt2agent/claude-mdgit clone --depth 1 https://github.com/robotlearning123/gpt2agentWhat 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.00441 | $0.00441 |
| Opus 5 | $0.00220 | $0.00220 |
| Sonnet 5 | $0.00088 | $0.00088 |
| Haiku 4.5 | $0.00044 | $0.00044 |
Grade A, and why
gpt2agent CLAUDE.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 2d 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
gpt2agent
MCP server exposing full ChatGPT Plus/Pro account features to any MCP client.
Build & Test
pytest # full suite must pass; live/network tests auto-skip (SKIP_LIVE)
python -m gpt2agent run # start MCP server (stdio)
Key Files
gpt2agent/server.py— MCP tool registration (25 tools), config loadinggpt2agent/sse.py— Async SSE client for/backend-api/conversation(chat, DR, agent, image gen, code interpreter, canvas)gpt2agent/backend.py— Sync HTTP client (curl_cffi), token management, sentinel challengesgpt2agent/tools/— 10 tool modules (19 of the 25 tools; the 6 SSE chat/DR/agent tools live in server.py), each withregister(mcp, client, conv=None)gpt2agent/sentinel.py— POW + Turnstile solvergpt2agent/install.py—gpt2agent installsubcommand
Critical Invariants
temporary=Truesetshistory_and_training_disabled=True, which blocks image gen, code interpreter, canvas, and memory persistence. Tools that need these features MUST passtemporary=False.- Token reloaded from
~/.codex/auth.jsonor~/.gpt2agent/token.jsonon each request (mtime check). - Never commit credentials, tokens, or
.envfiles. BackendClientis synchronous. Async tools must wrap sync calls inasyncio.to_thread().
Adding Tools
- Create
gpt2agent/tools/<name>.pywithregister(mcp, client, conv=None). - Add to
tools/__init__.pyregister_all(). - SSE-based tools: use the
convsingleton (passed from server.py). - REST-based tools: use
clientdirectly (orasyncio.to_thread(client.get, ...)from async handlers).
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.
- 2d ago First seen · 34 lines · 441 tokens per session scan A dfe703ea86f0
gpt2agent CLAUDE.md is an instructions file published in the GitHub repository robotlearning123/gpt2agent (47 stars, last pushed 1mo ago), licensed MIT. It adds 441 tokens to every session, about $0.0022 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
langgraph AGENTS.md
AGENTS.md instructions for langchain-ai/langgraph, covering agents instructions, corridor security analysis, libraries and dependency map.
intelligent-terminal agent-skills.instructions.md
Guidelines for creating high-quality Agent Skills for GitHub Copilot.
connectonion AGENTS.md
AGENTS.md instructions for openonion/connectonion, covering agents.md, project overview, architecture, core components and key design patterns.
ironcurtain CLAUDE.md
Instructions for provos/ironcurtain, covering claude.md, general workflow, git & worktrees, git workflow and platform considerations.
agentsys CLAUDE.md
Claude Code instructions for agent-sh/agentsys, covering agentsys, critical rules, model selection, core priorities and dev commands.
nanocodex AGENTS.md
Instructions for gakonst/nanocodex, covering nanocodex development, commands, product boundary, account, connect, and walletconnect and workflow.