What is daft-tokens?
daft-tokens is a Claude Code mod by zh10only1 that monochrome context-token HUD above the prompt, with a pixel-art silver Daft Punk helmet. It is listed under Cost & usage and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | zh10only1 |
| Repository | zh10only1/claude-code-mods |
| Popularity | 1 GitHub stars |
| Category | Cost & usage |
| Security | Low risk (84/100) |
| Rank | #4,543 of 9,397 Claude Code mods; #777 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-10 |
| Hooks | 7 events |
| Sees | compaction, every tool call |
| Draws on | AbovePrompt |
Is daft-tokens safe to install?
daft-tokens scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.config.list | |
$.env.get | reads env vars |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
How do I install daft-tokens?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/zh10only1/claude-code-mods claude plugin validate ./claude-code-mods/daft-tokens
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add zh10only1/claude-code-mods && claude plugin install daft-tokens@zh10only1-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs daft-tokens for you:
Install the "daft-tokens" Claude Code mod from https://github.com/zh10only1/claude-code-mods/tree/main/daft-tokens. Run claude plugin validate on it first and show me what it can access before you enable it.
More from zh10only1/claude-code-mods
This repository has 2 Claude Code mods on MCPMods.
- token-breakdown: Neon HUD above the prompt with your context window's token usage by category, plus anime colour themes and a /tokens det (Low risk)