usage-it SKILL.md skillA

usage-it from rshingleton/do-it is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add rshingleton/do-it/usage-it@git:20261117.eae606a

Pins git:20261117.eae606a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 19 of 19 checks passed
Kind
SKILL.md skill
Repository
rshingleton/do-it
Path
skills/usage-it/SKILL.md
Versions recorded
7
Latest version
git:20261117.eae606a, committed Nov 17, 2026
First version recorded
Oct 22, 2026
Size
5,596 bytes
Repository stars
3
License
MIT

Report token usage by agent, model, project and day as an HTML page, from the usage ledger the hooks keep.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# usage-it

Shows where tokens went: main sessions and subagents, by model and project,
over time. Read-only: it reads the ledger and writes one HTML file.

## The ledger

The `Stop` and `SubagentStop` hooks add one line per agent run to
`~/.claude/do-it/usage/<day>.jsonl` (override with `DO_IT_USAGE_DIR`). Raw
days are kept 30 days (`DO_IT_USAGE_DAYS`); older days roll up into
`rollup.jsonl`, one row per day, agent, model and project, kept 365 days
(`DO_IT_USAGE_ROLLUP_DAYS`). Tokens only, no dollar estimate: prices change.
The OpenCode plugin adds the same rows from its events (`scripts/opencode.mjs`).
`scripts/ledger.mjs` owns reading, writing and pruning; do not edit the files.

## 1. Fill the ledger if it is empty

The hooks write each run as it stops, and the report re-imports the last two days
itself, so a run in progress or on a host without the hooks is still counted.

Without hooks installed, or on a first run, the ledger has nothing. Run:

```bash
node <this skill's directory>/scripts/usage.mjs --import --days 30 --by agent
```

It backfills from the transcripts Claude Code already keeps and prints a
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_cnx2i3aqp2sqvj5x/ef1f0791afac015c3e5ee192079972e31aba0730d11880b872e0d394e13da193.json

Then /plugin install usage-it@markdownregistry-cnx2i3aqp2sqvj5x in Claude Code. It installs git:20261117.eae606a, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add rshingleton/do-it/usage-it@sha256:ef1f0791afac015c

The line at the top of this page pins the label git:20261117.eae606a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cnx2i3aqp2sqvj5x.svg)](https://markdownregistry.com/a/art_cnx2i3aqp2sqvj5x)

2 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in rshingleton/do-it/usage-it since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of usage-it from somewhere else? Ask it: where did my usage-it come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 7 versions of this file, between Oct 22, 2026 and Nov 17, 2026, about one every 4 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261117.eae606a latest2026-11-17 eae606a 5,596 BA view · diff
git:20261117.abc37b42026-11-17 abc37b4 5,524 BA view · diff
git:20261031.21d36fd2026-10-31 21d36fd 5,528 BA view · diff
git:20261031.1e6b3cc2026-10-31 1e6b3cc 5,109 BA view · diff
git:20261026.53764812026-10-26 5376481 4,972 BA view · diff
git:20261022.899b97f2026-10-22 899b97f 4,891 BA view · diff
git:20261022.d8f5ae42026-10-22 d8f5ae4 4,114 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  19 of 19 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5596 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

rshingleton/do-it · 3 stars · license MIT · pushed 2026-11-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cnx2i3aqp2sqvj5x
GET https://markdownregistry.com/api/v1/resolve?ref=rshingleton/do-it/usage-it
GET https://markdownregistry.com/api/v1/blob/ef1f0791afac015c3e5ee192079972e31aba0730d11880b872e0d394e13da193
GET https://markdownregistry.com/api/v1/list?kind=skill

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from rshingleton/do-it

do-it Plugin marketplace
rshingleton/do-it · .claude-plugin/marketplace.json · 1 plugin: do-it
git:20261019.a5b189e · audit A · 3 stars
AGENTS.md AGENTS.md file
rshingleton/do-it · AGENTS.md
git:20261120.a693330 · audit A · 3 stars
CLAUDE.md CLAUDE.md file
rshingleton/do-it · CLAUDE.md
git:20261019.a5b189e · audit B · 3 stars
DESIGN.md@docs DESIGN.md file
rshingleton/do-it · docs/DESIGN.md
git:20261120.2022c5f · audit A · 3 stars
build-it SKILL.md skill
rshingleton/do-it · skills/build-it/SKILL.md · Build an approved do-it plan test-first at its agreed seams, leaving every change uncommitted in the working tree; runs…
git:20261120.706e6fd · audit A · 3 stars
debug-it SKILL.md skill
rshingleton/do-it · skills/debug-it/SKILL.md · Find and fix the cause of a hard bug or performance regression by first building a command that reproduces it on…
git:20261117.cd9ea19 · audit A · 3 stars
deepen-it SKILL.md skill
rshingleton/do-it · skills/deepen-it/SKILL.md · Find places where the code's structure makes change hard, show them as a visual report, then work through the one you…
git:20261119.a134ec6 · audit A · 3 stars
design-it SKILL.md skill
rshingleton/do-it · skills/design-it/SKILL.md · The shared vocabulary and principles for shaping modules so a lot of behaviour sits behind a small, testable interface…
git:20261114.1a9b694 · audit A · 3 stars
do-it SKILL.md skill
rshingleton/do-it · skills/do-it/SKILL.md · Size a piece of work and carry it from request to ship, running only the steps its size needs; also resumes an existing…
git:20261117.cd9ea19 · audit A · 3 stars
doubt-it SKILL.md skill
rshingleton/do-it · skills/doubt-it/SKILL.md · Adversarially check a claim before acting on it, using a fresh-context subagent that tries to prove it wrong. Use when…
git:20261031.1b84058 · audit A · 3 stars
finish-it SKILL.md skill
rshingleton/do-it · skills/finish-it/SKILL.md · Carry an approved roadmap through scope, build, prove and ship slice by slice with no user turn, parking what cannot…
git:20261118.a9c41a0 · audit A · 3 stars
grill-it SKILL.md skill
rshingleton/do-it · skills/grill-it/SKILL.md · Interview the user round by round until a plan, decision or idea is fully understood, asking only the decisions they…
git:20261114.8d51e96 · audit A · 3 stars

Every file in rshingleton/do-it

Browse by kind, by grade A, or by owner.