From 6bc043665bba2ba060f0a4ec9eafff51e7a9ecf4 Mon Sep 17 00:00:00 2001 From: Noah Brier Date: Sat, 13 Sep 2025 12:30:37 -0400 Subject: [PATCH] fix: correct command syntax from 'claude run' to slash commands - Update all documentation to use /command-name syntax - Fix README, CLAUDE.md, install.sh, and command docs - Commands run directly in Claude Code with /command-name --- .claude/commands/README.md | 14 +++++++------- CLAUDE.md | 4 ++-- README.md | 16 ++++++++-------- install.sh | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.claude/commands/README.md b/.claude/commands/README.md index cff90fe..12b2795 100644 --- a/.claude/commands/README.md +++ b/.claude/commands/README.md @@ -7,35 +7,35 @@ Pre-configured commands to enhance your Claude Code + Obsidian workflow. ### 🤔 thinking-partner Engage Claude as a thinking partner for exploring complex problems. ``` -claude run thinking-partner +/thinking-partner ``` Best for: Brainstorming, problem exploration, developing ideas ### 📥 inbox-processor Process and organize items in your Inbox folder. ``` -claude run inbox-processor +/inbox-processor ``` Best for: Weekly inbox cleanup, organizing captures ### 🔍 research-assistant Conduct thorough research on any topic using your vault. ``` -claude run research-assistant +/research-assistant ``` Best for: Deep dives, literature reviews, knowledge synthesis ### 📅 daily-review End-of-day review to capture progress and plan tomorrow. ``` -claude run daily-review +/daily-review ``` Best for: Daily shutdown ritual, reflection ### 📊 weekly-synthesis Create a comprehensive synthesis of the week's work. ``` -claude run weekly-synthesis +/weekly-synthesis ``` Best for: Weekly reviews, pattern recognition @@ -51,9 +51,9 @@ Best for: Weekly reviews, pattern recognition ## Using Commands -### Method 1: Direct +### Method 1: Direct (in Claude Code) ``` -claude run [command-name] +/[command-name] ``` ### Method 2: Reference in Chat diff --git a/CLAUDE.md b/CLAUDE.md index d21afe5..0b74dd1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -3,7 +3,7 @@ **⚠️ IMPORTANT: This CLAUDE.md is for maintaining the claudesidian repository itself.** **If you're a user setting up your own Obsidian vault:** -- Run `claude run init-bootstrap` to create your personalized CLAUDE.md +- Run `/init-bootstrap` in Claude Code to create your personalized CLAUDE.md - That command will overwrite this file with your custom configuration - This file is only for contributors working on the claudesidian project @@ -86,7 +86,7 @@ claudesidian/ git clone https://github.com/heyitsnoah/claudesidian.git test-claudesidian cd test-claudesidian pnpm install -claude run init-bootstrap # Test the setup flow +# Then in Claude Code: /init-bootstrap # Test the setup flow ``` ### Important Files diff --git a/README.md b/README.md index 1781389..02fc387 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ cd claudesidian # Start Claude Code in the directory claude -# Run the interactive setup wizard -claude run init-bootstrap +# Run the interactive setup wizard (in Claude Code) +/init-bootstrap ``` This will: @@ -49,11 +49,11 @@ Please search my vault for any relevant existing notes, then help me explore this topic by asking questions. ``` -Or use one of the pre-configured commands: -```bash -claude run thinking-partner # For collaborative exploration -claude run daily-review # For end-of-day reflection -claude run research-assistant # For deep dives into topics +Or use one of the pre-configured commands (in Claude Code): +``` +/thinking-partner # For collaborative exploration +/daily-review # For end-of-day reflection +/research-assistant # For deep dives into topics ``` ## Folder Structure @@ -148,7 +148,7 @@ Pre-configured AI assistants ready to use: - `create-command` - Build new custom commands - `de-ai-ify` - Remove AI writing patterns from text -Run with: `claude run [command-name]` +Run with: `/[command-name]` in Claude Code ## Vision & Document Analysis (Optional) diff --git a/install.sh b/install.sh index de066f6..5b6ec5c 100755 --- a/install.sh +++ b/install.sh @@ -99,6 +99,6 @@ echo "" echo "Next steps:" echo "1. Start Claude Code in this directory: claude" echo "2. Read the Welcome note in 00_Inbox/" -echo "3. Try: claude run thinking-partner" +echo "3. Try: /thinking-partner (in Claude Code)" echo "" echo "Happy note-taking! 🧠✨" \ No newline at end of file