用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/spencer-thompson/dotfiles --skill session-recall命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Design, write, and review functions for local reasoning, explicit dependencies, useful signatures, enforced invariants, and one level of abstraction. Use for function implementation, refactoring, API design, or focused function review. Do not use for broad cleanup unrelated to function boundaries.
Cut AI tells from any writing. Must always apply before a final response or external communication.
Use when using the hyprctl command or when the user asks to inspect hyprland logs, rendering or input behavior, windows, or workspaces.
正在显示 SKILL.md
| name | session-recall |
| description | Use when the user asks to inspect, recall, search, rank, or analyze recent or past Codex sessions. |
Use local Codex session data as private, read-only evidence. Identify relevant threads quickly, inspect only necessary rollout evidence, and report what happened, what remains open, and what may deserve durable memory.
--metadata-only when payload details
are unnecessary. Use --raw only when complete untouched payloads are necessary; warn that it may expose secrets,
personal data, or large outputs.Define the smallest useful scope. Honor an explicit range. Otherwise begin with the current day and relevant project, cwd, user-assigned name, or task; expand only as needed.
Capture one timezone-aware review_cutoff before discovery. Resolve the range start and relative dates in the
user's timezone, then keep the start and cutoff immutable while reviewing live threads.
Discover and rank threads through SQLite. Prefer compact output for ordinary discovery:
python3 ~/.agents/skills/session-recall/scripts/catalog_sessions.py list \
--since START_ISO --until REVIEW_CUTOFF_ISO \
--archived all --top-level-only --exclude-thread-source guardian_review \
--sort recency --limit 40 --compact
For ordinary work reviews, exclude guardian approval threads from primary discovery and workload totals. Guardian
threads currently use thread_source=guardian_review and model=codex-auto-review. Include and report them
separately when reviewing approvals, sandbox behavior, permission rules, escalations, or auto-review itself.
Prefer these signals:
--named-only --sort recency for threads the user marked as important.--git-project, --git-branch, --cwd, or --query for project and topic discovery.--family, --root-thread-id, or --children for complete thread families.--top-by-tokens or --min-tokens --sort tokens for high-workload candidates.stats for fast token, thread, family, archive, name, model, reasoning, project, branch, or month analytics.--fields only when the compact preset lacks a field needed for selection.Use catalog output as the source of thread metadata and rollout paths. Do not rescan the sessions directory to reconstruct recency, families, project identity, or cumulative thread tokens.
Use show for targeted evidence from one or more known thread IDs. Prefer --metadata compact; use
--events-only for batch event review when catalog metadata is already available. For the final assistant response
from each selected thread, use --kind assistant --tail 1 instead of loading every progress update. Use
--input-match to search complete tool inputs while keeping the default bounded previews.
Inspect selected rollout paths only when SQLite cannot answer the question:
python3 ~/.agents/skills/session-recall/scripts/catalog_sessions.py list \
--since START_ISO --until REVIEW_CUTOFF_ISO \
--git-project OWNER/REPO --exclude-thread-source guardian_review \
--sort recency --limit 20 --format paths \
| python3 ~/.agents/skills/session-recall/scripts/inspect_sessions.py summary \
--paths-from-stdin --since START_ISO --until REVIEW_CUTOFF_ISO --aggregate --compact
Use summary for exact-range message, turn, tool, token, duration, execution overlap, command, file-change, MCP,
compaction, and replay metrics. Use repeatable --require-tool TOOL to retain only rollouts that used every named
tool inside the range.
Use events for redacted, timestamped, line-numbered evidence and targeted text matching. Use --counter-limit or
--fields when a custom bounded summary is more useful than the compact preset. Preserve the generated truncation,
distinct-count, and omitted-count fields whenever limited counters are handed off or stored.
Interpret metrics carefully:
cumulative_tokens is cumulative thread workload and is ideal for fast ranking.open_child_count reflects stored spawn-edge status. It is not proof that a child agent is still running.active_duration_ms sums recorded task durations; it excludes idle wall-clock gaps.Read narrowly. Treat output projections as presentation controls only: --compact, --fields, metadata modes,
and counter limits do not change filtering, ranking, calculations, or evidence collection. Exclude the active recall
thread or family when analyzing historical behavior.
Synthesize high-signal findings: completed work, decisions, validation, preferences, open loops, and contradictions. Own final judgment; metrics identify candidates but do not determine importance.
Before a persistent write, drift-check families active during inspection. If they advanced past the cutoff, keep the write scoped to the original snapshot or establish and state a new cutoff.
Read the CLI reference for exact presets, fields, output contracts, and redaction behavior.
Use only sections that help answer the request: Reviewed, Work Done, Observations, Improvements, Open Loops, and Memory Candidates. State the exact range or cutoff, selected thread or family count, active-family exclusion, and projects when those details affect confidence.
Do not load or update shared-memory automatically. When the user asks to pair the skills, run session recall first and
present each candidate with the claim, target, evidence, confidence, durability, and replacement or expiration
condition. Then let shared-memory accept, merge, reject, or write candidates independently. Never pass secrets.