stats

stats is a skill for Claude Code, Codex from ggemba/squad-mcp. It costs 0 tokens per session (3,202 once invoked), scanned A, original, Apache-2.0.

A read-only dashboard for the squad-mcp run journal, which records past agent runs.

In plain words
What is it for?
Use it to inspect historical squad runs and see how different agents and task types have performed.
Why use it?
It turns run records into a compact view of outcomes, scores, trends, timing, and agent activity.

Skill for Claude CodeCodex

Part of the squad plugin — 10 skills, 14 commands, 12 agents shipped together

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/ggemba/squad-mcp/stats
Any agent
npx skills add ggemba/squad-mcp --skill stats
Clone the repo
git clone --depth 1 https://github.com/ggemba/squad-mcp

Made for: Claude Code, Codex.

Or install squad, the plugin that ships this one along with the rest of its 10 skills, 14 commands, 12 agents.

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 stats

README.md
[![agentmods](https://agentmods.dev/badge/skills/ggemba/squad-mcp/stats.svg)](https://agentmods.dev/skills/ggemba/squad-mcp/stats)
Your own site
<a href="https://agentmods.dev/skills/ggemba/squad-mcp/stats"><img src="https://agentmods.dev/badge/skills/ggemba/squad-mcp/stats.svg" alt="Measured on agentmods" 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 3,202 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.00000 $0.03202
Opus 5 $0.00000 $0.01601
Sonnet 5 $0.00000 $0.00640
Haiku 4.5 $0.00000 $0.00320

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

Security

Grade A, and why

stats 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 5d 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/stats/SKILL.md · 191 lines

How it starts

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

Skill: Stats

Objective

Render an at-a-glance, single-screen observability panel for past squad-mcp runs in this workspace. Inspired by rtk gain but with a tighter visual identity: one accent colour (cyan), Unicode bar / sparkline glyphs at 1/8 granularity, no tables-as-text-dumps.

Position in the workflow:

  • /squad:implement / /squad:review — produce runs (write side, two-phase journal append).
  • /squad:stats — read those runs back as an aggregated panel (this skill).

This skill is read-only. It never edits files, never appends a row, never invokes record_run.

Inviolable Rules

  1. Read-only over the journal. No writes to .squad/runs.jsonl, no record_run invocation, no commits, no pushes. The only file this skill ever writes is the diagnostic sentinel .squad/.stats-seen described in Step 6 — that file is gitignored and not load-bearing.
  2. Empty journal is a normal state. Render a "no runs yet" empty-state and tell the user how to populate it. Never raise an error.
  3. All token figures are estimates. Render the (estimated · chars ÷ 3.5) disclaimer beneath the totals panel.
  4. One accent colour only. Use cyan (ANSI \x1b[36m) for highlights and bars; reset (\x1b[0m) after every coloured run. Do not introduce a second hue, even for "errors are red". Verdict differentiation is by symbol + percentage, not colour.
  5. Honour --no-color and NO_COLOR env. Emit plain ASCII when either is present or when the host signals non-TTY output. Best-effort — do not invent a TTY check the host doesn't expose.
  6. Strip control characters before rendering user-influenceable fields. mode_warning.message is partially user-controllable and ends up in the panel; the aggregator already exposes a stripControlChars helper. Use it.
  7. No AI attribution. Standard global rule.

Inputs

/squad:stats [--quick | --thorough] [--since <ISO>] [--last <N>] [--no-color]
Flag Default Description
--quick off Last 7 days only. Top-level panels: trend + outcomes + score buckets. Skips per-agent breakdown.
--thorough off Full history + per-agent panel + health (in_flight / aborted) panel.
--since <ISO> unset ISO 8601 lower bound on started_at. Overrides --quick's 7-day window.
--last <N> unset Cap to the most recent N folded runs.
--no-color off Force plain ASCII output. Bars stay Unicode block chars; only ANSI escapes are stripped.

Read the full file on GitHub · 191 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. 5d ago First seen · 191 lines · 0 tokens per session scan A ca8d42c98eb5

Subscribe to this mod's changes

stats is a skill published in the GitHub repository ggemba/squad-mcp (4 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,202 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

Other skills, from other repositories

portable-text-serialization

Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown…

sanity-io/agent-toolkit · 85 tokens

sanity-best-practices

Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, and the App SDK. Use this…

sanity-io/agent-toolkit · 164 tokens

video-perception

Use when the user mentions a video file (.mp4, .mov, .avi, .mkv, .webm), a YouTube URL, asks to watch/analyze/review a video, or references video content in conversation.

jordanrendric/claude-video-vision · 51 tokens

prior-art-search

Systematic 7-step methodology for comprehensive patent prior art searches and patentability assessments using BigQuery and CPC classification.

RobThePCGuy/Claude-Patent-Creator · 26 tokens

bigquery-patent-search

Fast, cloud-based patent searching across 100 million+ worldwide patents using Google BigQuery - keyword search, CPC classification, patent details retrieval.

RobThePCGuy/Claude-Patent-Creator · 34 tokens

development-assistant

Guides through adding new features, MCP tools, analyzers, and extending the patent creator system.

RobThePCGuy/Claude-Patent-Creator · 24 tokens