From total-recall
Study files and generate semantic trigger phrases by spawning a researcher agent that samples model associations and finds convergent patterns. Supports model-specific triggers via --models flag.
How this skill is triggered — by the user, by Claude, or both
Slash command
/total-recall:scanThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scan one or more files to generate training-data-resonant trigger phrases. Each file is studied by 5 independent agents per target model; a research agent identifies convergent patterns to produce the most reliable semantic handle for each model.
Scan one or more files to generate training-data-resonant trigger phrases. Each file is studied by 5 independent agents per target model; a research agent identifies convergent patterns to produce the most reliable semantic handle for each model.
Triggers are model-scoped — different models have different internal lookup keys. Specify which models your agents use so triggers are generated for the right audience.
--models <list>: Comma-separated list of target models (e.g., --models sonnet,opus). These are the models your agents run on. Default: sonnet**/*.{ts,tsx,js,jsx,py,go,rs,md,json,yaml,yml,sh,sql,css,scss,html,svelte,vue}node_modules/, dist/, build/, .git/, *.lock, *.min.*Spawn the researcher agent (use the Agent tool with subagent_type set to total-recall:researcher). Provide it with the resolved file list and target models:
Generate trigger phrases for these files.
Target models: <comma-separated model list>
Files:
<list each absolute file path, one per line>
The researcher will spawn 5 study agents per model per file and perform per-model convergence analysis.
Read .claude/triggers.json (create if it doesn't exist with {"version": 2, "triggers": {}}).
For each file result from the researcher, merge into the triggers object using the model-scoped format:
{
"version": 2,
"triggers": {
"src/auth/middleware.ts": {
"models": {
"sonnet": {
"phrase": "jwt route authentication guard",
"samples": ["all", "five", "raw", "phrases", "..."],
"convergence": ["jwt", "route", "auth"],
"confidence": 0.90,
"phases": 1
},
"opus": {
"phrase": "jwt bearer token route guard",
"samples": ["all", "five", "raw", "phrases", "..."],
"convergence": ["jwt", "bearer", "route", "guard"],
"confidence": 0.98,
"phases": 1
}
},
"crossModelTerms": ["jwt", "route"],
"scannedAt": "2026-04-01T10:00:00.000Z"
}
}
}
Use relative paths (from project root) as keys. When adding new model results to a file that already has triggers for other models, merge into the existing models object — do not overwrite other models' triggers.
After storing results, invoke the total-recall:index skill to rebuild the master word index from all triggers.
Display results as a table:
Target models: sonnet, opus
File | Model | Trigger Phrase | Confidence
--------------------------- | ------ | ------------------------------ | ----------
src/auth/middleware.ts | sonnet | jwt route authentication guard | 0.90
src/auth/middleware.ts | opus | jwt bearer token route guard | 0.98
src/db/connection.ts | sonnet | database connection pool mgmt | 0.85
src/db/connection.ts | opus | database pool lifecycle rules | 0.95
Cross-model terms: jwt, route, database, pool
If any file had low confidence (< 0.6), note it and suggest rescanning or model escalation.
If .claude/triggers.json has "version": 1 (old format with flat phrases), the scan will overwrite entries for scanned files with the new model-scoped format. Unscanned files retain the old format until re-scanned.
npx claudepluginhub brewpirate/zen-flow --plugin total-recallStructured, cited extraction of insights and context from local documents and project knowledge. Writes a scan plan, parallel-subagent findings, and a cited synthesis report to disk — never inline prose.
Checks NL artifacts (skills, agents, prompts) for anti-patterns like vague triggers, prohibitions without alternatives, oversized skills, and monolithic prompts. Use when authoring or reviewing files.
Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, 15+ others), synthesizes unified guidance, and consolidates into AGENTS.md. Useful for codebase reviews and new projects.