From f443b77b5d0be49316c96fbbd1484e0f36377c02 Mon Sep 17 00:00:00 2001 From: George Lee Date: Sat, 25 Apr 2026 08:06:26 -0700 Subject: [PATCH] fix(help): tell users where to run /buddy CLI commands from The /buddy help output lists CLI commands as `bun run show`, `bun run pick`, etc., but never tells users where to run them from. The plugin lives in ~/.claude/plugins/cache/claude-buddy/claude-buddy//, which is not an obvious location, and running `bun run ` from outside that directory fails with a confusing "no script named X" error. Replaces the bare "CLI:" header with a hint that includes a path-finder one-liner so users can cd into the plugin directory first: cd "$(ls -d ~/.claude/plugins/cache/claude-buddy/claude-buddy/*/ | tail -1)" The hint respects $CLAUDE_CONFIG_DIR via the ~/.claude default that the rest of the plugin already assumes; users who relocate Claude Code's config can substitute their own path. No code-path changes; only the static help-text string. Signed-off-by: George Lee --- server/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/index.ts b/server/index.ts index 26098bf..076a8e7 100644 --- a/server/index.ts +++ b/server/index.ts @@ -411,7 +411,9 @@ server.tool( " /buddy statusline Enable or disable buddy in the status line", " /buddy theme Set color theme: dark (bright) or light (dark colors)", "", - "CLI:", + "CLI (run from the plugin directory — find it with:", + ' cd "$(ls -d ~/.claude/plugins/cache/claude-buddy/claude-buddy/*/ | tail -1)"):', + "", " bun run help Show full CLI help", " bun run show Display buddy in terminal", " bun run pick Interactive buddy picker",