Pinperepette/context-kernel

Task-induced context normalization for coding agents — a native Claude Code plugin. The task induces a projection; operators preserve the answer, not just shrink tokens. Deterministic, stdlib-only, 117 tests.

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

SessionStart

01

Pinperepette/context-kernel

Hook

Runs when a session starts, executing session_brief.py and ab_autoverify.py via python3 (2 commands). From Pinperepette/context-kernel.

24 1mo ago A tokens not measured copy · 72% MIT

UserPromptSubmit

02

Pinperepette/context-kernel

Hook

Runs when you submit a prompt, before the agent sees it, executing symptom_slice.py via python3. From Pinperepette/context-kernel.

24 1mo ago A tokens not measured original MIT

SessionEnd

03

Pinperepette/context-kernel

Hook

Runs when a session ends, executing session_end_snapshot.py via python3. From Pinperepette/context-kernel.

24 1mo ago A tokens not measured original MIT

PreCompact

04

Pinperepette/context-kernel

Hook

Runs before the context is compacted, executing precompact_snapshot.py via python3. From Pinperepette/context-kernel.

24 1mo ago A tokens not measured original MIT

PreToolUse

05

Pinperepette/context-kernel

Hook

Runs before the agent uses a tool for Bash, Edit, Write, MultiEdit and NotebookEdit tool calls, executing pretool_rewrite.py and charter_guard.py via python3 (3 commands). From Pinperepette/context-kernel.

24 1mo ago A tokens not measured copy · 78% MIT

PostToolUse

06

Pinperepette/context-kernel

Hook

Runs after a tool call finishes for Bash, Grep, Read, Glob, WebFetch, mcp__.* and Bash tool calls, executing compress.py, posttool_symptom.py and compact_advisor.py via python3 (3 commands). From Pinperepette/context-kernel.

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