agentleFS
artisansplatformartisansplatform/claude-code-usage/skills/usage-pulse/SKILL.md

usage-pulse

Skill2 starsChanged 39 days agoMITView on GitHub

Quick weekly Claude Code usage pulse (deterministic numbers only, no LLM scoring) printed to the terminal and snapshotted locally. Nothing is shared.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run ${CLAUDE_PLUGIN_ROOT}/bin/ccur-collect --from <start> --to <end> --out <scratchpad>/ccur-pulse (the collector is not on PATH.

    line 11
  2. Very specific:

    No file is meant to be shared.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Weekly usage pulse

A 1-minute self-check. Deterministic only; no prompt scoring, no classification, no content.

  1. Window = the last 7 full days ending yesterday (local time). If the user passed a date range, use that instead.
  2. Run ${CLAUDE_PLUGIN_ROOT}/bin/ccur-collect --from <start> --to <end> --out <scratchpad>/ccur-pulse (the collector is not on PATH; on Windows prefix it with py -3 or python). Read only metrics.json.
  3. Print a pulse of at most 15 lines:
Claude Code pulse <start>..<end>
Active days: n/7 | Prompts: N | Sessions: N | Projects: N
Peak: <weekday> <hour> | Heavy days: n | Interruptions/100 prompts: x
Plan mode: n sessions | Delegation: n sessions | Tool errors: n
Context: median Xk per step | N prompts into 200K+ sessions | M cold resumes
Top projects: a (x%), b (y%)
Top tools: ...
vs last week: prompts +x%, active days +n, interruptions/100 [up|down]
One-line nudge: <single most useful habit change, from the numbers only>

The Context line comes from context_hygiene: X = context_per_call_tokens.median / 1000, N = long_context_prompts.count, M = cold_resume_prompts.count. Each step re-sends the whole conversation, so a falling median is the good direction; never call a long session or a high cache-read share efficient. When the numbers are high, the nudge is: start a new session (/clear or /new) when you switch task. 4. Append the headline numbers (including the three Context numbers) to ~/.claude/usage-reports/weekly/<ISO-year>-W<week>.json (create dirs as needed) so the monthly report and next week's "vs last week" line can use them. 5. No file is meant to be shared; say so if asked. Do not read sessions.jsonl or prompt_sample.jsonl; the pulse is numbers-only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.