shakestzd/contextune

Precision-tuned context engineering for Claude Code. Optimize context flow with modular plans (95% fewer tokens), parallel workflows (81% cost reduction), and zero-transformation architecture.

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

SessionStart

01

shakestzd/contextune

Hook

Runs when a session starts, executing session_start_git_context.py, context_restorer.js, session_start.js and version_checker.js via uv (4 commands). From shakestzd/contextune.

5 8mo ago A tokens not measured original MIT

UserPromptSubmit

02

shakestzd/contextune

Hook

Runs when you submit a prompt, before the agent sees it, executing context_injector.js and user_prompt_submit.py via node (2 commands). From shakestzd/contextune.

5 8mo ago A tokens not measured original MIT

PreToolUse

03

shakestzd/contextune

Hook

Runs before the agent uses a tool, executing pre_tool_use_state_sync.py, pre_tool_use_git_advisor.py and tool_router.py via uv (3 commands). From shakestzd/contextune.

5 8mo ago A tokens not measured original MIT

PostToolUse

04

shakestzd/contextune

Hook

Runs after a tool call finishes, executing contextune_plan_tracker.py, contextune_execute_tracker.py and tool_cost_tracker.py via uv (3 commands). From shakestzd/contextune.

5 8mo ago A tokens not measured original MIT

PreCompact

05

shakestzd/contextune

Hook

Runs before the context is compacted, executing context_preserver.py and compact_start.js via uv (2 commands). From shakestzd/contextune.

5 8mo ago A tokens not measured original MIT

SessionEnd

06

shakestzd/contextune

Hook

Runs when a session ends, executing session_end_recorder.py and session_end_extractor.py via uv (2 commands). From shakestzd/contextune.

5 8mo ago A tokens not measured original MIT