metric-diagnostics

metric-diagnostics is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 36 tokens per session (2,172 once invoked), scanned A, original, CC0-1.0.

A workflow for finding and explaining why a metric changed or differs from an expected value.

In plain words
What is it for?
Use it to reproduce a metric, compare periods or groups, measure the change, test possible drivers, and decide what to investigate next.
Why use it?
It separates verified causes from likely explanations and unresolved questions instead of relying on speculation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit Use it to reproduce a metric, compare periods or groups, measure the change, test possible drivers, and decide what to investigate next.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/metric-diagnostics
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill metric-diagnostics
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

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 metric-diagnostics

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/metric-diagnostics"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/metric-diagnostics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,172 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.00036 $0.02172
Opus 5.5 $0.00014 $0.00869
Sonnet 5.5 $0.00007 $0.00434
Haiku 4.5 $0.00004 $0.00217

Measured 23d ago against content hash e3a591bf256a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

metric-diagnostics 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 23d 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.

OpenAI/Codex/plugins/data-analytics/skills/metric-diagnostics/SKILL.md · 159 lines

How it starts

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

Metric Diagnostics

Use this skill to diagnose why a metric changed or differs from expectation. Reproduce the metric, define the comparison, quantify the movement, validate likely drivers, and state what is verified, likely, unresolved, and useful to do next.

Overall Instructions

Dependencies

Apply the shared dependency resolution policy to the categories below.

  • Data Warehouse: Authoritative metric history, cohorts, and detail for reproducing and decomposing a change.
  • Business Intelligence: Existing reporting views, definitions, and comparison baselines.
  • Product Analytics: Behavioral changes, funnels, segments, and experiment evidence.
  • Knowledge & Files: Metric methodology, source documentation, and prior investigations.
  • Internal Messaging: Incident context and stakeholder hypotheses, including pointers to original measurements.
  • Developer Tools: Release changes, instrumentation, and incidents that may explain a movement.

Use $gather-business-context when business context is needed to understand the metric, analysis period, ownership, or plausible explanations.

Use $product-business-analysis when the task asks for a recommendation or tradeoff decision after diagnosing the movement.

Use $analyze-data-quality when dashboard trust, grain, freshness, or source disagreement could affect the metric.

Workflow guidance

Clarify with the user when a missing input would materially change the analytical frame or recommendation. Otherwise make a reasonable assumption, state it, and proceed.

Skill Configuration

Source Discovery And Verification

Use the relevant data context as a starting map, not a boundary.

  1. Find the authoritative evidence. Follow references from discussions and summaries to the original metric, query, reporting view, or source artifact. Inspect relevant schemas, datasets, tables, views, models, and metrics when source discovery is needed. Known sources and semantic mappings are starting points; expand the search when stronger or complementary evidence could materially change the answer.
  2. Compare duplicates and conflicts. When sources overlap or disagree, compare ownership, freshness, definition, grain, coverage, and directness. Use the best authoritative source, or combine complementary sources when needed. Note material conflicts, explain why the selected sources control the answer, and verify the data through source reads or the explicitly supplied evidence.

Read the full file on GitHub · 159 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. 23d ago First seen · 159 lines · 36 tokens per session scan A e3a591bf256a

Subscribe to this mod's changes

metric-diagnostics is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 36 tokens to every session and 2,172 once invoked, about $0.0001 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-11-07.

Related

metric-diagnostics compared with skills from other repositories

metric-diagnostics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
metric-diagnosticsasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A36Claude Code, Codex
hermes-s6-container-supervisionNousResearch/hermes-agentSkill267ktodayMITA20Claude Code, Codex
ast-grepNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
systematic-debuggingNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
node-inspect-debuggerNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
inspecting-hermes-desktop-domNousResearch/hermes-agentSkill267ktodayMITA20Claude Code, Codex
agent-merge-conflict-arbiterNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex