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 skills/saski/arnesto/notebook-guidancenpx skills add saski/arnesto --skill notebook-guidancegit clone --depth 1 https://github.com/saski/arnestoWrote 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/saski/arnesto/notebook-guidance)<a href="https://agentmods.dev/skills/saski/arnesto/notebook-guidance"><img src="https://agentmods.dev/badge/skills/saski/arnesto/notebook-guidance.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.00209 | $0.03560 |
| Opus 5 | $0.00105 | $0.01780 |
| Sonnet 5 | $0.00042 | $0.00712 |
| Haiku 4.5 | $0.00021 | $0.00356 |
Grade A, and why
notebook-guidance 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.
This is a copy
100% identical to notebook-guidance — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Notebook Guidance
When to Use a Notebook
Before choosing to use a notebook, evaluate the task complexity using these heuristics.
Use a notebook if you meet at least one of these criteria:
- 📈 Data Insights & Storytelling: Use a notebook for any request to "give insights", "find trends", "explore data", or "analyze data". These tasks benefit from using visualizations to present the data.
- 📊 Visualizations are requested: The user explicitly asks for charts or plots.
- 🔄 Stateful / Iterative Exploration: You need to run a query, inspect results, and decide the next query based on those results while keeping state in memory.
Do NOT use a notebook ONLY if:
- 📝 Simple Fact/Status: The request only requires a single number (e.g., "how many rows") or a status check (e.g., "when was this table updated").
- 🏃♂️ Schema Preview: The request is only about the schema or field types.
Golden Rule of Data Storytelling: If any analytical insight, trend, or comparison is involved, favor a notebook and a visualization. A notebook is the "standard" environment for our developer workflow; do not avoid it because of "overhead".
Notebook Best Practices
[!IMPORTANT]
Agent execution rules: Your behavior MUST depend on whether the
notebook_execute_celltool is available in your current context: * If notebookexecute_celltool is available: You MUST follow the incremental GENERATE CELL -> EXECUTE CELL -> VALIDATE flow. * If notebookexecute_celltool is NOT available: You MUST generate the complete notebook and request user execution.
- CONDITIONAL EXECUTION FLOW:
- If notebook
execute_celltool is available: Follow the STEP BY STEP GENERATE CELL -> EXECUTE CELL -> VALIDATE OUTPUT flow. Generate ONE cell, execute it, then verify the output. If the output is data (e.g. a dataframe), you MUST inspect it to confirm the logic is correct before generating the next step. Batch generation of an entire notebook is strictly prohibited because error propagation in notebooks is expensive to fix. - If notebook
execute_celltool is NOT available:- Create the whole notebook at once.
- Tell the user to run the notebook.
- Tell the user to let you know once the notebook run is completed so you can check the outputs to verify it's correct and fix any errors.
- If notebook
- IDENTIFY DATA EARLY: Use
@skill:discovering-gcp-data-assetsor BigQuery list tools to find the correctproject.dataset.tablebefore writing ANY code. If the table ID is missing, ask the user. - CLEAN FINAL STATE: The final notebook MUST NOT have failed cells. If a cell fails, you MUST fix it. If you tried several versions, delete the failed attempts before you present the notebook to the user.
- LOGICAL CHUNK FIDELITY: Keep cells small. One logical transformation or
visualization per cell. Group related cells into logical units (e.g., a
BigQuery
%%bqsqlmagic cell followed immediately by a Python visualization cell for those results). Use descriptive markdown cells to separate and document different logical sections. - GENERATE VISUALIZATIONS: Always accompany data insights with visualizations; charts are often more effective than raw numbers for communicating trends and comparisons.
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 · 327 lines · 209 tokens per session scan A bddf53b2c3ab
notebook-guidance is a skill published in the GitHub repository saski/arnesto (5 stars, last pushed 10d ago), licensed Unlicense. It adds 209 tokens to every session and 3,560 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to notebook-guidance, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
digital-health-clinical-asr-finetune
Stage 4 of the Clinical ASR Flywheel. Use when priority KER is above 0.3 to run stock NeMo SFT on Parakeet TDT v2 and offline cycle N+1 re-eval. NOT for generic word boosting (use /finetune-asr).
digital-health-clinical-asr-eval
Stage 3 of Clinical ASR Flywheel. Score a NeMo manifest, produce the five-section KER leaderboard (by-ipasource diagnostic). Not for ASR auth (/riva-asr).
i4h-workflow-dataset-annotate
Grade or filter workflow HDF5 episodes with an OpenAI-compatible vision model. Use for visual success labels; do not use for replay, policy evaluation, or recordings without frames.
i4h-workflow-dataset-convert
Convert workflow HDF5 recordings to LeRobot datasets for training or browser inspection. Use for conversion; do not use for replay, augmentation, or raw-data repair.
i4h-lerobot-viz
Serve and visually inspect a converted LeRobot dataset in the browser. Use for videos and state/action timelines; do not use for raw workflow HDF5 or incomplete conversion output.
i4h-workflow-dataset-mimic
Expand workflow HDF5 demonstrations with action jitter, optionally scoped to node segments. Use for synthetic variants; do not use to collect data, alter state directly, or generate new images.