toktrack: Skill for Claude Code

.claude/skills/clarify/SKILL.md

clarify is a skill for Claude Code from mag123c/toktrack. It costs 43 tokens per session (1,268 once invoked), scanned A, original, MIT.

A requirements-clarification workflow that adjusts how deeply it investigates a task. It asks focused questions for simple work and creates a fuller exploration, draft, and plan when important details remain unclear.

In plain words
What is it for?
Use it before implementation to expose missing requirements, record assumptions and decisions, and produce a plan when the task is complex.
Why use it?
It reduces the risk of implementing the wrong behavior because requirements, document authority, or decisions were ambiguous.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

This is mag123c/toktrack's own configuration. It tells Claude Code how to work on toktrack itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything toktrack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mag123c/toktrack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mag123c/toktrack/main/.claude/skills/clarify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mag123c/toktrack

Made for: Claude Code.

Wrote 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.

agentmods badge for clarify

README.md
[![agentmods](https://agentmods.dev/badge/skills/mag123c/toktrack/clarify.svg)](https://agentmods.dev/skills/mag123c/toktrack/clarify)
Your own site
<a href="https://agentmods.dev/skills/mag123c/toktrack/clarify"><img src="https://agentmods.dev/badge/skills/mag123c/toktrack/clarify.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01268
Opus 5 $0.00022 $0.00634
Sonnet 5 $0.00009 $0.00254
Haiku 4.5 $0.00004 $0.00127

Measured 7d ago against content hash 84c68d7ef5ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

clarify 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 7d 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.

.claude/skills/clarify/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/clarify — Adaptive Requirements Clarification

Chain (MUST)

Previous Current Next
Session start /clarify Present PLAN inline → /implement

Core Model

/clarify → Measure complexity → Clear enough?
                                ├─ Yes → Present PLAN inline → /implement
                                └─ No  → Deeper clarify (explore, analyze, DRAFT...)
                                         → Re-measure → Repeat

Exit condition: "Is this enough info to implement?" — Critical Unknown=0 + remaining items are made visible (Provenance).


Reference Files (load as needed — chaining)

When File
Tagging provenance on key decisions/assumptions / probe decisions references/provenance.md
Pre-PLAN user confirmation references/checkpoint.md
When document authority/reading order is unclear references/doc-roles.md
Full Deep path procedure deep/DEEP.md
PLAN/DRAFT structure (Lite/Full + Clarify Verdict) templates/

Inline essentials only: probe-don't-tag (if cheaply verifiable, measure instead of tagging), PLAN=intent · WRAP/DECISIONS=fact, do not hide inferences. Details in the references above.


Step 0: Route — Complexity Assessment

Measure complexity internally upon receiving request (do not expose to user).

Complexity Signals

Signal LOW HIGH
Request length Short and specific Long or ambiguous
Keywords "add", "fix", "change" "design", "migration", "from scratch"
Uncertainty None "not sure", "how should I"
Impact scope Single file/module Cross-cutting, multiple services
Risk Low (UI, text) High (DB, auth, breaking API)
Existing patterns Clearly exist None or unfamiliar stack
  • LOW → Shallow Path (completed within this file)
  • HIGH → Deep Path (see deep/DEEP.md)
  • Ambiguous → Start Shallow, monitor escalation conditions

Read the full file on GitHub · 157 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 7d ago First seen · 157 lines · 43 tokens per session scan A 84c68d7ef5ae

Subscribe to this mod's changes

clarify is a skill published in the GitHub repository mag123c/toktrack (188 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 1,268 once invoked, about $0.0002 per session on Opus 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-30.