Skip to content

Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.

fix: export OPS_DATA_DIR to Python subprocess, add graceful error handling for --json/--health, restore AskUserQuestion to allowed-tools

auroracapitalf6cc39354e4e
diff --git a/claude-ops/bin/ops-projects b/claude-ops/bin/ops-projects
index cd08ad70..732d71cb 100755
--- a/claude-ops/bin/ops-projects
+++ b/claude-ops/bin/ops-projects
@@ -6,6 +6,7 @@
set -euo pipefail
OPS_DATA_DIR="${OPS_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}"
+export OPS_DATA_DIR # ensure Python subprocess sees the same path
REGISTRY="$OPS_DATA_DIR/registry.json"
HEALTH="$OPS_DATA_DIR/cache/projects_health.json"
PLUGIN_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
@@ -151,9 +152,19 @@ case "$MODE" in
sync-dashboard)
sync_and_show ;;
json)
- cat "$REGISTRY" ;;
+ if [[ -f "$REGISTRY" ]]; then
+ cat "$REGISTRY"
+ else
+ echo '{"error":"registry not found — run /ops projects --sync to build it"}' >&2
+ exit 1
+ fi ;;
health)
- cat "${HEALTH}" ;;
+ if [[ -f "$HEALTH" ]]; then
+ cat "$HEALTH"
+ else
+ echo '{"error":"health cache not found — run /ops projects --sync first"}' >&2
+ exit 1
+ fi ;;
*)
show_dashboard ;;
esac
diff --git a/claude-ops/scripts/ops-gsd-registry-sync.sh b/claude-ops/scripts/ops-gsd-registry-sync.sh
index 4465bbe2..ab470fb8 100755
--- a/claude-ops/scripts/ops-gsd-registry-sync.sh
+++ b/claude-ops/scripts/ops-gsd-registry-sync.sh
@@ -5,6 +5,7 @@
set -euo pipefail
DATA_DIR="${OPS_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}"
+export DATA_DIR # pass to Python subprocess
CACHE_DIR="$DATA_DIR/cache"
REGISTRY="$DATA_DIR/registry.json"
PROJECTS_HEALTH="$CACHE_DIR/projects_health.json"
@@ -19,7 +20,7 @@ log() { printf '%s [gsd-registry] %s\n' "$NOW" "$1" | tee -a "$LOG"; }
log "Starting GSD registry sync..."
# Collect project data using Python inline (avoids complex interpreter preflight)
-python3 - << 'PYEOF'
+python3 - << PYEOF
import json, os, subprocess
from pathlib import Path
diff --git a/claude-ops/skills/ops-projects/SKILL.md b/claude-ops/skills/ops-projects/SKILL.md
index 3cbdb20a..cdb4aaea 100644
--- a/claude-ops/skills/ops-projects/SKILL.md
+++ b/claude-ops/skills/ops-projects/SKILL.md
@@ -8,6 +8,7 @@ allowed-tools:
- Grep
- Glob
- WebFetch
+ - AskUserQuestion
effort: low
maxTurns: 20
disallowedTools: