swain-session
Installation
SKILL.md
Session
Manages session identity, preferences, and context continuity across agent sessions. This skill is agent-agnostic — it relies on AGENTS.md for auto-invocation.
Auto-run behavior
This skill is invoked automatically at session start (see AGENTS.md). When auto-invoked:
- Restore tab name — run the tab-naming script
- Load preferences — read session.json and apply any stored preferences
- Show context bookmark — if a previous session left a context note, display it
When invoked manually, the user can change preferences or bookmark context.
Session purpose text
When the operator launches with free text (e.g., swain new bug about timestamps), the launcher exports SWAIN_PURPOSE and — for runtimes that accept an initial prompt — also passes it inline as /swain-session Session purpose: new bug about timestamps.