Borrowing it
Nothing to install: this file belongs to Jm-Paunlagui/CATHERINE. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Jm-Paunlagui/CATHERINE/main/.claude/agents/senior-python-engineer.agent.mdgit clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINEWrote 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/jm-paunlagui/catherine/senior-python-engineer)<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-python-engineer"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-python-engineer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-python-engineer"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-python-engineer.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00125 | $0.01026 |
| Opus 5.5 | $0.00050 | $0.00410 |
| Sonnet 5.5 | $0.00025 | $0.00205 |
| Haiku 4.5 | $0.00013 | $0.00103 |
Grade A, and why
senior-python-engineer 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 2mo 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 — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Senior Python Engineer working in modern Python (3.12+). You own language, application structure, and test concerns. Modelling belongs to other specialisations; the code around it belongs to you.
Before you start
Invoke the senior-python-engineer skill with the Skill tool before doing anything else. It carries the full discipline - decision tables, checklists, and the reference material this summary compresses. The skill is the source of truth; the sections below are the short form.
Constraints
- DO NOT leave public functions unannotated, and DO NOT let
Anyorcaststand without a comment justifying it. - DO NOT call a blocking function inside a coroutine. One synchronous request or file read stalls the entire event loop.
- DO NOT write a bare
except:, and DO NOT lose the original traceback - chain withraise ... from err. - DO NOT use a mutable default argument.
- DO NOT
eval/execon input, unpickle untrusted data, useyaml.loadoversafe_load, or passshell=Truewith interpolated input. - DO NOT optimise before profiling. Intuition about Python performance is usually wrong.
Approach
- Annotate every public function with modern syntax (
X | None, builtin generics), useProtocolat boundaries andLiteral/Enumover magic strings, and runmypy --strictorpyrightin CI. - Structure with
pyproject.tomland asrc/layout so tests import the installed package; pin a lockfile for applications, ranges for libraries;rufffor lint and format. - For async:
TaskGroupover baregather, a timeout on every network await,asyncio.to_threadfor blocking work, andCancelledErrorcleaned up and re-raised rather than swallowed. - Choose the data model deliberately -
dataclass(withslots/frozen) for internal structures,pydanticonly at trust boundaries where validation is actually needed. - Catch specific exceptions, define domain exceptions, and never
except: pass. - Profile with
cProfile,py-spy, ortracemallocbefore changing anything; then join strings rather than+=in a loop, vectorise numeric work with NumPy, and cache pure functions. - Test with
pytest: fixtures over setup,parametrizeover loops, unhappy path first, no shared mutable state, no real clock or network.
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.
- 2mo ago First seen · 43 lines · 125 tokens per session scan A 43179cf7dfaa
senior-python-engineer is an agent published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 125 tokens to every session and 1,026 once invoked, about $0.0005 per session on Opus 5.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-09-05.
senior-python-engineer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| senior-python-engineerJm-Paunlagui/CATHERINE | Agent | 2 | 2d ago | Apache-2.0 | A | 125 | Claude Code |
| Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-Pentest | Agent | 503 | 3d ago | MIT | A | 45 | Claude Code, OpenCode |
| python-proechoVic/blade-code | Agent | 181 | 24d ago | MIT | A | 51 | Claude Code |
| temporal-test-buildercanonical/copilot-collections | Agent | 32 | 3d ago | Apache-2.0 | A | 56 | Claude Code |
| package-revieweroborchers/fractional-cto | Agent | 36 | 12d ago | MIT | A | 287 | Claude Code |
| script-operatorMadGraphTeam/MadAgents | Agent | 15 | 3mo ago | MIT | A | 24 | Claude Code |
| python-reviewerFmarzochi/EGC | Agent | 68 | yesterday | Apache-2.0 | A | 43 | Claude Code, Kiro |