orient-session
Use when the user wants to continue prior work, resume a topic, or pick up where they left off on a recurring subject. Recalls prior session context before opening a new session. Activates on "continue work on X", "resume research on X", "pick up where I left off on X", or "start session with context on X".
- License 许可
- MIT
- 最近更新
- 2026-03-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- orient-session
- version
- 1.0.0
- description
- Use when the user wants to continue prior work, resume a topic, or pick up where they left off on a recurring subject. Recalls prior session context before opening a new session. Activates on "continue work on X", "resume research on X", "pick up where I left off on X", or "start session with context on X".
- disable-model-invocation
- true
02 资源文件 2
- 参考文档reference/eval-research.md6.1 KB
- 参考文档references/recall-workflow.md3.5 KB
03 SKILL.md 正文
Recall-Driven Session Start
Load prior session context on a topic before opening a new session. This skill
prevents re-doing work by surfacing what prior sessions covered, then starting
grounded in that context. Use this when resuming — not for cold-start sessions
(use ztl:session for that).
Iron Laws
Present prior context summary before opening any session. Never call
session_start without first showing the user what prior sessions found.
The checkpoint in step 5 is not optional.
Check result.success after every MCP call. If recall_topic fails,
stop and report the error — do not start a session on incomplete recall.
Workflow
-
Read
ztlctl://sessions/recent— load the last 5 sessions. Scan topics and timestamps for relevance to the user's stated subject. -
recall_topic(query="<topic>")— search session log entries for sessions matching the topic. Returns matching sessions with note IDs, timestamps, and relevance scores. -
For the top relevant sessions: extract
note_ids; callget_document(content_id="<id>")on the highest-scored and most recently modified notes to rebuild context. Parallel fetches are acceptable. -
Summarize prior context: "Found N prior sessions on '<topic>'. Key notes: [titles]. Last worked on: [date]. Main findings: [summary of note bodies from step 3]."
-
Present summary and ask user to confirm continuation. Do not open the session until the user confirms. Ask: "Continue from this context, or start fresh?" Stop here until the user responds.
-
session_start(topic="<topic> — continued")— open a new session grounded in prior context. The " — continued" suffix creates a session lineage thatrecall_topiccan trace in future runs. Checkresult.success. Report: session ID, prior session count, key note IDs loaded.
Path detection
This skill is for RESUMING prior work on a recurring topic. If the user is
starting work on a topic for the first time (no prior sessions), use ztl:session
instead — orient-session adds recall overhead with no benefit on a fresh topic.
If recall_topic returns no matching sessions, report: "No prior sessions found
on '<topic>'. Suggest using ztl:session for a clean start."
See references/recall-workflow.md for sessions/recent resource format,
recall_topic output, and continuation pattern details.
04 同仓库更多 Skills
vault-methodology
Use when working in a ztlctl vault — creating notes, organizing knowledge, tagging, linking, or making decisions about content types and structure. Activates for any knowledge management task.
synthesize
Use when the user wants to synthesize scattered notes into a unified artifact, consolidate knowledge on a topic, connect existing notes, find structural gaps, or create a synthesis note. Activates on "synthesize", "consolidate", "connect my notes on X", "summarize what I know about X", "find gaps in X", or "create synthesis".
session
Use when the user wants to start, begin, or open a work session, OR close, end, or finish an active session. Manages the full session lifecycle: pre-flight checks, polaris alignment, session start, and session close with enrichment pipeline.
session-workflow
Use when starting, running, or closing research sessions. Guides structured knowledge capture workflows: start → capture → synthesize → close.
review-triage
Use when the user asks to review the work queue, triage pending items, clear the backlog, or find out what needs attention in the vault. Surfaces prioritized actionable items and batch-processes approved updates.
review-contradictions
Use when the user wants to review conflicting notes, find inconsistencies in the vault, check for contradictions between knowledge claims, or inspect semantically-close notes that may conflict. Runs the per-pair evaluation loop to surface genuine contradictions and dismiss false positives.