TraceDecay Dev: Evaluating Hook Hints
SkillAI & modelsTraceDecay Dev: Use when auditing, testing, debugging, or improving TraceDecay hook hint behavior, especially Codex/Claude/Cursor hint injection, verbosity, repetition, dedupe, token efficiency, real transcript examples, synthetic scenarios, or `src/hooks/tool_hints*` changes.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the TraceDecay Dev: Evaluating Hook Hints skill
What this skill tells your AI
The instructions your AI receives, as published by scriptedalchemy/tracedecay in .claude/skills/evaluating-hook-hints/SKILL.md and read by ahel’s review.
Use this skill for TraceDecay repo development only. These are repo-local dev instructions (.claude/skills / .codex/skills), not plugin-distributed skills.
Workflow
- Start with TraceDecay context for
src/hooks/tool_hints.rs,src/hooks/tool_hints/classifiers.rs,src/hooks/tool_hints/evals.rs, host adapters insrc/hooks/{codex,claude,cursor}.rs, and recent transcript evidence. - Render model-visible hook input when judging verbosity:
scripts/render-codex-hook-inputs.py --glob '/home/zack/.codex/sessions/**/*.jsonl' --all --limit 5 --max-chars 800. - Run deterministic evals before behavior edits:
cargo test --lib hooks::tool_hints::evals -- --nocapture. - Score hints on four axes: relevance, silence when no hint is needed, compactness, and rotation/dedupe after the model has seen a category.
- Prefer tightening classifiers, budgets, or dedupe over adding broad static instructions. Use bundled skills and tool discovery as the durable guidance layer.
- After edits, run focused host tests for the touched adapter:
cargo test --lib hooks::tool_hints:: hooks::codex::tests::for Codex prompt hints, or the matching Claude/Cursor hook tests.
Acceptance Rules
- Hints should be contextual and short; avoid generic TraceDecay availability boilerplate.
- Real-world transcript cases and synthetic cases should both be represented in
src/hooks/tool_hints/evals.rs. - A normal user prompt should not be wrapped into a noisy
UserPromptSubmit hook (completed)model-visible user message. - No hint is a valid outcome when the request does not need TraceDecay guidance.
- Repeated native behavior should get at most one initial hint plus one later escalation per category, bounded by the session budget.
References
Read references/hint-eval-signals.md when deciding whether a scenario belongs in evals or in an adapter-specific integration test.
Signals
- GitHub stars
- 73
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
evaluating-hook-hints- Source
- github.com/scriptedalchemy/tracedecay