vizwright: Agent for Claude Code

.claude/agents/insights-analyst.md

insights-analyst is an agent for Claude Code from blakefeiza/vizwright. It costs 48 tokens per session (779 once invoked), scanned A, original, MIT.

An analysis workflow that examines a dataset in response to a business question and produces an analysis plan plus a standalone findings narrative. It uses real calculations, including trends, group comparisons, contribution analysis, outliers, and statistical tests.

In plain words
What is it for?
Use it to inspect a dataset, calculate and test business findings, quantify differences and trends, identify second-order effects, and prepare evidence for a dashboard or stakeholder report.
Why use it?
It keeps analysis focused on the question and replaces guesses with measured findings, while checking for less obvious patterns and misleading group comparisons.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is blakefeiza/vizwright's own configuration. It tells Claude Code how to work on vizwright 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 vizwright configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 tools/stat_check.py <dataset> --value <measure> --group <dim> \.

Reuse

Borrowing it

Nothing to install: this file belongs to blakefeiza/vizwright. 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/blakefeiza/vizwright/main/.claude/agents/insights-analyst.md
Clone the repo
git clone --depth 1 https://github.com/blakefeiza/vizwright

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 insights-analyst

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/blakefeiza/vizwright/insights-analyst"><img src="https://agentmods.dev/badge/agents/blakefeiza/vizwright/insights-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 779 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.00048 $0.00779
Opus 5.5 $0.00019 $0.00312
Sonnet 5.5 $0.00010 $0.00156
Haiku 4.5 $0.00005 $0.00078

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

Security

Grade A, and why

insights-analyst 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.

.claude/agents/insights-analyst.md · 64 lines

How it starts

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

You are the insights analyst — the most valuable stage of the pipeline. Even if no dashboard is ever built, your output must stand alone as a piece of analysis a stakeholder would pay for.

Inputs (provided in your task prompt)

  • The business question
  • Path to the run directory runs/<run>/
  • Path to the dataset (e.g. data/superstore.csv) and its profile (runs/<run>/profile.json, generated by tools/profile_data.py)

Method

  1. Read the profile to learn columns, types, ranges. Never guess column names.
  2. Interrogate the data with real Python (pandas) via Bash — group-bys, trends over time, contribution analysis, variance vs prior period, concentration (top-N share), outliers. Compute, don't estimate.
  3. Chase the question, not the dataset: every analysis must serve the question asked. Prefer 5 deep findings over 15 shallow ones.
  4. Quantify everything: "West margin is 2.1x Central" beats "West is better".
  5. Look for the second-order story: mix effects, offsetting trends, Simpson's-paradox risks (e.g. discount-driven losses hidden inside growing sales).
  6. Test significance with code, not judgment. Any claim that group A differs from group B (regions, segments, categories, periods) must be backed by tools/stat_check.py, never by eyeballing means:
    python3 tools/stat_check.py <dataset> --value <measure> --group <dim> \
      --out runs/<run>/stat_check.json
    # rate/proportion difference:
    python3 tools/stat_check.py --prop <x1> <n1> <x2> <n2>
    
    It runs pairwise Welch t-tests, Bonferroni-corrects the family, and reports Cohen's d. Then obey the result:
    • significant: true with a non-negligible effect → state it plainly.
    • significant: false → downgrade the prose ("higher, but not statistically distinguishable, p=…"), don't headline it.
    • Large n can make a trivial gap "significant" — if effect is negligible, say so and don't lead with it. Cite the corrected p-value and effect size in insights.md for every comparison you make load-bearing.

Read the full file on GitHub · 64 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 · 64 lines · 48 tokens per session scan A 8177d2e426df

Subscribe to this mod's changes

insights-analyst is an agent published in the GitHub repository blakefeiza/vizwright (4 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 779 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other agents, from other repositories

d3-expert

Expert in D3.js for creating custom, interactive data visualizations with SVG, Canvas, and HTML. Specializes in D3 v7+ with ES modules, selections, data binding, scales, transitions, force simulations, hierarchical layouts, geographic projections, and performance optimization for large datasets. Use for any data…

andisab/swe-marketplace · 448 tokens

lens

Turns raw data into actionable decisions — dashboards, metric definitions, SQL analytics, funnel and cohort analysis across BI platforms. Use when designing a dashboard, defining KPIs, or running funnel analysis. Trigger with "design a dashboard", "analyze our funnel".

jeremylongshore/tons-of-skills-marketplace · 53 tokens

debate-advocate

A structured debate role for the side defending a proposal or viewpoint. It presents the case, answers the opposing side's objections, and updates the proposal when valid criticism is found.

CronusL-1141/AI-company · 41 tokens

team-member

A general-purpose AI team member that receives tasks, works with other team members, joins meetings, and reports results. It is designed for a shared team-management system called AI Team OS.

CronusL-1141/AI-company · 40 tokens

pywry-builder

Builds PyWry widgets, dashboards, chat UIs, and TradingView charts end‑to‑end by orchestrating the PyWry MCP tools. Use when the user asks to build, scaffold, or iterate on a PyWry app and the work involves multiple MCP tool calls (e.g. create widget → populate data → add toolbar → wire events → export).

deeleeramone/PyWry · 81 tokens

Tenable Asset EOL Tracker

Self-hosted web portal that syncs Tenable VM assets and tracks OS and application end-of-life status across five interactive views — zero dependencies, instant load, encrypted credentials.

tenable/cyberagents-exchange · 41 tokens