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.
npx skills add CodeShuX/tokenwise --skill summarygit clone --depth 1 https://github.com/CodeShuX/tokenwiseWrote 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.
[](https://agentmods.dev/skills/codeshux/tokenwise/summary)<a href="https://agentmods.dev/skills/codeshux/tokenwise/summary"><img src="https://agentmods.dev/badge/skills/codeshux/tokenwise/summary/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.
<a href="https://agentmods.dev/skills/codeshux/tokenwise/summary"><img src="https://agentmods.dev/badge/skills/codeshux/tokenwise/summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.00724 |
| Opus 5.5 | $0.00024 | $0.00290 |
| Sonnet 5.5 | $0.00012 | $0.00145 |
| Haiku 4.5 | $0.00006 | $0.00072 |
Grade A, and why
summary 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 1mo 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.
This is a copy
91% identical to CodeShuX__tokenwise — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/tokenwise:summary — Multi-session trend report
Aggregate .tokenwise/log.ndjson over a time window.
Parse $ARGUMENTS
--week(default) — last 7 days--month— last 30 days--all— entire log--days <N>— last N days--out <path>— write the report to a markdown file instead of stdout--json— output JSON instead of text
Steps
-
Read
./.tokenwise/log.ndjson(or the path the user provides) -
Filter entries to the time window:
- Compute cutoff:
now - <days>*86400 - Keep entries where
ts > cutoff
- Compute cutoff:
-
Aggregate:
- Total: sessions (unique session_id), tasks, total cost, baseline cost, savings
- Per model: task count, cost, % of total
- Per task_class (
mechanical|execution|review|planning): task count, avg cost, dominant model - Trend (only for
--weekor--days <≤14>): per-day cost + savings bar chart in plain text
-
Print:
TokenWise Summary — last <N> days
==================================
Sessions: <count>
Tasks routed: <count>
Total spent: $<total>
Baseline: $<baseline>
Savings: $<savings> (<pct>%)
Per model:
Haiku <count> tasks $<cost> (<pct>%)
Sonnet <count> tasks $<cost> (<pct>%)
Opus <count> tasks $<cost> (<pct>%)
Fable <count> tasks $<cost> (<pct>%)
Top task classes:
<class> <count> tasks avg cost $<avg> model: <dominant>
...
Daily trend (cost):
Mon ███████░░░ $4.21
Tue ███░░░░░░░ $1.82
Wed ████████░░ $5.04
...
-
If
--out <path>was provided, write the markdown version of the report to that path. Use a proper markdown table for the trend section. -
If
--json, dump the aggregated data structure as pretty-printed JSON.
Notes on small log files
- If <2 sessions in the window: print the report but add
Note: too few sessions for meaningful trend data. - If log file is empty/missing: print the same "No TokenWise log found" message that
/tokenwise:reportuses. - Omit any "Per model" row whose count is 0 for the window — Fable's row will legitimately be absent for most users most of the time.
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.
- 1mo ago First seen · 74 lines · 0 tokens per session scan A 593be973f66e
summary is a skill published in the GitHub repository CodeShuX/tokenwise (3 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 724 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to CodeShuX__tokenwise, differing in 4 lines, and is treated as a copy.
Other skills, from other repositories
social-post
A workflow for planning, writing, publishing, and evaluating social-media posts in the user's established voice. It covers Facebook, Instagram, YouTube, Threads, and X, including selected comment operations.
socialpost
A set of instructions for planning, writing, and revising posts for Facebook, Instagram, Threads, YouTube, and X. It also covers matching an author's style and reviewing post performance evidence.
avoid-ai-design
Audit and rewrite frontend UI to remove generic AI design patterns ("AI slop"), both the first-order defaults (purple gradients, Inter, a centered hero over three cards, untouched shadcn) and the second-order "tasteful AI" ones (cream with terracotta, near-black with acid green, all-caps mono chrome, one accented…
comfyui
Drive a local ComfyUI install for image, video, and audio generation via its HTTP API. Use WHENEVER generating, rendering, or editing images/video/audio/hero assets with ComfyUI, Z-Image, Ideogram, FLUX, LTX, Wan, or when building, parameterizing, or running ComfyUI workflows. Covers the API client, workflow JSON…
anydesign
Extract the design of a screenshot, website URL or Figma file into a design.md with tokens, components, layout and brand rules, or copy one element (navbar, card, illustration) into an element.md with a rebuild or image-generation prompt. Use when the user wants to document, replicate, audit or reverse-engineer a…
hue
Meta-skill that generates new design language skills. Works on Claude Code and Codex. Use when the user says 'create a design skill', 'generate design language', 'new design system skill', 'design skill inspired by X', 'design skill from this screenshot', '/hue', or 'use hue'. Also triggers for 'remix my design skill'…