Kolikkii/token-razor

Local Codex plugin that deterministically bounds noisy tool output before it enters model context. Recoverable originals, no model calls, no telemetry.

1Stars on the repository
7Mods indexed here, across every type
2mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

SessionStart

01

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo ago A tokens not measured original MIT

UserPromptSubmit

02

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo ago A tokens not measured copy · 89% MIT

PreToolUse

03

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo ago A tokens not measured copy · 88% MIT

PostToolUse

04

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs after a tool call finishes, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo ago A tokens not measured copy · 89% MIT

PostCompact

05

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs after the context is compacted for manual and auto tool calls, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo ago A tokens not measured copy · 86% MIT

Stop

06

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs when the agent finishes a response, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo ago A tokens not measured copy · 86% MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: