一键导入
odin-recall
Session history query templates and filtering rules for Odin's Step 1d Recall phase. Advisory skill — if loading fails, proceed silently.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Session history query templates and filtering rules for Odin's Step 1d Recall phase. Advisory skill — if loading fails, proceed silently.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review prompt templates, file-type classification, model selection, and reviewer launch instructions for Odin's Step 5c adversarial review.
Evidence Bundle presentation template and confidence level definitions for Odin's Step 5e. Hard dependency — if loading fails, HALT.
Cross-cutting analysis heuristics for Mimir's Pass 2 review. Loaded before running CCA checks — provides the full heuristic library plus specification-aware and dynamic analysis.
| name | odin-recall |
| description | Session history query templates and filtering rules for Odin's Step 1d Recall phase. Advisory skill — if loading fails, proceed silently. |
This skill provides SQL query templates for querying session_store during Odin's Recall phase. It is advisory — if loading fails, Step 1d should note the failure silently and proceed. Do not HALT.
All queries run against session_store (read-only). Never write to session_store.
Before running any query below, verify that session_store has the required tables. Run this check once per session — if it fails, skip all Recall queries silently and proceed to the next step.
-- database: session_store
SELECT name FROM sqlite_master WHERE type='table' AND name IN ('sessions', 'session_files', 'search_index') ORDER BY name;
Expected result: 3 rows (all table names present). If fewer than 3 rows are returned, session_store is not fully populated in this runtime — skip Recall silently. Do not log errors or warn the user; this is a known runtime limitation in some environments.
-- database: session_store
SELECT s.id, s.summary, s.branch, sf.file_path, s.created_at
FROM session_files sf JOIN sessions s ON sf.session_id = s.id
WHERE sf.file_path LIKE '%{filename}%' AND sf.tool_name = 'edit'
ORDER BY s.created_at DESC LIMIT 5;
-- database: session_store
SELECT s.id, s.summary, s.branch, s.created_at
FROM sessions s WHERE s.cwd LIKE '%{repo_path}%'
ORDER BY s.created_at DESC LIMIT 5;
-- database: session_store
SELECT content, session_id, source_type FROM search_index
WHERE search_index MATCH 'regression OR broke OR failed OR reverted OR bug'
AND session_id IN (
SELECT s.id FROM session_files sf JOIN sessions s ON sf.session_id = s.id
WHERE sf.file_path LIKE '%{filename}%' AND sf.tool_name = 'edit'
ORDER BY s.created_at DESC LIMIT 5
) LIMIT 10;
-- database: session_store
SELECT content, session_id, source_type FROM search_index
WHERE search_index MATCH '{filename}'
AND source_type IN ('checkpoint_overview', 'workspace_artifact')
LIMIT 5;
-- database: session_store
SELECT content, session_id, source_type FROM search_index
WHERE search_index MATCH 'review OR finding OR tyr OR mimir'
AND session_id IN (
SELECT s.id FROM session_files sf JOIN sessions s ON sf.session_id = s.id
WHERE sf.file_path LIKE '%{filename}%' LIMIT 5
) LIMIT 5;
Only surface findings that meet at least one criterion:
Discard stale or tangential context to avoid biasing the plan with folklore.