harbor-sandbox-operator-loop
Original:🇺🇸 English
Translated
Execute Harbor capabilities, handle grant and approval flows, manage secrets, and operate the execution lifecycle. Use when asked to run a capability, execute a Harbor action, handle an approval_required response, manage secrets, or check execution status.
18installs
Sourcezonko-ai/harbor-skills
Added on
NPX Install
npx skill4agent add zonko-ai/harbor-skills harbor-sandbox-operator-loopTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Use this skill when the agent needs to execute a Harbor capability, handle grant/approval gates, or manage the execution lifecycle.
Rules
- Use Harbor CLI or API only.
- Never bypass Harbor by calling backing providers directly.
- Treat published capabilities as the only executable source of truth.
- If Harbor requires a grant or execution approval, explain the pending step and wait.
- Use capability-first language: capability, grant, approval, execution. Not provider, connector, tool.
Execution loop
- Confirm identity and reachability: and
harbor auth whoami --plain.harbor status --plain - List available capabilities: .
harbor ls --plain - Inspect the target capability: .
harbor inspect <capability> --plain - Check the capability state:
- — execute directly.
ready - — a grant is needed. Execute to trigger the grant request, report the
approval_required, tell the user to approve atapproval_id, then retry.https://dash.tryharbor.ai/approvals - — the capability needs owner-managed secrets. Use
secret_missingto check, thenharbor secrets ls --plainto provide them. Or tell the user to set them in the dashboard.harbor secrets set <name> --value <value> --plain
- Execute the capability: .
harbor <capability-slug> --<arg> <value> --plain - If the execution returns , report the
approval_requiredand wait for the user to approve.approval_id - After approval, retry the execution.
Secret management
- List secrets:
harbor secrets ls --plain - Inspect:
harbor secrets inspect <name> --plain - Set:
harbor secrets set <name> --value <value> --plain - Delete:
harbor secrets delete <name> --plain
Historical note
The old , , and commands are deprecated. is the closest published compute capability. Run to see current capabilities.
sandbox.runsandbox.statussandbox.logscompute.modalharbor ls --plainSee .
references/sandbox-loop.md