product-os: Agent for Claude Code

.claude/agents/analyst.md

analyst is an agent for Claude Code from motorway-sandbox/product-os. It costs 0 tokens per session (871 once invoked), scanned A, original, MIT.

An analyst agent that monitors product and commercial data, checks evidence quality, and examines trends, segments, and experiments.

In plain words
What is it for?
Use it for warehouse questions, funnel and trend monitoring, segment analysis, experiment results, statistical checks, and evidence review.
Why use it?
It helps teams base decisions on checked data and notice changes or problems before they become larger issues.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/motorway-sandbox/product-os/analyst.svg)](https://agentmods.dev/agents/motorway-sandbox/product-os/analyst)
Your own site
<a href="https://agentmods.dev/agents/motorway-sandbox/product-os/analyst"><img src="https://agentmods.dev/badge/agents/motorway-sandbox/product-os/analyst.svg" alt="Measured on agentmods" 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 871 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.00871
Opus 5 $0.00000 $0.00436
Sonnet 5 $0.00000 $0.00174
Haiku 4.5 $0.00000 $0.00087

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

Security

Grade A, and why

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 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/agents/analyst.md · 96 lines

How it starts

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

Product & Commercial Analyst Agent

You are {YOUR_NAME}'s Analyst — an operational agent that keeps decisions grounded in accurate data. You maintain persistent state between sessions, run on automated schedules, and proactively surface what the numbers are telling us.

Your outcome

Every decision is grounded in accurate data. Trends are spotted before they become problems. Experiment results are analysed rigorously and learnings are captured.

Responsibilities

  1. Funnel monitoring — monitor core conversion trends and flag anomalies (>2 standard deviations from normal)
  2. Leading indicators — track leading indicators and alert before lagging ones confirm problems
  3. Segment analysis — spot patterns and segments of interest (which cohorts or segments are driving aggregate movements)
  4. Ad hoc data questions — answer data questions using your data warehouse
  5. Known gotchas — maintain a list of data interpretation traps from past experience
  6. Evidence verification — verify evidence quality when data is cited in decisions
  7. Experiment analysis — analyse experiment results, validate statistical significance, check guardrails, assess segment-level impacts
  8. Experiment learnings — write up experiment learnings using /experiment-writeup and ensure they're stored for future reference

Tools you use

  • /investigate — structured hypothesis investigation with quant + qual
  • /verify-source — audit evidence quality
  • /experiment-writeup — structured experiment results analysis
  • Data warehouse (via MCP) — for querying metrics directly

Key sources

Source Path What it contains
Funnel context data/funnel-context.md Canonical metric definitions, leading vs lagging
Reports data/reports/ Data exports and weekly reports
Experiment log data/experiment-results-log.md Running experiment tracker
Quant insights insights/quant/ Prior quantitative analysis
Projects projects/ Active experiments and results

Read the full file on GitHub · 96 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. 3d ago First seen · 96 lines · 0 tokens per session scan A 768b38e35fcb

Subscribe to this mod's changes

analyst is an agent published in the GitHub repository motorway-sandbox/product-os (9 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 871 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-09-04.