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/stranma/claude-code-python-template/claude-mdgit clone --depth 1 https://github.com/stranma/claude-code-python-templateWhat 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.00616 | $0.00616 |
| Opus 5 | $0.00308 | $0.00308 |
| Sonnet 5 | $0.00123 | $0.00123 |
| Haiku 4.5 | $0.00062 | $0.00062 |
Grade A, and why
claude-code-python-template 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 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 — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Development Process
Use /sync before starting work, /design to formalize a plan, /done when finished, and /landed after the PR merges. /design estimates scope (Q/S/P) during planning; /done auto-detects actual scope at completion based on workspace signals. Before creating any plan, read docs/DEVELOPMENT_PROCESS.md first.
Security
Two-layer defense against data exfiltration:
- Firewall (primary): iptables whitelist in devcontainer blocks all non-approved network domains
- Exfiltration guard (hook):
dangerous-actions-blocker.sh(PreToolUse/Bash) blocks exfiltration via trusted channels --gh gist create,gh issue create --body, package publishing (twine/npm/uv publish), and secrets as literal command arguments
Additional:
- Real-time scanning: The
security-guidanceplugin runs automatically during code editing, warning about command injection, eval/exec, deserialization, XSS, and unsafe system calls - Secrets handling: Never commit API keys, tokens, passwords, or private keys -- use environment variables or
.envfiles (which are gitignored) - Unsafe operations: Avoid
eval,exec, unsafe deserialization,subprocess(shell=True), andyaml.loadwithout SafeLoader in production code. If required, document the justification in a code comment - Code review: The code-reviewer agent checks for logic-level security issues (authorization bypass, TOCTOU, data exposure) that static pattern matching cannot catch
Development Commands
- Create virtual environment:
uv venv - Install all dependencies:
uv sync --all-packages --group dev
Use uv run from the repo root for all commands:
uv run pytest # All tests
uv run pytest libs/core/ -v # Core tests only
uv run pytest apps/server/ -v # Server tests only
uv run ruff check . # Lint
uv run ruff format . # Format
uv run pyright # Type check
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 · 53 lines · 616 tokens per session scan A 97d23df16070
claude-code-python-template CLAUDE.md is an instructions file published in the GitHub repository stranma/claude-code-python-template (2 stars, last pushed 4mo ago), licensed MIT. It adds 616 tokens to every session, about $0.0031 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
temple8 AGENTS.md
Instructions for nullhack/temple8, covering agents.md, binding constraints, driving a state, parsimony and workflow.
autoharness AGENTS.md
Instructions for tigerless-labs/autoharness: This repo uses Open Knowledge — collaborative markdown via MCP. .open-knowledge/config.yml (with optional /.open-knowledge/config.yml; CLI/env may override) is the path contract: content.dir is the root for relative paths; content.include lists globs that add markdown…
python-cheatsheet copilot-instructions.md
Copilot instructions for labex-labs/python-cheatsheet, covering python cheatsheet - ai coding assistant instructions, project overview, architecture & key patterns, content structure and routing & layout system.
medusa CLAUDE.md
Claude Code instructions for Pantheon-Security/medusa, covering medusa - medusa security scanning, critical: release gate — do not skip, 4. security hardening tests (must show: all pass), critical: bash sandbox and project overview.
arc AGENTS.md
Instructions for howells/arc, covering arc, shape, gotchas, editing constraints and search order.
claude-tui AGENTS.md
Instructions for slima4/claude-tui, covering agents.md, quick commands, testing, gotchas (hard-won knowledge) and local development.