kpi-digest-builder

kpi-digest-builder is a skill for Claude Code, Codex from KirKruglov/claude-skills-kit. It costs 74 tokens per session (1,724 once invoked), scanned A, original, MIT.

A tool that combines KPI numbers from local Markdown, text, or CSV files into a weekly snapshot, including the change from the previous week.

In plain words
What is it for?
It helps prepare a KPI table with current and previous values, differences, percentage changes, trends, and a plain-language summary.
Why use it?
It saves time comparing files and calculating week-over-week changes by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps prepare a KPI table with current and previous values, differences, percentage changes, trends, and a plain-language summary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kirkruglov/claude-skills-kit/kpi-digest-builder
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 KirKruglov/claude-skills-kit --skill kpi-digest-builder
Clone the repo
git clone --depth 1 https://github.com/KirKruglov/claude-skills-kit

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 kpi-digest-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/kirkruglov/claude-skills-kit/kpi-digest-builder/github.svg)](https://agentmods.dev/skills/kirkruglov/claude-skills-kit/kpi-digest-builder)
Your own site
<a href="https://agentmods.dev/skills/kirkruglov/claude-skills-kit/kpi-digest-builder"><img src="https://agentmods.dev/badge/skills/kirkruglov/claude-skills-kit/kpi-digest-builder/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 kpi-digest-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/kirkruglov/claude-skills-kit/kpi-digest-builder"><img src="https://agentmods.dev/badge/skills/kirkruglov/claude-skills-kit/kpi-digest-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,724 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.00074 $0.01724
Opus 5 $0.00037 $0.00862
Sonnet 5 $0.00015 $0.00345
Haiku 4.5 $0.00007 $0.00172

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

Security

Grade A, and why

kpi-digest-builder 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 11d 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/metrics-and-exec-narratives/kpi-digest-builder/SKILL.md · 131 lines

How it starts

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

KPI Digest Builder

This skill aggregates numeric KPI values from local workspace files (.md, .txt, .csv) into a weekly snapshot table with delta vs. the previous week and a plain-language summary. No code, no API, no integrations required.

Input:

  • One or more local files containing KPI data: .md, .txt, or .csv in the Cowork workspace
  • Optional: specification of which file is "current week" and which is "previous week"

Output:

  • Markdown digest with KPI snapshot table (Previous | Current | Δ | Δ% | Trend), plain-language summary, and Notes

Language Detection

Detect the user's language from their message:

  • If Russian (or contains Cyrillic): respond in Russian
  • If English (or other Latin-script language): respond in English
  • If ambiguous: respond in the language of the trigger phrase used

Instructions

Step 1: Locate Files

  1. Identify the source file(s) from the user's message

    • If a filename or path is provided: use it directly
    • If no file specified: scan the Cowork workspace folder for files with KPI-related names (e.g., metrics, kpi, stats, report) or common formats (.md, .txt, .csv)
    • If no files found: stop and report — "No files found. Please upload your KPI files or confirm they're in your selected Cowork folder, then try again."
  2. Determine which data is "current" and which is "previous"

    • If user specifies two files: treat the designated current file as this week, previous file as last week
    • If a single file has multiple date sections or a "last week" column: split accordingly
    • If dates are present but ambiguous: use the most recent date as current, earlier date as previous; note the assumption in Notes

Step 2: Extract KPI Values

  1. Read each file and extract all named numeric values
    • For .md / .txt: look for patterns like KPI Name: 1,234, KPI Name — 45%, | KPI | Value | tables, or bullet-point metric lists
    • For .csv: treat the first column as KPI name; numeric columns as values; use column headers (if present) to distinguish current vs. previous week
    • Preserve the original KPI names exactly as found (for matching across files)

Read the full file on GitHub · 131 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 131 lines · 74 tokens per session scan A 3c2398f27469

Subscribe to this mod's changes

kpi-digest-builder is a skill published in the GitHub repository KirKruglov/claude-skills-kit (18 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 1,724 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

spark-video-director

Translate a screenplay (one scene at a time) into a provider-agnostic storyboard fragment for the spark-video pipeline. Wraps Shanyin Super Director Master when available — the upstream Shanyin SKILL is the single source of truth for craft when present.

modelstudioai/skills · 58 tokens

spark-video-episode

One-shot autopilot orchestrator — runs the full spark-video pipeline (screenwriter ↔ director per-scene parallel → render chain-DAG parallel + per-clip review → stitch). User confirms at 4 gates (+ 1 mode gate at start + 1 BGM gate when bgm/ folder detected). Use when the user wants "make me an episode" in one command.

modelstudioai/skills · 83 tokens

vox-video-director

Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end with Aliyun Bailian CLI + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all automated. Use this whenever the user wants a "Vox style" video, a paper/torn-paper collage animation, a "motion collage"…

modelstudioai/skills · 238 tokens

bailian-train-deploy

A workflow for using Alibaba Cloud’s Bailian command-line tool to fine-tune or directly deploy AI models as callable services. It covers text, speech-synthesis, image-generation, and video-generation models.

modelstudioai/skills · 321 tokens

spark-video-cast

Scaffold and generate reference assets for characters (cast), locations (movie-set / set dressing), and key props — the three pillars of visual consistency in spark-video. Wraps bl image generate / edit for portrait creation. Use when adding new characters/locations/props or when costume/state changes are needed.

modelstudioai/skills · 66 tokens

spark-video-screenwriter

Turn a user's premise into a structured screenplay (one scene at a time) for the spark-video pipeline. Wraps Shanyin Super Screenwriting Master when available — that upstream Shanyin SKILL is the single source of truth for craft when present.

modelstudioai/skills · 56 tokens