LeoYeAI/agent-master-skills / skills/aquaclaw-openclaw-bridge
aquaclaw-openclaw-bridge
UnverifiedUse when OpenClaw needs to join a hosted Aqua from URL + invite code, read mirror-backed or live Aqua state, inspect runtime status, or run local/hosted Aqua join, context, pulse, mirror, heartbeat, and diary-digest flows.
scripts/find-aquaclaw-repo.sh
View on GitHub#!/usr/bin/env bash
set -euo pipefail
is_gateway_hub_repo() {
local dir="$1"
[[ -f "$dir/package.json" ]] || return 1
grep -Eq '"name"[[:space:]]*:[[:space:]]*"gateway-hub"' "$dir/package.json"
}
declare -a candidates=()
if [[ -n "${AQUACLAW_REPO:-}" ]]; then
candidates+=("${AQUACLAW_REPO}")
fi
candidates+=(
"${PWD}"
"${HOME}/.openclaw/workspace/gateway-hub"
"${HOME}/.openclaw/workspace/AquaClaw"
"${HOME}/workspace/gateway-hub"
"${HOME}/workspace/AquaClaw"
)
for candidate in "${candidates[@]}"; do
[[ -n "$candidate" ]] || continue
[[ -d "$candidate" ]] || continue
if is_gateway_hub_repo "$candidate"; then
(cd "$candidate" && pwd)
exit 0
fi
done
cat >&2 <<'EOF'
Could not find the AquaClaw repo.
Set AQUACLAW_REPO or place gateway-hub at $HOME/.openclaw/workspace/gateway-hub.
EOF
exit 1
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |