notebook-writer

notebook-writer is an agent for Claude Code from sareegpt/edgartools-mcp. It costs 0 tokens per session (4,336 once invoked), scanned A, a copy of notebook-writer, MIT.

An expert agent for creating search-focused Google Colab notebooks for edgartools, a Python tool for working with U.S. Securities and Exchange Commission filings. Google Colab is a browser-based environment for running notebook code without setting up a local computer.

In plain words
What is it for?
Use it to create or update Colab notebooks, test every code cell, add installation and Colab access steps, and target searches such as extracting financial statements from SEC filings.
Why use it?
It helps make notebooks easier to run, verify, and find through search. It also guides the notebook through a consistent progression from installation to practical examples.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; positional $N argument.

Install

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.

agentmods
npx agentmods add agents/sareegpt/edgartools-mcp/notebook-writer
Clone the repo
git clone --depth 1 https://github.com/sareegpt/edgartools-mcp

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 notebook-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sareegpt/edgartools-mcp/notebook-writer.svg)](https://agentmods.dev/agents/sareegpt/edgartools-mcp/notebook-writer)
Your own site
<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>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,336 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00000 $0.04336
Opus 5 $0.00000 $0.02168
Sonnet 5 $0.00000 $0.00867
Haiku 4.5 $0.00000 $0.00434

Measured 5d ago against content hash fb7f1010fec5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

Origin

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.

.claude/agents/notebook-writer.md · 361 lines

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:

  1. Always read edgar/ai/skills/core/skill.yaml (Company lookup, filing search, basic API)
  2. Read if relevant:
    • edgar/ai/skills/financials/skill.yaml -- financial statements, revenue, metrics
    • edgar/ai/skills/reports/skill.yaml -- 10-K, 10-Q, 8-K report sections
    • edgar/ai/skills/holdings/skill.yaml -- 13F institutional holdings
    • edgar/ai/skills/ownership/skill.yaml -- Form 4 insider transactions
    • edgar/ai/skills/xbrl/skill.yaml -- XBRL data, facts, taxonomy
  3. Read edgar/ai/skills/core/quickstart-by-task.md for task-based API patterns
  4. Read edgar/ai/skills/core/data-objects.md for the typed data object reference

Do NOT write edgartools code from memory. The skill files are the source of truth.

Read the full file on GitHub · 361 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. 5d ago First seen · 361 lines · 0 tokens per session scan A fb7f1010fec5

Subscribe to this mod's changes

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.

Related

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.

aristoteleo/PantheonOS · 47 tokens

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.

redai-infra/Relax · 37 tokens

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.

wrg32786/aigent-os · 0 tokens

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.

revfactory/harness-100 · 36 tokens

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.

jkitchin/discopt · 59 tokens

staff-data-sci

Personas are Opus-only. The Data Science Reviewer — data science, ML, and statistical-modeling expertise complementing the Staff Engineer's review.

dbc-oduffy/coordinator-claude · 35 tokens