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.
git clone --depth 1 https://github.com/johnnywuj81/tokenknowsWrote 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/commands/johnnywuj81/tokenknows/skill)<a href="https://agentmods.dev/commands/johnnywuj81/tokenknows/skill"><img src="https://agentmods.dev/badge/commands/johnnywuj81/tokenknows/skill/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/commands/johnnywuj81/tokenknows/skill"><img src="https://agentmods.dev/badge/commands/johnnywuj81/tokenknows/skill.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.00037 | $0.00275 |
| Opus 5.5 | $0.00015 | $0.00110 |
| Sonnet 5.5 | $0.00007 | $0.00055 |
| Haiku 4.5 | $0.00004 | $0.00028 |
Grade A, and why
skill 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.
What it actually says
按 tokenknows:distill skill 的标准流程,把当前 session 蒸馏成 agent_skill:
适用场景:
- session 中 Claude 解决了一个 可重复 的问题 (e.g. "如何修 React Flow MiniMap 白板")
- 用户想把这次的解决过程沉淀成下次自动调用的 skill
蒸馏出来的 SKILL.md 结构:
- frontmatter: description (含 trigger 关键词)
- 适用场景
- 核心原则
- 关键步骤
- 好例子 / 坏例子
- 相关 skill
- session 必须有明确的 "可复用工作流"; 如果只是闲聊 / 一次性问题, 拒绝并建议用 weekly_report
submit_session_eventsdistill_document(document_type="agent_skill")- 展示蒸馏出的 SKILL.md
- 询问用户是否要
cp到~/.claude/skills/<name>/SKILL.md立即生效
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 · 24 lines · 37 tokens per session scan A 958471e8c222
skill is a command published in the GitHub repository johnnywuj81/tokenknows (4 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 275 once invoked, about $0.0001 per session on Opus 5.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-08-31.
Other commands, from other repositories
deps-audit
Audit project dependencies for vulnerabilities, outdated packages, license conflicts, and supply chain risks — then provide actionable remediation strategies.
init
Initialize configurations for Supabase local development.
lians-recall
Recall current (non-stale) facts from Lians memory, optionally as-of a past date.
constraints
A command for defining a project's quality standards through a short interview and a written CONSTRAINTS.md file. It records checks, thresholds, exceptions, and commands for enforcing them.
migrate
Command "migrate" from chohra-med/expo_boilerplate, covering invocation, steps and rule.
cost-tracker
Track session costs, understand token spend, and get optimization tips.