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
1mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

SessionStart

01

Kolikkii/token-razor

Hook

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

1 1mo ago A tokens not measured original MIT

UserPromptSubmit

02

Kolikkii/token-razor

Hook

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

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

PreToolUse

03

Kolikkii/token-razor

Hook

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

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

PostToolUse

04

Kolikkii/token-razor

Hook

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

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

PostCompact

05

Kolikkii/token-razor

Hook

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

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

Stop

06

Kolikkii/token-razor

Hook

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

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