
dialogue-save-session
by pidster
SKILL.md
name: dialogue-save-session description: Save session context for continuity across sessions. Creates a per-user session memo capturing active focus, recent work, and open questions. Triggers on "save session", "end session", "session memo", "remember context".
Skill: Save Session
Saves session context to a per-user session memo file for continuity across Claude sessions. This implements the TMS externalisation operation.
When to Use
- At the end of a work session to preserve context
- Before switching to a different task or project
- When you want the next session to have context about current work
How It Works
Session memos are stored per-user at .dialogue/session-memo-{username}.yaml. This supports multi-user workflows where each developer has their own session state that doesn't conflict with others.
At session start, the Dialogue Framework hook reads your session memo and includes key context in the system message.
Schema
# Session memo for {username}
username: "pidster"
last_session: "2026-01-16T18:30:00Z"
active_focus: "FW-017: Merge-Friendly Artifact Structure"
recent_tasks:
- "FW-017" # Tasks worked on
recent_decisions:
- "DEC-20260116-180240" # Decisions made
open_questions:
- "How should session memos handle task completion?"
notes: |
Optional freeform notes about session context.
To Save Session Context
Gather the following information and write to .dialogue/session-memo-{username}.yaml:
- Determine username: Use
$USERenvironment variable - Identify active focus: Current task or primary activity
- List recent work: Task IDs worked on, decisions made
- Note open questions: Unresolved questions or blockers
- Write file: Create/update
.dialogue/session-memo-{username}.yaml
Example
# Determine username
USERNAME="${USER:-$(whoami)}"
# Write session memo
cat > .dialogue/session-memo-${USERNAME}.yaml << 'EOF'
username: "pidster"
last_session: "2026-01-16T18:30:00Z"
active_focus: "FW-017: Merge-Friendly Artifact Structure"
recent_tasks:
- "FW-017"
recent_decisions:
- "DEC-20260116-180240"
open_questions:
- "How should session memos handle multi-session context?"
notes: |
Completed per-file migration. Next: test with new session.
EOF
Multi-User Workflow
Each user has their own session memo file:
session-memo-pidster.yamlsession-memo-alice.yamlsession-memo-bob.yaml
This avoids merge conflicts in distributed VCS workflows - session state is personal context, not shared state.
Relationship to Other Skills
| Skill | Purpose |
|---|---|
dialogue-manage-tasks | Track shared task state |
dialogue-log-decision | Record shared decisions |
dialogue-save-session | Preserve personal session context |
Session memos reference tasks and decisions but contain personal context about what you were working on, not the shared project state.
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です