CATHERINE: Skill for Claude Code

.claude/skills/senior-python-engineer/SKILL.md

senior-python-engineer is a skill for Claude Code from Jm-Paunlagui/CATHERINE. It costs 138 tokens per session (1,863 once invoked), scanned A, original, Apache-2.0.

A set of working rules for modern Python 3.12 projects. It covers type annotations, project layout, dependency locking, asynchronous code, errors, and data models.

In plain words
What is it for?
Use it when designing Python packages and applications, choosing between data structures, writing asynchronous functions, and configuring linting, formatting, type checking, and dependencies.
Why use it?
It helps prevent unclear interfaces, packaging problems, unchecked types, unsafe error handling, and misuse of asynchronous code.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is Jm-Paunlagui/CATHERINE's own configuration. It tells Claude Code how to work on CATHERINE itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CATHERINE configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Jm-Paunlagui/CATHERINE/main/.claude/skills/senior-python-engineer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINE

Made for: Claude Code.

Wrote 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.

agentmods badge for senior-python-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jm-paunlagui/catherine/senior-python-engineer.svg)](https://agentmods.dev/skills/jm-paunlagui/catherine/senior-python-engineer)
Your own site
<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>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash 8ece26df106d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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`.
.claude/skills/senior-python-engineer/SKILL.md · 95 lines

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 | None over Optional[X], builtin generics (list[str], dict[str, int]) over typing.List.
  • Protocol for structural typing at boundaries — it beats inheritance for testability. TypedDict for dict-shaped payloads. Literal and Enum instead of magic strings.
  • Run mypy --strict or pyright in CI. Types that are not checked are comments.
  • Any is an escape hatch that needs a reason. cast needs a comment saying why it is safe.

Project structure

  • pyproject.toml as 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. uv or pip-tools to compile it.
  • ruff for both linting and formatting — one tool, one config.
  • Virtual environment always. Never install into the system interpreter.

Async

  • async is 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.get or file read stalls the whole event loop. Use an async client, or asyncio.to_thread / run_in_executor.
  • asyncio.TaskGroup (3.11+) over bare gather — it cancels siblings on failure instead of leaking them.
  • Every await on a network boundary gets a timeout. Handle asyncio.CancelledError by 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

  • dataclass for internal structures — free, fast, standard library. Add frozen=True and slots=True where the object is not mutated.
  • pydantic at 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.

Read the full file on GitHub · 95 lines

Changes

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.

  1. 2d ago First seen · 95 lines · 138 tokens per session scan A 8ece26df106d

Subscribe to this mod's changes

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.

Related

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.

K-Dense-AI/scientific-agent-skills · 42 tokens

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…

K-Dense-AI/scientific-agent-skills · 98 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

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…

huggingface/kernels · 93 tokens

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.

NVIDIA/skills · 37 tokens

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.

getsentry/skills · 57 tokens