notebookmd

notebookmd is a skill for Claude Code, Codex from minhlucvan/notebookmd. It costs 0 tokens per session (2,704 once invoked), scanned A, original, MIT.

A notebookmd-based data-analysis skill for producing Markdown reports with metrics, charts, tables, and other analytics.

In plain words
What is it for?
Use it to summarize data, calculate key metrics, create trend charts, display tables, and document analysis results.
Why use it?
It turns dataset results into a readable report instead of leaving the developer to format findings by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to summarize data, calculate key metrics, create trend charts, display tables, and document analysis results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/minhlucvan/notebookmd/notebookmd
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.

Any agent
npx skills add minhlucvan/notebookmd --skill notebookmd
Clone the repo
git clone --depth 1 https://github.com/minhlucvan/notebookmd

Made for: Claude Code, Codex.

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 notebookmd

README.md
[![agentmods](https://agentmods.dev/badge/skills/minhlucvan/notebookmd/notebookmd/github.svg)](https://agentmods.dev/skills/minhlucvan/notebookmd/notebookmd)
Your own site
<a href="https://agentmods.dev/skills/minhlucvan/notebookmd/notebookmd"><img src="https://agentmods.dev/badge/skills/minhlucvan/notebookmd/notebookmd/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 notebookmd

Your own site · 80×15
<a href="https://agentmods.dev/skills/minhlucvan/notebookmd/notebookmd"><img src="https://agentmods.dev/badge/skills/minhlucvan/notebookmd/notebookmd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,704 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 original No closer match found 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.02704
Opus 5.5 $0.00000 $0.01082
Sonnet 5.5 $0.00000 $0.00541
Haiku 4.5 $0.00000 $0.00270

Measured 2mo ago against content hash 8c50b0e6c27c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notebookmd 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.

skills/notebookmd/SKILL.md · 325 lines

How it starts

The opening of the file, as written. The whole thing — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.

notebookmd — AI Agent Data Analysis Skill

Markup-to-Markdown toolkit for AI agents. Use notebookmd to produce structured Markdown reports with metrics, charts, tables, and analytics — the same way a human analyst uses Jupyter, Streamlit, or Excel.

Quick Start

from notebookmd import nb

n = nb("dist/report.md", title="My Analysis")

n.section("Key Metrics")
n.metric_row([
    {"label": "Revenue", "value": "$4.2M", "delta": "+18%"},
    {"label": "Users", "value": "34.5K", "delta": "+2,100"},
    {"label": "Churn", "value": "1.8%", "delta": "-0.3%", "delta_color": "inverse"},
])

n.section("Revenue Trend")
n.line_chart(df, x="date", y="revenue", title="Monthly Revenue")

n.section("Details")
n.table(df.head(20), name="Top 20 Records")
n.kv({"LTV": "$14,400", "CAC": "$2,100", "LTV/CAC": "6.9x"}, title="Unit Economics")

n.success("Analysis complete!")
n.save()

Installation

pip install notebookmd              # Core (zero dependencies)
pip install "notebookmd[pandas]"    # + DataFrames, tables, CSV export
pip install "notebookmd[plotting]"  # + matplotlib charts
pip install "notebookmd[all]"       # Everything (pandas, matplotlib, plotly, altair, pillow)

When to Use This Skill

Use notebookmd when the task requires:

  • Generating a data analysis report from CSV, DataFrame, or API data
  • Building a metrics dashboard with KPIs, deltas, and trends
  • Creating a structured Markdown document with tables, charts, status indicators
  • Producing reproducible analysis artifacts (Markdown file + figures + CSV exports)
  • Any task where a human would open Jupyter Notebook, Streamlit, or Excel

Core Concepts

Factory

from notebookmd import nb, NotebookConfig

cfg = NotebookConfig(
    max_table_rows=30,       # Truncate tables beyond this (default: 30)
    float_format="{:.4f}",   # Number format for floats (default: "{:.4f}")
)
n = nb("dist/report.md", title="Report Title", cfg=cfg)
  • out_md — Path to the output .md file (directories created automatically)
  • title — Report title rendered as # Title
  • assets_dir — Directory for figures/CSVs (default: <out_dir>/assets/)
  • cfg — Optional NotebookConfig for rendering settings

Read the full file on GitHub · 325 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 325 lines · 0 tokens per session scan A 8c50b0e6c27c

Subscribe to this mod's changes

notebookmd is a skill published in the GitHub repository minhlucvan/notebookmd (10 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,704 tokens. 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-31.

Related

notebookmd compared with skills from other repositories

notebookmd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
notebookmdminhlucvan/notebookmdSkill106mo agoMITA0Claude Code, Codex
llmwikiatomicstrata/llm-wiki-compilerSkill2.2k7d agoMITA66Claude Code, Codex
vertex-deployGoogleCloudPlatform/vertex-ai-samplesSkill795yesterdayApache-2.0A0Claude Code, Codex
vertex-inferenceGoogleCloudPlatform/vertex-ai-samplesSkill795yesterdayApache-2.0A0Claude Code, Codex
genai-sdkGoogleCloudPlatform/vertex-ai-samplesSkill795yesterdayApache-2.0A73Claude Code, Codex
quality-flywheelGoogleCloudPlatform/vertex-ai-samplesSkill795yesterdayApache-2.0A128Claude Code, Codex
geminiGoogleCloudPlatform/vertex-ai-samplesSkill795yesterdayApache-2.0A0Claude Code, Codex