01-cost

01-cost is a skill for Claude Code from ai-driven-dev/framework. It costs 103 tokens per session (732 once invoked), scanned A, original, MIT.

A reporting procedure for explaining what measured work consumed over a time period or for one task, including totals and breakdowns by useful dimensions.

In plain words
What is it for?
Use it to report totals, daily changes, or breakdowns by step, model, task, project, tool, person, or workflow.
Why use it?
It turns a broad cost question into the appropriate report instead of making the user choose technical flags or inspect raw records.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the aidd-telemetry plugin — 3 skills shipped together

Good fit Use it to report totals, daily changes, or breakdowns by step, model, task, project, tool, person, or workflow.

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

Made for: Claude Code.

Or install aidd-telemetry, the plugin that ships this one along with the rest of its 3 skills.

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 01-cost

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/01-cost"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/01-cost.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 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.00103 $0.00732
Opus 5 $0.00051 $0.00366
Sonnet 5 $0.00021 $0.00146
Haiku 4.5 $0.00010 $0.00073

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

Security

Grade A, and why

01-cost 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 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.

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.

plugins/aidd-telemetry/skills/01-cost/SKILL.md · 53 lines

How it starts

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

Cost

flowchart LR
  ask([task or period]) --> locate --> collect --> report
  locate -.->|"not measuring"| stopped([stopped])
  collect -.->|"nothing journalled"| stopped
  report --> answer([answer])

Actions

Run the flow above. Read only the next action file.

Action Does
locate find the script and check the switch
collect read what each tool's own files hold
report choose the axis the question needs, then answer with the artefact it deserves

The question, not the flag

Someone asking what last month cost does not know which axis answers them. Read the question, offer these axes in its own language, and derive the flags - never hand back a menu and ask them to pick.

The question sounds like Axis Artefact
what did this cost, how much did it use total one total, in a line
what changed, which day spiked day a series, one row per day
where did it go, which step, model, tool or project took it step, model, tool or project a breakdown table
which framework task task one row per task declared in the period, plus the remainder with no task declared
per backlog item, per ticket, what did issue X cost backlog one row per backlog item a task declared, plus tasks that named none, plus the remainder with no task at all
per orchestrated run, per flow, what did that pipeline cost flow one row per orchestrated run the journal's own sequence names, plus the remainder that ran outside any flow
which subagent, what did delegation cost agent one row per agent that ran, plus the main thread's own row
which prompt, which turn, what did one request cost prompt one row per prompt that caused work, dated, plus the row for records naming none
for a report, to paste, to send, to keep any of the above the same artefact, written to a file
per person, who spent, which teammate person one row per resolved person plus every unresolved identity, each with the raw identities behind it

Read the full file on GitHub · 53 lines

Files

What ships with it

3 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. 2d ago First seen · 53 lines · 103 tokens per session scan A 07f61088af0d

Subscribe to this mod's changes

01-cost is a skill published in the GitHub repository ai-driven-dev/framework (460 stars, last pushed yesterday), licensed MIT. It adds 103 tokens to every session and 732 once invoked, about $0.0005 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-09-09.

Related

Other skills, from other repositories

image-generation

Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes, products, or any visual content. Supports structured prompts and reference images for guided generation.

bytedance/deer-flow · 42 tokens

podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/deer-flow · 38 tokens

vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/deer-flow · 69 tokens

skill-reviewer

Reviews DeerFlow skill packages for readiness, triggers, safety boundaries, resources, and evidence. Invoke when users ask to audit, grade, or production-check an existing skill.

bytedance/deer-flow · 38 tokens

build-monetized-app

Use when the task is building a new app on Eliza Cloud that earns money — chat apps, agent apps, MCP-backed tools, anything that calls the cloud's chat/messages/inference endpoints on behalf of users. Covers app registration, container deploy, markup configuration, affiliate header, app charge requests, x402 payment…

elizaOS/eliza · 126 tokens

tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes, capturing pane output, and managing terminal multiplexer windows. Enables parallel coding-agent orchestration, background process management, and REPL interaction via sockets. Use when the agent needs to launch, monitor, or coordinate…

elizaOS/eliza · 87 tokens