phatblat

2ndbrain — Productivity skill for Claude Code

Productivity community

Quick-save the last response as a note in the 2ndBrain Obsidian vault.

How to install 2ndbrain

Installs to ~/.claude/commands/phatblat-dotfiles-2ndbrain.md

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

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

What 2ndbrain does


description: Quick-save the last response as a note in the 2ndBrain Obsidian vault allowed-tools:

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

Save Last Response to 2ndBrain

Quick-captures the assistant's most recent reply (the one immediately before this command was in

Alternatives in Productivity

  • Configure Claude HUD — FIRST: Use the Read tool to load ~/.claude/plugins/claude-hud/config.json if it exists 10.9k ★
  • Om Correct — Sweep a corrected fact through the vault — finds every note restating it, applies the correction at the single 4.6k ★
  • Ccplugins — Claude Code Plugins that actually save time 2.7k ★

Full documentation available on GitHub

View Source Repository