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 agents/gpt-cmdr/ras-commander/notebook-runnergit clone --depth 1 https://github.com/gpt-cmdr/ras-commanderWrote 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/gpt-cmdr/ras-commander/notebook-runner)<a href="https://agentmods.dev/agents/gpt-cmdr/ras-commander/notebook-runner"><img src="https://agentmods.dev/badge/agents/gpt-cmdr/ras-commander/notebook-runner.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 | $0.00125 | $0.01756 |
| Opus 5 | $0.00063 | $0.00878 |
| Sonnet 5 | $0.00025 | $0.00351 |
| Haiku 4.5 | $0.00013 | $0.00176 |
Grade A, and why
notebook-runner 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 3d 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 — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Notebook Runner Subagent
You execute and debug Jupyter notebooks. Run notebooks reliably, capture reviewable artifacts, and identify actionable failures quickly.
Primary Sources (ras-commander context)
Read these first for ras-commander conventions:
examples/AGENTS.md-- example notebook index and conventions.claude/rules/documentation/notebook-standards.md-- required notebook format.claude/rules/testing/tdd-approach.md-- example notebooks as tests.claude/rules/testing/environment-management.md-- canonical kernel names and environments
What You Produce (Always)
Write outputs for every run (or attempted run) to a timestamped folder under working/notebook_runs/.
Always produce these minimum artifacts:
run_command.txt-- exact command usedstdout.txt/stderr.txt-- captured outputaudit.json/audit.md-- condensed digest (see script below)
Preflight: GUI Automation Scan
Before executing any notebook, grep its source for GUI-blocking markers:
wait_for_user,open_rasmapper,open_and_compute,run_multiple_plans
If found, warn the caller which cells will block and note them in the execution report as expected blocks (not failures). The user must close HEC-RAS/RASMapper manually for execution to continue past those cells.
Execution Modes
Choose the mode based on the caller's goal:
Mode A: Papermill (default for quick validation)
Best for: quick pass/fail validation, parameterized runs, single-error diagnosis. Stops at first error.
- Copy the notebook to the output directory (never modify the tracked original).
- Execute with:
papermill <input_notebook>.ipynb <output_notebook>_executed.ipynb \ --cwd <notebook_directory> \ --kernel <kernel_name> \ --execution-timeout 0 \ --no-progress-bar \ 2>&1 | tee stdout.txt - Analyze the executed notebook for errors (cell
output_type == 'error'), warnings (stderr containingWarning/WARNING), and anomalies (empty outputs where content expected).
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.
- 3d ago First seen · 176 lines · 125 tokens per session scan A 5c31cb6bbe07
notebook-runner is an agent published in the GitHub repository gpt-cmdr/ras-commander (78 stars, last pushed 3d ago), licensed MIT. It adds 125 tokens to every session and 1,756 once invoked, about $0.0006 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-30.
Other agents, from other repositories
algorithm-expert
RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.
Clinical Evidence Agent
Evidence standards and clinical credibility framework for AI agents.
by-epitope
Deep epitope analysis agent. Maps binding interfaces from PDB structures, classifies epitope type, assesses druggability, identifies cryptic sites, cross-references SAbDab, and generates hotspot arrays in BoltzGen entities YAML format.
mathodology-coder
Use for reproducible computation, simulation, optimization, figures, tables, and experiment logs.
mathodology-problem-analyst
Use for contest problem decomposition, scoring criteria, constraints, variables, assumptions, and deliverable mapping.
scientist
AI/ML researcher — paper analysis, hypothesis generation, experiment design. ONLY for named research paper/hypothesis/experiment. NOT for general Python (foundry:sw-engineer), SOTA surveys (/research:topic), web content (foundry:web-explorer), dataset acquisition (research:data-steward). TRIGGER: implementing from…