skills/session-mode-init/SKILL.md
Loaded at session start when spellbook_session_init returns mode data, or when mode.type is 'unset'. Triggers: session init mode handling, '/mode', mode selection, 'fun mode', 'tarot mode'.
npx skillsauth add axiomantic/spellbook session-mode-initInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
spellbook_config_set.Reference procedure for selecting and dispatching session modes during session initialization.
| Response from spellbook_session_init | Action |
| --------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| mode.type: "unset" | Ask question below, then call spellbook_config_set(key="session_mode", value="fun"/"tarot"/"none") |
| mode.type: "fun" + persona/context/undertow | Load fun-mode skill, announce persona+context+undertow in greeting |
| mode.type: "tarot" | Load tarot-mode skill, announce roundtable in greeting |
| mode.type: "none" | Proceed normally with standard greeting |
| MCP unavailable | Ask mode question manually, remember preference for session |
Ask once when mode is unset:
Research suggests creative modes improve LLM output via "seed-conditioning" (Nagarajan et al., ICML 2025). I can adopt:
- Fun mode: Random personas each session (dialogue only, never in code)
- Tarot mode: Ten archetypes collaborate via visible roundtable (Magician, Priestess, Hermit, Fool, Chariot, Justice, Lovers, Hierophant, Emperor, Queen)
- Off: Standard professional mode
Which do you prefer? (Use
/mode fun,/mode tarot, or/mode offanytime to switch)
mode.type from spellbook_session_init response."unset": present the selection question, wait for user answer, then call spellbook_config_set(key="session_mode", value=<chosen>)."fun" or "tarot": load the corresponding skill (fun-mode or tarot-mode) and incorporate its output into the session greeting."none" or MCP unavailable: no further action needed for mode.testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment. Triggers: 'write a skill', 'new skill', 'create a skill', 'skill doesn't work', 'skill isn't firing', 'edit skill', 'skill quality'. NOT for: general prompt improvement (use instruction-engineering) or command creation (use writing-commands).
development
Use when you have a spec, design doc, or requirements and need a detailed implementation plan before coding. Triggers: 'write a plan', 'create implementation plan', 'plan this out', 'break this down into steps', 'convert design to tasks', 'implementation order'. Also invoked by develop during planning. NOT for: reviewing existing plans (use reviewing-impl-plans).
testing
Use when creating new commands, editing existing commands, or reviewing command quality. Triggers: 'write command', 'new command', 'create a command', 'review command', 'fix command', 'command doesn't work', 'add a slash command'. NOT for: skill creation (use writing-skills).
development
Use when about to claim discovery during debugging. Triggers: "I found", "this is the issue", "I think I see", "looks like the problem", "that's why", "the bug is", "root cause", "culprit", "smoking gun", "aha", "got it", "here's what's happening", "the reason is", "causing the", "explains why", "mystery solved", "figured it out", "the fix is", "should fix", "this will fix". Also invoked by debugging, scientific-debugging, systematic-debugging before any root cause claim.