From search-research
Run golden-case retrieval evaluation against the CHS database and report per-case + mean recall
How this skill is triggered — by the user, by Claude, or both
Slash command
/search-research:chs-evalThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Runs the golden-case retrieval evaluation against the configured CHS database.
Runs the golden-case retrieval evaluation against the configured CHS database. Reports per-case recall and mean recall. Exits nonzero when mean recall falls below the threshold — suitable for CI and manual verification alike.
/chs-eval # Uses default DB and golden_cases.jsonl
/chs-eval --db <path> # Override DB path
/chs-eval --min-recall 0.8 # Set failure threshold (default: 0.8)
/chs-eval --mode fts # FTS mode (default: fts)
P:/.data/chat_history.db).core/chs/eval/golden_cases.jsonl (or --cases override).search_fts_messages (FTS mode) or search_semantic_sessions (semantic mode)
for each case query.required_session_keys found in top-k results.--min-recall.case recall found req missing
case-001 1.000 1 1 [PASS] -
case-002 0.000 0 1 [MISS] abc123...
Cases: 26 perfect: 24 mean recall: 0.923
OK: mean recall 0.923 >= threshold 0.800
The golden cases are generated from real chat history sessions:
python -m core.chs.eval.generate_golden_cases --db <path>
Re-run when the transcript corpus changes significantly.
core/chs/eval/retrieval_eval.pycore/chs/eval/golden_cases.jsonlcore/chs/eval/generate_golden_cases.pycore/chs/eval/DURABILITY_STATUS.mdGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Reference for writing and editing skills with predictable behavior, covering invocation models, description writing, and information hierarchy.
npx claudepluginhub enduser123/search-research