cdeust/session-optimizer

Cross-platform prompt refinement for Codex, Gemini CLI, and Claude Code, plus Claude-native context guard and telemetry statusline plugins. Portable refine-gate binds vague prompts to evidence; optional hooks enforce checkpoints, track subagent spend, and surface context and quota telemetry.

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

session-optimizer

02

cdeust/session-optimizer

Plugin Claude Code

DEPRECATED meta plugin (v2.0.0): session-optimizer split into three independently installable plugins — context-guard (Stop-hook context budget + memory-writer checkpoint subagent + subagent spend tracker), refine-gate (UserPromptSubmit prompt-binding gate + /refine skill), and statusline (multi-line status bar +…

1 7d ago A tokens not measured original MIT

context-guard

03

cdeust/session-optimizer

Plugin Claude Code

Context-budget guard for long Claude Code sessions: a Stop hook enforces a per-model checkpoint protocol (mechanical stub + budgeted memory-writer subagent), and a SubagentStop tracker surfaces true session spend (main thread + subagents). Default protocol uses only vanilla Claude Code; a scoped memory layer is…

1 7d ago A tokens not measured original MIT

refine-gate

04

cdeust/session-optimizer

Plugin Claude Code

Prompt-binding gate for Claude Code: a UserPromptSubmit hook detects prompts carrying unbound references ("the SSE solution", "like before", "still broken") or ungrounded work requests, and injects the /refine procedure — build a binding table with evidence, separate symptom from goal, select an execution strategy…

1 7d ago A tokens not measured original MIT

statusline

05

cdeust/session-optimizer

Plugin Claude Code

Multi-line Claude Code statusline with a discrete heat-track context bar tied to per-model checkpoint thresholds, one deduplicated cost ledger covering subagent spend, per-session telemetry (tok/s, compactions, prompt-cache countdown), rate-limit gauges with burn-rate pacing, and terminal-width fitting. Words, not…

1 7d ago A tokens not measured original MIT