Pi Spend
Read-only estimate of Pi model cost by provider and model for today, this week, this month, and all recorded history, separating metered credit usage from flat-rate subscription usage.
Install
npx skills add flurdy/agent-skills --skill pi-spendgit clone --depth 1 https://github.com/flurdy/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/pi-spend ~/.claude/skills/pi-spendPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Pi Spend Answer "what have my metered models cost me lately" from Pi's own session telemetry. Periods are today, the current week (Monday start), the current calendar month, and all recorded history, all in the machine's local timezone. ## Usage ```text /pi-spend # all four periods, every provider and model /pi-spend --metered-only # show only responses classified as metered /pi-spend --period today # single period; repeatable /pi-spend --json # normalized schema v2 JSON /pi-spend --billing-policy PATH # use another effective-dated local policy /pi-spend --router-config PATH # explicit legacy current-policy projection ``` Resolve `scripts/pi_spend.py` relative to this `SKILL.md` and run it with the user's arguments: ```bash /path/to/pi-spend/scripts/pi_spend.py --metered-only ``` Do not substitute ad-hoc transcript greps or provider billing calls for the collector. ## Output contract Paste the collector's complete stdout verbatim in a fenced code block, even when the tool card already shows it. Do not summarize, reformat, or truncate the table. Use a `json` fence for `--json` and a plain-text fence otherwise. ## Analysis contract After the verbatim block, add two to four bullets, at most 120 words: - name the largest metered rows for the requested period and what drove them, distinguishing cache-read volume from fresh input;
Details
- Skill name
pi-spend- Repository
- flurdy/agent-skills
- Path
skills/pi-spend/SKILL.md- License
- MIT
- Repo updated
- 17 November 2026
FAQ
What does the Pi Spend skill do?
Read-only estimate of Pi model cost by provider and model for today, this week, this month, and all recorded history, separating metered credit usage from flat-rate subscription usage.
How do I install the Pi Spend skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add flurdy/agent-skills --skill pi-spend. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Pi Spend popular?
It lives in flurdy/agent-skills, which has 9 GitHub stars and 0 forks.
Related skills
Architect
9flurdy/agent-skills
Architecture and implementation planning gate for complex or high-blast-radius work. Produces evidence-backed decisions, reviewable slices, acceptance evidence, and conditional human review ownership without editing code.
Artifact Hygiene
9flurdy/agent-skills
Run a local-only, read-only advisory audit of publishable working-tree files and unpublished branch history with redaction-safe findings.
Backlog Groom
9flurdy/agent-skills
Auto-detects workspace unfinished backlogs across unique stores; otherwise local open beads. Flags thin prose, missing labels, drift, lifecycle and duplicates. Report-only; mutations need approval, destructive ones individually.
Plan Day
9flurdy/agent-skills
Render today's plan from a My PA workspace — ranked Jira, Trello, Beads and Thoughtbox items assigned to work, project-session, evening or skip blocks, flagged when delegable to an unattended agent session, written to a dated ephemeral plan file.
Peer Session
9flurdy/agent-skills
Ask or instruct an existing live agent session through native Claude Code messaging or Orca, locally or remotely. Requires exact recipient/message approval and correlated evidence; no automatic retries, transport switching, spawning or queueing.
Prompt Patterns
9flurdy/agent-skills
Find recurring substantial prompts in local Pi and Claude Code history and suggest reusable prompt-template drafts; metadata-first, redacted, bounded and read-only.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.