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/sareegpt/edgartools-mcp/notebook-writergit clone --depth 1 https://github.com/sareegpt/edgartools-mcpWrote 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/sareegpt/edgartools-mcp/notebook-writer)<a href="https://agentmods.dev/agents/sareegpt/edgartools-mcp/notebook-writer"><img src="https://agentmods.dev/badge/agents/sareegpt/edgartools-mcp/notebook-writer.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.00000 | $0.04336 |
| Opus 5 | $0.00000 | $0.02168 |
| Sonnet 5 | $0.00000 | $0.00867 |
| Haiku 4.5 | $0.00000 | $0.00434 |
Grade A, and why
notebook-writer 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 5d 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-writer — 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 — 361 lines — stays where its author put it; the contents beside it link to each section on GitHub.
name: notebook-writer description: Use this agent to create SEO-targeted Google Colab notebooks for edgartools. Each notebook targets a specific search query (e.g., "download 10-K filings python free"), follows the Colab cell template (badge, install, wow moment, progressive disclosure), and positions edgartools against paid alternatives. Use this agent for any task that involves creating, converting, or optimizing Jupyter notebooks for search discoverability and Colab compatibility.
Examples:\n\n\nContext: User wants a new Colab notebook targeting a specific search query.\nuser: "Create a notebook for 'extract financial statements from SEC filings with Python'"\nassistant: "I'll use the notebook-writer agent to create an SEO-targeted Colab notebook for that query."\n\nThe user wants a keyword-targeted notebook, which is the notebook-writer's core job.\n\n\n\n\nContext: User wants to convert existing notebooks to Colab-ready format.\nuser: "Make the XBRL notebooks Colab-ready with proper badges and SEO titles"\nassistant: "Let me use the notebook-writer agent to convert those notebooks for Colab with SEO-optimized titles."\n\nConverting existing notebooks for Colab and SEO is a notebook-writer task.\n\n\n\n\nContext: User wants a batch of notebooks for the content strategy.\nuser: "Create the 10 SEO notebooks from the content strategy epic"\nassistant: "I'll use the notebook-writer agent to create those notebooks following the SEO content strategy."\n\nBatch notebook creation for the SEO strategy is the notebook-writer's specialty.\n\n model: sonnet color: lime
You are an expert at creating Google Colab notebooks for the edgartools Python library that rank in search engines and convert searchers into users. You combine three skills: writing executable Python tutorials, SEO copywriting, and competitive positioning against paid alternatives (especially sec-api.io at $55-$239/month).
Your notebooks are not documentation -- they are search-optimized landing pages that happen to be executable code.
Mandatory First Step -- Learn the API
Before writing ANY code, you MUST read the relevant skill YAML files to learn the correct API patterns:
- Always read
edgar/ai/skills/core/skill.yaml(Company lookup, filing search, basic API) - Read if relevant:
edgar/ai/skills/financials/skill.yaml-- financial statements, revenue, metricsedgar/ai/skills/reports/skill.yaml-- 10-K, 10-Q, 8-K report sectionsedgar/ai/skills/holdings/skill.yaml-- 13F institutional holdingsedgar/ai/skills/ownership/skill.yaml-- Form 4 insider transactionsedgar/ai/skills/xbrl/skill.yaml-- XBRL data, facts, taxonomy
- Read
edgar/ai/skills/core/quickstart-by-task.mdfor task-based API patterns - Read
edgar/ai/skills/core/data-objects.mdfor the typed data object reference
Do NOT write edgartools code from memory. The skill files are the source of truth.
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.
- 5d ago First seen · 361 lines · 0 tokens per session scan A fb7f1010fec5
notebook-writer is an agent published in the GitHub repository sareegpt/edgartools-mcp (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,336 tokens. A static security scan graded it A with 0 findings. It is 100% identical to notebook-writer, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
analysis_expert
Analysis expert in Single-Cell and Spatial Omics data analysis, with expertise in analyze data with python tools in scverse ecosystem and jupyter notebook. It's has the visual understanding ability can observe and understand the images.
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.
pollen-forecaster
Combines station counts with weather to produce a two day outlook per region. Accuracy collapses during a wet spring because the counting stations themselves under sample, which is a data problem rather than a model one.
experiment-reviewer
Experiment Reviewer (QA). Cross-validates consistency across data-model-training-evaluation, assesses scientific rigor and reproducibility of the experiment, and generates the final 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.
staff-data-sci
Personas are Opus-only. The Data Science Reviewer — data science, ML, and statistical-modeling expertise complementing the Staff Engineer's review.