edgartools-mcp: Agent for Claude Code

.claude/agents/notebook-writer.md

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.

This is sareegpt/edgartools-mcp's own configuration. It tells Claude Code how to work on edgartools-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything edgartools-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sareegpt/edgartools-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sareegpt/edgartools-mcp/main/.claude/agents/notebook-writer.md
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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notebook-writer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.00000 $0.01734
Sonnet 5.5 $0.00000 $0.00867
Haiku 4.5 $0.00000 $0.00434

Measured 2mo ago against content hash fb7f1010fec5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (19 stars, last pushed 8mo 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

notebook-writer compared with agents from other repositories

notebook-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
notebook-writersareegpt/edgartools-mcpAgent198mo agoMITA0Claude Code
leakage-auditoryeaight7/agent-powerupsAgent81mo agoApache-2.0A26Claude Code
staff-data-scidbc-oduffy/coordinator-claudeAgent5todaynoneA26Claude Code
structured-data-workerkenlkehl/onc-data-wrangler-pluginAgent54mo agononeA66Claude Code
ml-engineermorganmuli/metaskillAgent123d agoMITA81Claude Code
bayesian-network-predictionChrisRoyse/610ClaudeSubagentsAgent1221y agononeA35Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code