use-avibe-harness
Use Avibe Harness for durable Agent delegation, Sessions, scheduled Tasks, Watches, Runs, queues, and work that must continue beyond the current turn.
Use `vibe watch` to run a managed Harness waiter that returns to the same conversation later. Best for reviews, CI, files, logs, and other wait-now-continue-later workflows.
$ npx -y skills add avibe-bot/avibe --skill background-watch-hook --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/background-watch-hookContext preview
The summary Claude sees to decide when to auto-load this skill.
Use `vibe watch` to run a managed Harness waiter that returns to the same conversation later. Best for reviews, CI, files, logs, and other wait-now-continue-later workflows.
name: background-watch-hook slug: background-watch-hook description: Use `vibe watch` to run a managed Harness waiter that returns to the same conversation later. Best for reviews, CI, files, logs, and other wait-now-continue-later workflows. version: 0.17.3
Use this skill when the job is "wait now, continue later in the same conversation".
What it gives the agent:
Good trigger scenarios:
Prefer `vibe watch` when the wait should be inspectable, pausable, resumable, or removable later.
Main entrypoint. Starts a managed background watch and creates a follow-up Agent Run after the waiter succeeds or reaches a terminal failure.
Use these to inspect and manage the watch after creation.
Bundled GitHub waiter for PR activity, with optional exact-head Actions monitoring.
Use `vibe watch add` first. Most tasks only need:
1. a short action-oriented message 2. a blocking waiter command
Generic shape:
vibe watch add \ --message "<what the next Agent Run should do>" \ --name "<optional label>" \ -- \ <waiter command ...>
Default behavior:
Use `--forever` when the same waiter should re-arm after each detected event instead of exiting after one follow-up.
Management commands:
Write waiters to follow this contract:
Exit 64 is the token-saving path. Every other terminal exit costs one Agent turn, so a waiter whose normal outcome is uninteresting — green CI, review chatter that was filtered out — should end on 64 rather than reporting "nothing to do". It is a clean ending, so a `once` watch that retires on 64 reads as completed rather than failed, and whatever the waiter wrote to `stderr` is logged beside the watch id.
The marker is not optional. 64 is also BSD `sysexits` EX_USAGE, so a watched command that rejects its own arguments exits with it — and it must keep failing loudly rather than being read as a quiet cycle and, in `--forever`, rerun indefinitely. A bare 64 is therefore treated as a failure; only 64 with the marker is a no-event cycle. In the bundled waiters, `_github_wait_common.no_event("<summary>")` prints the summary and the marker to `stderr` and returns the code, so `return no_event(...)` is the only place the contract has to be spelled out.
Keep the output split clean:
Delay:
vibe watch add \ --name "Delay follow-up" \ --message "The delayed check completed. Continue from the result below." \ -- \ bash -lc 'sleep 120; echo "Timer finished after 120 seconds."'
File appears:
vibe watch add \ --name "Wait for export file" \ --message "The export file is ready. Inspect it and continue." \ -- \ bash -lc 'while [ ! -f /tmp/export.json ]; do sleep 10; done; echo "Detected /tmp/export.json"'
Log match:
vibe watch add \ --name "Watch app log" \ --message "The expected log pattern appeared. Inspect the event and continue." \ --forever \ -- \ bash -lc 'tail -Fn0 /tmp/app.log | while read -r line; do case "$line" in *READY*) echo "$line"; break;; esac; done'
Use the current Avibe context:
The local-first Agent OS — your AI partner lives on your own machine. Drive the official Claude Code, Codex & OpenCode from your browser or any chat app.
Repo: avibe-bot/avibe
Use Avibe Harness for durable Agent delegation, Sessions, scheduled Tasks, Watches, Runs, queues, and work that must continue beyond the current turn.
Use Avibe Vault for API keys, tokens, passwords, protected credentials, authenticated HTTP requests, or digest signing without exposing secret values to the…
Safely inspect and modify local Avibe configuration, routing, runtime settings, watches, scheduled tasks, Avibe Cloud remote access, and operational state.
Build, inspect, update, restore, or share Avibe Show Pages for visual explanations, diagrams, reports, or interactive prototypes. Covers the page workspace and…