By baymac
Daily-ritual scaffolding for Obsidian — journal, gratitude, fitness, diet, plan-my-day, brainstorm, habits, reminders, monthly-review, weekly-review, organize clippings, and Codex CLI interop. All commands read/write into an Obsidian-synced vault.
Brainstorm a topic — surface hidden tensions, take a position, name opportunities, list open questions with → consequences. Verdict required. No code or implementation plans. Under 2500 chars.
Save an online video as a clean, readable long-form transcript ("clip") in the vault. Subcommands per platform — `x` (X / Twitter) and `yt` (YouTube). The script does all the technical work (cookies, download, subtitle selection, VTT cleanup, audio-transcription fallback) and hands you a clean transcript; you only reframe it into faithful, lightly-cleaned prose — not a summary.
Make pbrain interoperable with the OpenAI Codex CLI — generate Codex agent skills + a managed AGENTS.md block from the same command sources. Run from Claude Code after /init-obsidian. Idempotent.
Daily diet log — user lists meals or snacks, agent estimates macros against the diet profile, updates diet-tracking/<date>.md. First run builds a personalized versioned diet profile (targets + meal structure + times) via interview. Adds new meals, swaps planned ones, recomputes totals; meal times anchor to today's fitness session.
Personal dilemma discussion — a Socratic thinking partner that reads your pbrain context before engaging. One question at a time. Saves a note with the insight or resolution. For personal dilemmas, not professional ideas (use /brainstorm for those).
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Daily-ritual scaffolding for Obsidian + Claude Code. Local-first slash commands for journaling, gratitude, fitness, diet, daily planning, brainstorming, and clipping triage. macOS only. Your vault stays on your machine — no accounts, no servers, no telemetry.
Obsidian is the writing surface. A markdown vault is the corpus (iCloud-synced or plain local — your choice). pbrain slash commands handle the rituals. Optionally, gbrain adds an AI memory layer exposed to Claude via MCP.
Compatibility: macOS only (Obsidian Desktop + iCloud Drive container). iOS works for read/write through the synced vault on iPhone/iPad, but the slash commands themselves run from Claude Code on macOS (or the OpenAI Codex CLI — see Codex interoperability). Linux, Windows, and Android aren't supported.
The pbrain slash commands work against any vault directory you point them at — PBRAIN_VAULT env var, a path written to ~/.config/pbrain/vault, or the default iCloud Obsidian path. /init-obsidian handles the setup. Obsidian is optional — the vault is just plain markdown. If you never configure one, the first command you run auto-creates a plain local vault at ~/pbrain-vault and keeps going, so pbrain works on a fresh machine with zero setup (run /init-obsidian later to switch to an Obsidian/iCloud vault).
The flow:
life/ (daily journal), domain folders (fitness/, startup/, side-quests/, software-dev/, …), and agent-work/ (everything Claude generates — brainstorms/, chat-history/, drafts/, notes/, research/, people/).~/.gbrain/ — local-only, free, private).The stack is three independent layers — pick what you need.
# 1. Install the plugin — two steps (register the marketplace, then install)
/plugin marketplace add baymac/pbrain
/plugin install pbrain@pbrain
# If either step fails, use the Local development path below — same
# commands, just symlinked from a local clone.
# 2. Bootstrap a vault — checks for Obsidian, creates the vault,
# optionally migrates it to iCloud for mobile sync, sets up a private
# notes dir, writes config. Idempotent.
/init-obsidian
# 3. Start using it
/journal # morning anchor — raw dump first, clears the head
/gratitude-journal # then gratitude, on cleared ground (second)
/brainstorm "idea" # quick idea dump
/plan-my-day # goal-anchored daily planner (first run sets up your goals)
That's it for the core experience. /init-obsidian writes ~/.config/pbrain/vault so every other command knows where to write.
/init-obsidian doesFirst-run setup — you only need it once. Every other command reads ~/.config/pbrain/vault and just works after this is done. Re-running is safe (idempotent) but only useful if you're switching vault locations, adding a git remote later, or adding the private dir after the fact.
Step by step:
npx claudepluginhub baymac/pbrain --plugin pbrainComprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.
Unified status line for Claude Code with multi-CLI (Claude, Codex, Gemini, z.ai) usage monitoring, context, rate limits, and cost tracking
Create and edit Obsidian vault files including Markdown, Bases, and Canvas. Use when working with .md, .base, or .canvas files in an Obsidian vault.