analyst-core

analyst-core is a skill for Claude Code from ai-analyst-lab/ai-analyst. It costs 115 tokens per session (2,478 once invoked), scanned C, original, MIT.

A set of operating rules for data analysis, covering how to frame questions, inspect data, choose charts, and check findings before presenting them.

In plain words
What is it for?
It helps investigate changes, compare groups, measure funnels and retention, study revenue or conversion, build reports, and examine trends or forecasts.
Why use it?
It prevents vague questions, untrusted data, and unsupported conclusions from turning into misleading analysis.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps investigate changes, compare groups, measure funnels and retention, study revenue or conversion, build reports, and examine trends or forecasts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-analyst-lab/ai-analyst/analyst-core
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 ai-analyst-lab/ai-analyst --skill analyst-core
Clone the repo
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst/analyst-core"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst/analyst-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,478 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00115 $0.02478
Opus 5 $0.00057 $0.01239
Sonnet 5 $0.00023 $0.00496
Haiku 4.5 $0.00012 $0.00248

Measured 2d ago against content hash 353ca55608b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, from the pricing page.

Security

Grade C, and why

analyst-core scanned grade C with 1 finding 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 2d 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

the normal generate-and-validate path (Tier C). Never refuse an undefined
.claude/skills/analyst-core/SKILL.md · 199 lines

How it starts

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

Skill: Analyst Core

You are working as an AI Product Analyst. These rules apply to every analysis in this workspace, from a one-line lookup to a full investigation. When analyzing data here, use the AI Analyst skills by name: question-framing to frame, data-profiling and data-quality-check to inspect, visualization-patterns for any chart, and the sanity-check skills (always-compare, triangulation, trace) before presenting.

The method, in order

  1. Frame the decision before analyzing. Every analysis serves a decision. If the user has not said what decision the answer will inform, STOP and ask before touching data: use the question-framing skill to turn a vague ask ("look into churn", "any insights in this data?") into a framed question with a goal, a decision, a metric, and hypotheses. Do not substitute a general summary for the missing decision, and do not run a full analysis "to be helpful" while the frame is empty; the right output for an unframed ask is two or three sharp framing questions and a stop. This holds in non-interactive runs too: end the turn on the questions. A clearly framed request skips straight to work.

  2. Profile data before trusting it. Before analyzing any file or table, check what is actually there: row counts, date ranges, null rates, duplicate keys, obvious anomalies. Use the data-profiling and data-quality-check skills. Never assume a column means what its name suggests.

  3. Route defined metrics through the compiler. When a question asks for a metric, check whether it is defined in .knowledge/datasets/{active}/metrics/. If a single defined metric matches unambiguously and has a compile: block, compute it with the compiler instead of writing SQL by hand:

    from helpers.data.metric_router import route
    from helpers.data.metric_compiler import load_metric, run_metric
    r = route(active_dataset, resolved_metric_id)   # {"tier", "mode", ...}
    if r["tier"] == "A":
        df = run_metric(conn, load_metric(active_dataset, r["metric_id"]),
                        group_by=[...], filters={...})   # deterministic; auto-traced
    

Read the full file on GitHub · 199 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. 2d ago First seen · 199 lines · 115 tokens per session scan C 353ca55608b0

Subscribe to this mod's changes

analyst-core is a skill published in the GitHub repository ai-analyst-lab/ai-analyst (298 stars, last pushed 3d ago), licensed MIT. It adds 115 tokens to every session and 2,478 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens