* v2.1: Unify skills and slash commands pattern Following the new Claude Code standard where skills and slash commands are merged into a single unified pattern: - Convert commands to skills: /daily-workflow, /weekly-review, /push, /onboard - Each skill has SKILL.md with frontmatter (name, description, allowed-tools) - Skills can be invoked with /skill-name OR auto-discovered by Claude - Remove deprecated .claude/commands/ directory - Update all documentation to reference new unified pattern - Update agents to reference skills instead of commands - Update CLAUDE.md with unified skills table This aligns with Claude Code 2.1+ where skills and slash commands share the same features and invocation patterns. * Simplify skill names: daily-workflow → daily, weekly-review → weekly Rename verbose skill folders and names to shorter, cleaner invocations: - daily-workflow/ → daily/ (invoked with /daily) - weekly-review/ → weekly/ (invoked with /weekly) Update all references across documentation, agents, and skill files to use consistent short command names. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
9.4 KiB
Complete Setup Guide
This guide will walk you through setting up your Obsidian + Claude Code PKM system step by step. Total time: ~15 minutes if prerequisites are installed.
Prerequisites Checklist
Before starting, ensure you have:
- Obsidian installed (Download here)
- Git installed (Download here)
- Claude Code CLI installed (Instructions)
- GitHub account (optional, for sync) (Sign up)
- Text editor (for configuration files)
Verify Prerequisites
Open terminal/command prompt and run:
# Check Git
git --version
# Check Claude Code
claude --version
Phase 1: Initial Setup (5 minutes)
Step 1: Clone the Repository
# Option A: If you have git
git clone https://github.com/ballred/obsidian-claude-pkm.git
cd obsidian-claude-pkm
# Option B: Download ZIP
# 1. Download from GitHub
# 2. Extract to your desired location
Step 2: Run Setup Script
# Make script executable (Mac/Linux)
chmod +x scripts/setup.sh
# Run setup
./scripts/setup.sh
# For Windows, use:
# scripts\setup.bat
The setup script will:
- Ask for your vault location preference
- Copy the vault template
- Set up Claude commands
- Initialize git (if desired)
Step 3: Manual Setup (if script fails)
# Copy vault template to your preferred location
cp -r vault-template ~/Documents/ObsidianPKM
# The .claude/commands directory is already included in the template
# Verify commands are present
ls ~/Documents/ObsidianPKM/.claude/commands/
# Initialize git
cd ~/Documents/ObsidianPKM
git init
Phase 2: Open in Obsidian (5 minutes)
Step 1: Open Obsidian
- Launch Obsidian
- Click "Open folder as vault"
- Navigate to your vault folder
- Click "Select"
Step 2: Trust and Enable
When prompted:
- Click "Trust author and enable plugins" (if you added community plugins)
- This is safe for the template vault
Step 3: Initial Exploration
- Open
CLAUDE.mdin the root - Read through the structure
- Explore the Goals folder
- Check out the example daily note
Step 4: Basic Settings (Optional)
- Settings → Appearance → Choose theme
- Settings → Editor → Set your preferences
- Settings → Files & Links → Confirm settings:
- Default location for new notes: "Daily Notes"
- New link format: "Relative path to file"
Phase 3: Claude Code Integration (10 minutes)
New in v2.0: Plugin Features
Your vault now includes a full Claude Code plugin with advanced features:
| Feature | Description |
|---|---|
| Hooks | Auto-commit on file changes, session initialization |
| Agents | Specialized AI assistants for note organization, weekly review, goal alignment |
| Skills | Auto-discovered capabilities for vault operations, goal tracking, daily workflows |
| Rules | Path-specific conventions for markdown, productivity, projects |
| Status Line | Terminal display of vault stats (note count, inbox, uncommitted changes) |
These work automatically once your vault is set up.
Step 1: Configure Claude Code
# Navigate to your vault
cd ~/Documents/ObsidianPKM
# Initialize Claude Code
claude init
# Test the connection
claude "Hello, I'm setting up my PKM system"
Step 2: Verify Skills
# Skills are in .claude/skills/ with each skill in its own directory
# Verify they exist:
ls .claude/skills/
# You should see:
# daily/ weekly/ push/ onboard/ goal-tracking/ obsidian-vault-ops/
Step 3: Test Skills
# Load your context
claude code /onboard
# Create your first daily note
claude code /daily
# You should see a new file in Daily Notes/
Step 4: Configure Output Styles
The vault includes a Productivity Coach output style that makes Claude more accountability-focused:
# Start Claude Code
claude
# Then use the output style commands:
/output-style # Opens interactive menu to choose a style
/output-style coach # Directly activates the coach style
# The coach will challenge you with questions like:
# - "What's the ONE thing that would make everything else easier?"
# - "What are you avoiding by reorganizing instead of doing?"
Your style preference is automatically saved in .claude/settings.local.json. The output style file is located at .claude/output-styles/coach.md if you want to customize it.
Step 5: Using Agents (New in v2.0)
The vault includes 4 specialized agents for common PKM tasks:
# Organize your vault, fix broken links
claude "Use the note-organizer agent to audit my vault"
# Run a guided weekly review
claude "Use the weekly-reviewer agent to help with my weekly review"
# Check goal alignment
claude "Use the goal-aligner agent to analyze my recent activity"
# Process your inbox
claude "Use the inbox-processor agent to clear my inbox"
Step 6: Customize Context
Edit CLAUDE.md in your vault root:
- Add your personal mission statement
- Define your working preferences
- Set your current focus areas
- Add any specific instructions for Claude
For personal overrides, copy CLAUDE.local.md.template to CLAUDE.local.md (gitignored).
Phase 4: Git Setup (5 minutes)
Step 1: Initialize Repository
# If not already initialized
git init
# Configure git
git config user.name "Your Name"
git config user.email "your.email@example.com"
# Add all files
git add .
# First commit
git commit -m "Initial PKM setup"
Step 2: Create GitHub Repository
# Using GitHub CLI (if installed)
gh repo create my-pkm --private
# Or create manually on GitHub.com
# Then add remote:
git remote add origin https://github.com/ballred/my-pkm.git
# Push to GitHub
git push -u origin main
Step 3: Set Up GitHub Action (Optional)
- Copy the workflow file:
mkdir -p .github/workflows
cp github-actions/claude.yml .github/workflows/
-
Get Claude Code OAuth token:
- Visit: https://code.claude.com/docs/en/github-actions
- Follow instructions to get token
-
Add token to GitHub:
- Go to your repository on GitHub
- Settings → Secrets and variables → Actions
- New repository secret
- Name:
CLAUDE_CODE_OAUTH_TOKEN - Value: [Your token]
Phase 5: Personalization (10 minutes)
Step 1: Customize Your Mission
Edit vault-template/CLAUDE.md:
## 🎯 System Purpose
[Replace with your personal mission]
Step 2: Set Your Goals
- Open
Goals/0. Three Year Goals.md - Replace placeholder goals with your actual 3-year vision
- Open
Goals/1. Yearly Goals.md - Set your annual objectives
- Open
Goals/2. Monthly Goals.md - Define this month's priorities
Step 3: Customize Daily Template
Edit Templates/Daily Template.md:
- Add your personal mission statement at the top
- Adjust time blocks to match your schedule
- Modify task categories to fit your life
- Add/remove sections as needed
Step 4: Create Your First Project
# Using Claude
claude code "Create a new project folder for [Your Project Name]"
# Or manually
1. Create folder in Projects/
2. Copy CLAUDE.md template
3. Define project goals
Verification Checklist
Run through this checklist to ensure everything is working:
- Obsidian opens your vault without errors
- CLAUDE.md has your personalized content
/dailyskill creates today's note/onboardskill loads your context- Git commits work locally
- GitHub remote is connected (if using)
- Goals files have your objectives
- Daily template has your customizations
Daily Workflow
Morning Routine (5 minutes)
# Start your day
claude code /onboard
claude code /daily
# Claude will:
# - Create today's note
# - Review yesterday's tasks
# - Help plan your day
Evening Routine (5 minutes)
# End of day
# Complete reflection in daily note
claude code /push
# This saves everything to git
Weekly Review (30 minutes)
# Sunday evening or Monday morning
claude code /weekly
# Follow the guided review process
Troubleshooting
Obsidian Won't Open Vault
- Check folder permissions
- Ensure path has no special characters
- Try creating fresh vault and copying files
Skills Not Working
# Verify Claude Code installation
claude --version
# Check skill directories exist
ls -la .claude/skills/
# Verify a skill file exists
cat .claude/skills/daily/SKILL.md
Git Issues
# If push fails
git pull --rebase origin main
git push
# If large files cause issues
git lfs track "*.pdf"
git lfs track "*.png"
Daily Note Not Created
- Check date format in template
- Verify Templates folder exists
- Ensure template file is named correctly
Next Steps
- Read CUSTOMIZATION.md for advanced configuration
- Explore WORKFLOW_EXAMPLES.md for usage patterns
- Join the community (if available) for tips and support
- Iterate on your system - it should evolve with you
Getting Help
- Documentation: Check the docs/ folder
- Claude Code Help:
claude --help - Obsidian Help: Obsidian Forum
- Git Help: Git Documentation
Congratulations! Your PKM system is now ready. Remember: the best system is the one you actually use. Start simple, be consistent, and evolve as needed.
Pro Tip: Spend the first week just using daily notes. Add complexity gradually as habits form.