analyze

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

A skill for analyzing datasets and producing structured Markdown reports with summaries, metrics, tables, charts, and findings.

In plain words
What is it for?
Use it with CSV files, DataFrames, financial data, or other datasets when you need an overview, statistical summary, key metrics, visualizations, and insights.
Why use it?
It provides a repeatable report structure for understanding data without manually assembling each analysis document.

Skill for Claude CodeCodex

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 skills/minhlucvan/notebookmd/analyze
Any agent
npx skills add minhlucvan/notebookmd --skill analyze
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 analyze

README.md
[![agentmods](https://agentmods.dev/badge/skills/minhlucvan/notebookmd/analyze.svg)](https://agentmods.dev/skills/minhlucvan/notebookmd/analyze)
Your own site
<a href="https://agentmods.dev/skills/minhlucvan/notebookmd/analyze"><img src="https://agentmods.dev/badge/skills/minhlucvan/notebookmd/analyze.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 926 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00052 $0.00926
Opus 5 $0.00026 $0.00463
Sonnet 5 $0.00010 $0.00185
Haiku 4.5 $0.00005 $0.00093

Measured 3d ago against content hash 6e8af1e8cb32, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analyze 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 3d 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.

.claude/skills/analyze/SKILL.md · 116 lines

How it starts

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

Data Analysis Report Generator

Generate a comprehensive, structured data analysis report using the notebookmd library. The report should read like a professional analyst's notebook — with clear sections, key metrics, data tables, visualizations, and actionable insights.

Input

Analyze: $ARGUMENTS

Instructions

1. Setup

from notebookmd import nb, NotebookConfig
import pandas as pd

cfg = NotebookConfig(max_table_rows=30)
n = nb("dist/analysis.md", title="<descriptive title based on the data>", cfg=cfg)

2. Report Structure

Build the report with these sections (adapt to the data):

# Section 1: Data Overview
n.section("Data Overview")
n.kv({
    "Source": "<where the data came from>",
    "Records": f"{len(df):,}",
    "Columns": str(len(df.columns)),
    "Date Range": f"{df['date'].min()} to {df['date'].max()}",  # if applicable
}, title="Dataset Info")
n.summary(df, title="Statistical Summary")

# Section 2: Key Metrics
n.section("Key Metrics")
n.metric_row([
    {"label": "Total", "value": f"{total:,.0f}"},
    {"label": "Mean", "value": f"{mean:.2f}"},
    {"label": "Trend", "value": f"{trend:+.1f}%", "delta": f"{trend:+.1f}%"},
])

# Section 3: Data Sample
n.section("Data Preview")
n.dataframe(df.head(15), name="First 15 rows")

# Section 4: Analysis & Patterns
n.section("Analysis")
# Group by, aggregate, compute derived metrics
n.table(grouped_df, name="Aggregated Results")

# Section 5: Visualization (if matplotlib available)
try:
    import matplotlib
    matplotlib.use("Agg")
    import matplotlib.pyplot as plt

    n.section("Visualizations")
    n.line_chart(df, x="date_col", y="value_col", title="Trend Over Time")
    n.bar_chart(top_n, x="category", y="count", title="Top Categories")
except ImportError:
    n.note("Install matplotlib for chart generation: pip install notebookmd[plotting]")

# Section 6: Export
n.section("Export")
n.export_csv(df, "analysis_data.csv", name="Full dataset")

# Section 7: Findings & Recommendations
n.section("Key Findings")
n.write("""
- **Finding 1**: Description with supporting evidence
- **Finding 2**: Description with supporting evidence
- **Finding 3**: Description with supporting evidence
""")

n.section("Recommendations")
n.write("""
1. Action item based on findings
2. Action item based on findings
3. Action item based on findings
""")

n.success("Analysis complete!")
out = n.save()
print(f"Report saved to: {out}")

Read the full file on GitHub · 116 lines

Files

What ships with it

1 file 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. 3d ago First seen · 116 lines · 52 tokens per session scan A 6e8af1e8cb32

Subscribe to this mod's changes

analyze is a skill published in the GitHub repository minhlucvan/notebookmd (10 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 926 once invoked, about $0.0003 per session on Opus 5. 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.