TraceDecay Dev: Evaluating Hook Hints

SkillAI & models

TraceDecay 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.

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

  1. Start with TraceDecay context for src/hooks/tool_hints.rs, src/hooks/tool_hints/classifiers.rs, src/hooks/tool_hints/evals.rs, host adapters in src/hooks/{codex,claude,cursor}.rs, and recent transcript evidence.
  2. 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.
  3. Run deterministic evals before behavior edits: cargo test --lib hooks::tool_hints::evals -- --nocapture.
  4. Score hints on four axes: relevance, silence when no hint is needed, compactness, and rotation/dedupe after the model has seen a category.
  5. Prefer tightening classifiers, budgets, or dedupe over adding broad static instructions. Use bundled skills and tool discovery as the durable guidance layer.
  6. 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