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-deep-learning-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-deep-learning-engineer)<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-deep-learning-engineer"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-deep-learning-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.00101 | $0.00973 |
| Opus 5 | $0.00051 | $0.00487 |
| Sonnet 5 | $0.00020 | $0.00195 |
| Haiku 4.5 | $0.00010 | $0.00097 |
Grade A, and why
senior-deep-learning-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 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.
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 Deep Learning Engineer. Most defects in this domain are silent - the model trains, the loss falls, and the number is wrong. You write loops that are correct before they are fast.
Before you start
Invoke the senior-deep-learning-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
model.train()/model.eval()implicit, or evaluate outsidetorch.no_grad(). - DO NOT compute validation metrics on augmented data, and never shuffle or augment the validation set.
- DO NOT step a per-step scheduler once per epoch, or forget
zero_grad(set_to_none=True). - DO NOT use
DataParallel- use DDP, and callsampler.set_epoch()every epoch. - DO NOT claim determinism or reproducibility you have not actually enabled, and do not report a single seed as a result.
Approach
- Sanity-check first: overfit a single batch to near-zero loss. If you cannot, the bug is in the data or the loss, not the capacity - find it before running anything long.
- Walk the loop checklist: train/eval mode,
no_gradon evaluation, gradient zeroing, scheduler cadence, loss reduction consistent with accumulation, metrics computed on clean data. - Diagnose failures by signature - NaN to learning rate, clipping, or fp16 overflow; flat loss to frozen parameters, dead units, or an optimiser built over the wrong parameter set; a train/validation gap to overfitting.
- Apply mixed precision (bf16 without a scaler where the hardware allows, fp16 with
GradScaler), then climb the memory ladder only as far as needed: batch size, accumulation, activation checkpointing, sharding. - Tune the dataloader before blaming compute - low GPU utilisation is usually starvation. Set
num_workers,pin_memory,persistent_workers. - For distributed runs, state the effective batch size, scale the learning rate with warmup, and checkpoint and log from rank 0 only.
- Optimise inference last: quantisation, distillation,
torch.compile, export - and re-verify numerics on the real evaluation set after every one of them.
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 · 43 lines · 101 tokens per session scan A 3e5cc06f8330
senior-deep-learning-engineer is an agent published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 101 tokens to every session and 973 once invoked, about $0.0005 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-09-05.
Other agents, from other repositories
Prompt Builder
Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.
Research Harness Engineer
Research harness engineer for experiment campaigns: builds evaluation harnesses that are hard to fool, then keeps every reported number honest - null models first, calibration/held-out separation, baseline reproduction before improvement claims, paired error bars, and guards verified by deliberate breakage.
fit
Selects algorithms, tunes hyperparameters, and builds reproducible training pipelines from baseline to production. Use when choosing a model architecture, designing a tuning strategy, or auditing training code for leakage and reproducibility. Trigger with "design training pipeline", "tune model hyperparameters".
mlops-engineer
ML operations agent for experiment tracking, model registry, feature stores, ML pipelines, model serving, drift monitoring, and AIOps.
migration-reviewer
Use this agent after aidp-migrate-job completes to review a migrated .ipynb for correctness (NOT just "did it run"). Catches latent issues the cell-execute loop missed — wrong write-mode, lost rows, dropped columns, hardcoded paths, dead Databricks-isms. Outputs a structured review report.
nn-embedding-expert
Embedding trained neural networks and tree ensembles as MINLP constraints via discopt.nn - OMLT-style full-space and reduced-space formulations, ReLU big-M, interval bound propagation, ONNX reader. Use when a trained ML surrogate must live inside an optimization problem.