phatblat

Session Save — Development skill for Claude Code

Development community

Save current Claude session to 2ndBrain vault with frontmatter, executive brief, and full transcript.

How to install Session Save

Installs to ~/.claude/commands/phatblat-dotfiles-session-save.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/phatblat/dotfiles/HEAD/.claude/commands/session-save.md -o ~/.claude/commands/phatblat-dotfiles-session-save.md

Restart Claude Code, or start a new session, for it to be picked up.

What Session Save does


description: Save current Claude session to 2ndBrain vault with frontmatter, executive brief, and full transcript allowed-tools:

  • Bash(date:*)
  • Bash(hostname:*)
  • Bash(pwd:*)
  • Bash(ls:*)
  • Bash(sed:*)
  • Bash(head:*)
  • Bash(echo:*)
  • Bash(mkdir:*)
  • Bash(python3:*)
  • Read
  • Write category: workflow

Save Session to 2ndBrain

Saves the current Claude Code session as a note in `~/2ndBrain/claude-sessions//`.

The note structure:

  1. YAML frontmatter — date, h

Alternatives in Development

  • Arsave — AgentRecall full save — journal + palace + awareness + insights in one shot 370 ★
  • Media — Understand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a t 284 ★
  • Obsidian Challenge — Red-team your current idea against your own vault history — finds contradictions, past failures, and flawed as 277 ★

Full documentation available on GitHub

View Source Repository