원클릭으로
session-mining
Use when recovering decisions or context from conversation history: session log navigation, transcript delegation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when recovering decisions or context from conversation history: session log navigation, transcript delegation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when grilling should be grounded primarily in project artifacts. Loads `/grill`, checks project vocabulary and prior decisions first, and spawns bounded explorers when the answer should come from docs.
Load for large human-facing outputs: reports, docs, multi-section explanations, artifacts. Choose the right form for each beat (prose, diagram, table, mockup) and put the answer first, depth behind it. If the medium allows, use progressive disclosure.
Use when deciding where knowledge goes or reading/writing durable docs: AGENTS.md, .context/, KB, docs/, and work directories.
Anchor work in a work item: artifacts on disk, not in context.
Investigate and engage concurrently: don't block on evidence before surfacing your read.
Use when exploring or changing the codebase: read AGENTS.md first, use .context/CONTEXT.md for detail, keep intent docs succinct.
| name | session-mining |
| type | reference |
| description | Use when recovering decisions or context from conversation history: session log navigation, transcript delegation. |
| model-invocable | true |
Design decisions, rejected alternatives, and discovered constraints often live in conversation instead of code or docs. Compaction makes that context expensive to recover later, so mine it before the next implementation or documentation step starts.
Start from the top-level conversation. $MERIDIAN_CHAT_ID points to the primary session at the root of the chat tree, regardless of how deep in the spawn tree you are. That root context holds the primary's decisions and framing: usually the highest-leverage read.
Use a recent-context read first, then widen or anchor only if needed:
meridian session log "$MERIDIAN_CHAT_ID" --tail 20
Bare meridian session log "$MERIDIAN_CHAT_ID" reads the last 5 interaction
entries from the current segment with safe previews. Navigation is
segment-local by default: --from/--before/--around are ordinals inside
the selected segment, defaulting to the current one. Entry 0 of any segment
is its setup slot (prologue/handoff); reach it with --from 0 --limit 1. Use
--segment previous|current|N to switch segments, --full for the full
selected segment (entry 0 included), --no-truncate for complete content, and
--around N --context M for a deterministic window around a known entry.
Reach for --global only when you need one flat stream across all segments
(every segment's entry 0 included, with unique global ordinals starting at 0).
It conflicts with --segment and requires --from/--before/--around. Prefer
segment-local navigation: it stays stable across compactions.
Search instead of paging when you know what you're looking for:
meridian session search "decision text" "$MERIDIAN_CHAT_ID"
meridian session search "auth" --work <work-id> # scope to a work item
meridian session search "shape" --workspace # current project + workspace
Each hit prints a deterministic Open: command: run it to jump straight to
the entry instead of recomputing windows.
When the question spans long histories or multiple sessions, spawn @session-miner for transcript mining and synthesis. That keeps your context window focused on decisions instead of raw transcript paging.
meridian spawn -a session-miner \
--prompt-file session-mine.md
If you are the @session-miner, mine directly rather than spawning recursively.
When work spans interruptions, reopenings, or multi-day execution, list all related sessions before mining. Reading only the current session misses prior decisions.
meridian work sessions <work_id> --all
Skip mining if the spawning prompt already includes the needed rationale, or if current design/plan artifacts already capture the decisions you need. Skim artifacts first, and mine only the gaps.