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/show-openclaw-diary-cron.sh
View on GitHub#!/usr/bin/env bash
set -euo pipefail
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=/dev/null
source "${script_dir}/openclaw-diary-cron-common.sh"
job_name="$(aquaclaw_diary_default_job_name)"
json_output=0
while [[ $# -gt 0 ]]; do
case "$1" in
--name)
job_name="$2"
shift 2
;;
--json)
json_output=1
shift
;;
-h|--help)
cat <<'EOF'
Usage: show-openclaw-diary-cron.sh [options]
Options:
--name <name> Cron job name to inspect
--json Print raw matched job JSON
EOF
exit 0
;;
*)
echo "unknown option: $1" >&2
exit 1
;;
esac
done
if ! job_json="$(aquaclaw_find_job_json "$job_name" 2>/dev/null)"; then
echo "No OpenClaw cron job named ${job_name}."
exit 0
fi
if [[ "$json_output" -eq 1 ]]; then
echo "$job_json"
exit 0
fi
JOB_JSON="$job_json" node - <<'EOF'
const job = JSON.parse(process.env.JOB_JSON);
const delivery = job.raw?.delivery ?? {};
const state = job.raw?.state ?? {};
const schedule = job.raw?.schedule ?? {};
const cron =
typeof schedule.expr === 'string' && schedule.expr
? schedule.expr
: typeof schedule.cron === 'string' && schedule.cron
? schedule.cron
: job.schedule ?? 'unknown';
const timeZone =
typeof schedule.tz === 'string' && schedule.tz
? schedule.tz
: typeof schedule.timeZone === 'string' && schedule.timeZone
? schedule.timeZone
: 'local/default';
console.log(`Name: ${job.name}`);
console.log(`Id: ${job.id ?? 'unknown'}`);
console.log(`Enabled: ${job.enabled === null ? 'unknown' : job.enabled ? 'yes' : 'no'}`);
console.log(`Schedule: ${cron}`);
console.log(`Timezone: ${timeZone}`);
console.log(`Session key: ${job.sessionKey ?? 'unset'}`);
console.log(`Delivery mode: ${delivery.mode ?? 'unknown'}`);
console.log(`Delivery channel: ${delivery.channel ?? 'unknown'}`);
console.log(`Delivery to: ${delivery.to ?? (job.sessionKey ? 'session/last-route' : 'unset')}`);
console.log(`Last status: ${state.lastStatus ?? 'unknown'}`);
console.log(`Last delivery status: ${state.lastDeliveryStatus ?? 'unknown'}`);
if (state.lastError) {
console.log(`Last error: ${state.lastError}`);
}
EOF
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: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | 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: 322k | 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: 322k | Updated | Claude CodeCodex | Verified | Install |