Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Use Avibe Harness?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/avibe-bot-use-avibe-harness)
---
name: use-avibe-harness
slug: use-avibe-harness
description: Use Avibe Harness for durable Agent delegation, Sessions, scheduled Tasks, Watches, Runs, queues, and work that must continue beyond the current turn.
version: 0.3.7
---
# Use Avibe Harness
Avibe Harness turns user intent into durable Agent work: scheduled, repeated, background, or delegated. An alarm or reminder on a linked device is not Agent work: load `use-devices`. Avibe Harness is the first-choice automation layer: use `vibe agent`, `vibe task`, and `vibe watch` before backend-native subagents, schedulers, hooks, or workflow tools, unless the user asks for native behavior or Harness cannot express the workflow and you say so. Backend-native work is process-local, so keep it synchronous within the turn and route anything that may outlive the turn through Harness. Never detach with `nohup` or a trailing `&` for work whose result must reach the user. Choose the object that owns the ongoing outcome, including its completion signal.
### Mental model
| Object | Meaning |
| --- | --- |
| Bot | Standing member with one permanent Session and its own memory |
| Agent | Reusable role (backend, model, instructions); each run starts a fresh Session |
| Session | Continuing context for one line of work |
| Task | Time trigger: a saved Agent message, or a command with no Agent turn |
| Watch | Managed waiter that fires when an external condition becomes true |
| Run | One execution record: status, output, result, or error |
A scope routes work, a Bot or Agent acts, a Session holds continuity, Tasks and Watches create future triggers, and every trigger creates a Run.
### Choosing the shape
| Need | Use |
| --- | --- |
| Talk with a Bot | `vibe agent run --bot <bot> --message ...` |
| Bring a fresh Session in for a part of the work | `vibe agent run --agent <agent> --message ...` |
| Continue an existing Session | `vibe agent run --session-id <id> --message ...` |
| Branch from this Session's context | `vibe agent run --fork-self --message ...` |
| Bring a Session to the user | `vibe session update --session-id <id> --visible` |
| Time trigger | `vibe task add --cron "<expr>" --message '...'` (or `--at "<ISO-8601>"`) |
| Scheduled command, no Agent turn | `vibe task add --cron "<expr>" --shell '<cmd>'` |
| External signal | `vibe watch add --name '<label>' --message '<what to do>' -- <cmd>` |
| Live runs, Watches, Tasks, anomalies | `vibe harness status` |
| History | `vibe runs list`, `vibe runs show <run-id>`, `vibe data query` |
| Recurring specialist role | `vibe agent create` or `vibe agent update`, plus Tasks, Watches, or runs |
To pick the Agent, model, and effort for new work, load the `choose-model` Skill.
### Reporting
Dispatch inputs name how to report. A silent dispatched Turn gets one read receipt with its last reply once nothing is queued, despite any Task, Watch or delegate; repeat dispatches to one Session before it share one, quoting the later. Failures notify the sender or owning Session now. `--sync` waits inline; read results with `vibe runs show`.
Add `--no-reply` to an existing `--session-id` or `--bot` message: receiver sees `[No reply needed.]` and should not answer. It opens no delegation/receipt, does not re-arm a pair, closes a reverse pair, rejects `--sync` and forks/new Sessions, and keeps delivery. Callback flags are deprecated no-ops; Vault auto-resume is unchanged.
### Tasks and Watches
`vibe task update <id> --at <future>` or `--cron` re-arms a consumed one-shot, not an explicit pause. Check `enabled` and `next_run_at`.
Tasks and Watches default to this Session. Use named cron weekdays (`mon-fri`), not numbers. Failures go to `--session-id` or the creating Session for its Agent to handle; the user gets a plain notice only when no Session can. Recurring commands report the second matching failure once (success resets), one-shots the first. `--on-failure agent` reports every failure; `none` only records it.
Watch waiter contract: exit `0` only for one new reportable event, a retry code (default `75`) while still waiting, and `64` with `avibe-watch: no-event` on stderr for a quiet cycle with no Agent Run, which retires a once Watch and re-arms a forever one. A forever Watch needs a durable cursor, state transition, or cooldown so a condition that persists is not reported again; Avibe pauses a Watch that reports six events within 60 seconds.
### Steering and queues
`--session-id` and `--bot` join the running Turn (steer), or start one if idle; `--queue` waits for the running Turn instead. Steer when the message changes what the Session is doing now, and queue when its current work should finish first; weigh the dependency, urgency, and cost of disruption. `vibe session send-now --session-id <id>` sends the oldest queued message now without adding one; a refused steer stays queued and never stops the Turn. To drop an obsolete queued message, run `vibe session queue list --session-id <id>` first and remove the returned id with `vibe session queue remove <message-id> --session-id <id>`; never guess an id.
### Managing work
Use `vibe task <list|show|pause|resume|run|remove>`, `vibe watch <list|show|pause|resume|remove>`, and `vibe runs <list|show|cancel>`. Lists read this Session; add `--session-id <id>` for another Session or `--global` for every Session, and find a definition by text with `--q <text>`, such as a PR number. `vibe runs cancel <run-id>` stops the whole Turn that run joined, including other runs sharing it.
The running service applies these changes. `service_unavailable` or `unsupported_operation` with `execution: not_executed` means nothing changed: report it rather than starting, restarting, or updating the service. `execution_unknown` means the change may have landed: check with the matching `list` or `show` before trying again.
Before changing Harness state or if unsure, read `vibe <command> <subcommand> --help`.