backprop
CommandTrace a bug back to a spec gap and generate regression tests
Detect missing CLI tools and install them to enhance Forge capabilities
> /plugin marketplace add LucasDuys/forge> /plugin install forge@forge-marketplace
description: "Detect missing CLI tools and install them to enhance Forge capabilities" allowed-tools: ["Read(*)", "Bash(*)"]
Detect which CLI tools are available on the system, show which are missing, and offer to install them.
Run version checks for all supported CLI tools:
echo "=== CLI Tool Detection ==="
tools_status=""
check_tool() {
local name="$1" cmd="$2" install="$3" purpose="$4"
if eval "$cmd" > /dev/null 2>&1; then
version=$(eval "$cmd" 2>/dev/null | head -1)
tools_status="${tools_status}\n [installed] ${name} — ${purpose} (${version})"
else
tools_status="${tools_status}\n [missing] ${name} — ${purpose}\n Install: ${install}"
fi
}
check_tool "gh" "gh --version" "winget install GitHub.cli" "GitHub PR/issue management, CI/CD"
check_tool "vercel" "vercel --version" "npm i -g vercel" "Deployment, preview URLs, serverless"
check_tool "stripe" "stripe --version" "winget install Stripe.StripeCLI" "Payment testing, webhooks"
check_tool "ffmpeg" "ffmpeg -version" "winget install Gyan.FFmpeg" "Video/audio processing"
check_tool "playwright" "npx playwright --version" "npm i -g playwright && playwright install" "Browser automation, E2E testing"
check_tool "gws" "gws --version" "npm i -g @googleworkspace/cli" "Google Workspace — Drive, Gmail, Sheets"
check_tool "notebooklm" "notebooklm --version" "pip install notebooklm-py" "Research with grounded citations"
check_tool "supabase" "supabase --version" "winget install Supabase.CLI" "Database, auth, edge functions"
check_tool "firebase" "firebase --version" "npm i -g firebase-tools" "App hosting, Firestore, cloud functions"
check_tool "docker" "docker --version" "winget install Docker.DockerDesktop" "Container management"
check_tool "wrangler" "wrangler --version" "npm i -g wrangler" "Cloudflare Workers, KV"
check_tool "graphify" "graphify -h" "pip install graphifyy" "Codebase knowledge graphs for architecture-aware planning"
check_tool "cli-anything" "ls ~/.claude/plugins/cli-anything* 2>/dev/null || compgen -c cli-anything- | head -1" "In Claude Code: /plugin marketplace add HKUDS/CLI-Anything && /plugin install cli-anything" "Agent-native CLIs for desktop software"
echo -e "$tools_status"Display the results in a clear table:
Forge Setup Tools
===================================
CLI tools enhance Forge's execution, verification, and research capabilities.
They are optional — Forge works without them, but gains powers when they're present.
{tool_status_output}
Installed: {N}/12
Missing: {M}/12If there are missing tools, ask the user:
> **{M} tools are not installed.** Want me to install them? > > Options: > 1. **Install all** — install every missing tool > 2. **Pick and choose** — select which ones to install > 3. **Skip** — just show me the status, I'll install manually
If the user chooses to install:
After installation, remind the user about tools that need authentication:
Adjust install commands based on the detected platform (`process.platform` or `uname`).
Turn a one-line idea into a branch with tested, reviewed, committed code. The brainstorm-to-commit pipeline for Claude Code.
Trace a bug back to a spec gap and generate regression tests
Turn an idea into concrete specs with testable requirements
Opt-in multiplayer mode -- brain-dump together, claim tasks across machines, flag decisions async
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.