Davidcreador/codex-token-guard

Codex Token Guard is a local Codex plugin that reduces wasted command and tool-output tokens while preserving task-critical context.

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

UserPromptSubmit

01

Davidcreador/codex-token-guard

Hook

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.js via node. From Davidcreador/codex-token-guard.

2 2mo ago A tokens not measured original MIT

PreToolUse

02

Davidcreador/codex-token-guard

Hook

Runs before the agent uses a tool for Bash tool calls, executing pre-tool-use.js via node. From Davidcreador/codex-token-guard.

2 2mo ago A tokens not measured original MIT

PostToolUse

03

Davidcreador/codex-token-guard

Hook

Runs after a tool call finishes for Bash tool calls, executing post-tool-use.js via node. From Davidcreador/codex-token-guard.

2 2mo ago A tokens not measured original MIT

PreCompact

04

Davidcreador/codex-token-guard

Hook

Runs before the context is compacted, executing pre-compact.js via node. From Davidcreador/codex-token-guard.

2 2mo ago A tokens not measured original MIT

PostCompact

05

Davidcreador/codex-token-guard

Hook

Runs after the context is compacted, executing post-compact.js via node. From Davidcreador/codex-token-guard.

2 2mo ago A tokens not measured original MIT

Stop

06

Davidcreador/codex-token-guard

Hook

Runs when the agent finishes a response, executing stop.js via node. From Davidcreador/codex-token-guard.

2 2mo ago A tokens not measured original MIT