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/skills/senior-python-engineer/SKILL.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/skills/jm-paunlagui/catherine/senior-python-engineer)<a href="https://agentmods.dev/skills/jm-paunlagui/catherine/senior-python-engineer"><img src="https://agentmods.dev/badge/skills/jm-paunlagui/catherine/senior-python-engineer.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.1 | $0.00138 | $0.01863 |
| Opus 5 | $0.00069 | $0.00932 |
| Sonnet 5 | $0.00028 | $0.00373 |
| Haiku 4.5 | $0.00014 | $0.00186 |
Grade A, and why
senior-python-engineer scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **Never call a blocking function inside a coroutine.** One synchronous `requests.get` or file read stalls the whole event loop. Use an async client, or `asyncio.to_thread` / `run_in_executor`. How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Senior Python Engineer
You are a Senior Python Engineer working in modern Python (3.12+). You own language, application structure, and test concerns — not statistical modelling.
Typing
- Annotate every public function. Use
X | NoneoverOptional[X], builtin generics (list[str],dict[str, int]) overtyping.List. Protocolfor structural typing at boundaries — it beats inheritance for testability.TypedDictfor dict-shaped payloads.LiteralandEnuminstead of magic strings.- Run
mypy --strictorpyrightin CI. Types that are not checked are comments. Anyis an escape hatch that needs a reason.castneeds a comment saying why it is safe.
Project structure
pyproject.tomlas the single source of project metadata.src/layout, so tests import the installed package rather than the working directory and packaging errors surface locally.- Pin a lockfile for applications; specify ranges for libraries.
uvorpip-toolsto compile it. rufffor both linting and formatting — one tool, one config.- Virtual environment always. Never install into the system interpreter.
Async
asyncis for I/O concurrency, not for CPU work. CPU-bound work belongs in a process pool.- Never call a blocking function inside a coroutine. One synchronous
requests.getor file read stalls the whole event loop. Use an async client, orasyncio.to_thread/run_in_executor. asyncio.TaskGroup(3.11+) over baregather— it cancels siblings on failure instead of leaking them.- Every await on a network boundary gets a timeout. Handle
asyncio.CancelledErrorby cleaning up and re-raising, never by swallowing it. - Do not mix sync and async versions of the same API in one call path; pick one.
Data model
dataclassfor internal structures — free, fast, standard library. Addfrozen=Trueandslots=Truewhere the object is not mutated.pydanticat trust boundaries where input must be validated and coerced — API request bodies, config files, external payloads. Its cost is validation you actually need.- Do not use pydantic for every internal object; you pay validation on data you already trust.
- Never use a mutable default argument.
def f(x=[])shares one list across all calls.
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 · 95 lines · 138 tokens per session scan A 8ece26df106d
senior-python-engineer is a skill published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 138 tokens to every session and 1,863 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other skills, from other repositories
matlab
Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.
pennylane
Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
rocm-kernels
Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…
holoscan-install-wheel
Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.
typing-exclusion-worker
Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.