background
БесплатноБез исполняемых скриптовНе проверенUse when the user wants to see, inspect, cancel, or prune background agents fired during prior chain runs. Read/manage `.hyperflow/background/registry.json`…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Background
Read-only-by-default management interface for background agents fired by other hyperflow skills (dispatch quality gates, deploy CI watcher, scaffold analysis refresh, cache compact, scope speculative prefetch). Reads from .hyperflow/background/registry.json + per-agent output buffers.
Full doctrine: background-agents.md.
Subcommands
| Subcommand | Description |
|---|---|
list |
Print the registry: in-flight · completed-uncollected · stalled · errored |
show <id> |
Print one agent's output buffer (.hyperflow/background/<id>.md) |
cancel <id> |
Cancel one specific in-flight agent |
cancel --all |
Cancel every in-flight agent (use before closing a session) |
prune |
Delete completed .hyperflow/background/<id>.md files older than 7 days |
Default subcommand when none provided: list.
Subcommand Details
list
Read .hyperflow/background/registry.json. Group entries by status and print a compact table:
## In flight (N)
| ID | Purpose | Fired | Timeout | Blocks |
|-----------------------------------|--------------------------------------|------------|---------|---------|
| `bg-1718049600-quality-gates-b2` | Layer 5 gates Batch 2 | 17:30 | 18:00 | step3 |
| `bg-1718049820-ci-watcher` | GitHub Actions watch for v4.7.0 | 17:33 | 18:33 | — |
## Completed (uncollected, N)
| ID | Purpose | Completed | Duration | Output |
|-----------------------------------|--------------------------------------|------------|----------|--------|
| `bg-1718045400-scaffold-refresh` | Refresh .hyperflow/architecture.md | 16:42 | 2m 18s | 1.4kb |
## Stalled / Errored (N)
| ID | Purpose | Status | Reason |
|-----------------------------------|--------------------------------------|-------------------|-------------------|
| `bg-1717980000-cache-compact` | Compact learnings.md | STALLED | timeout (30m) |
Print one trailing line: <count> in flight · <count> uncollected · <count> needs attention. If registry is empty, print No background agents. and stop.
show <id>
Read .hyperflow/background/<id>.md and print it verbatim. If the agent is still running, print the registry entry first then Output buffer not yet written. and stop.
cancel <id>
- Read registry, find the entry.
- If
status: running, signal cancellation per the provider's mechanism (Claude Code: use the runtime's cancellation API for that subagent ID; if unavailable, mark the entrystatus: cancelledand leave the agent to time out on its own — the foreground orchestrator will drop the result on collection). - Update registry entry:
status: cancelled,cancelled_at: <now>. - Print
Cancelled <id> — <purpose>.
If the agent already completed, print Agent <id> already <status> — nothing to cancel.
cancel --all
For every entry with status: running, run the cancel flow. Print summary: Cancelled N agents.
prune
find .hyperflow/background/ -name "bg-*.md" -mtime +7 -delete plus remove their entries from registry.json (only entries with status: complete | error | stalled | cancelled older than 7 days are pruned). Print: Pruned N output buffers · N registry entries.
Flow
- Parse subcommand from invocation (default:
list). - Read
.hyperflow/background/registry.json(if absent, treat as empty). - Execute subcommand.
- Print result.
Overview
/hyperflow:background is the user-facing read/manage interface for background agents. The orchestrator itself maintains the registry as a side-effect of run_in_background: true Agent dispatches in other skills — this skill never fires a background agent, it only reads/manages the registry.
Prerequisites
.hyperflow/background/registry.jsonexists (created on first background dispatch by any other skill — if absent, all subcommands degrade gracefully)..hyperflow/initialized (run/hyperflow:scaffoldif missing — though this skill works even without scaffold, since the registry is created on demand).
Instructions
See Subcommands and Subcommand Details. Summary:
- Parse the subcommand (default
listwhen none given). - Read the registry from
.hyperflow/background/registry.json. - Execute the subcommand against the registry + per-agent output buffers.
- Print compact result; do not modify any source code.
Output
list— table of in-flight / completed-uncollected / stalled+errored, with one trailing summary line.show <id>— file contents of.hyperflow/background/<id>.md.cancel <id>/cancel --all— one-line confirmation per cancelled agent + total.prune— count of pr
Установить background в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBash(ls:*)Bash(cat:*)Bash(rm:*)Bash(find:*)GlobGrepFAQ
Что делает скилл background?
Use when the user wants to see, inspect, cancel, or prune background agents fired during prior chain runs. Read/manage `.hyperflow/background/registry.json` and the per-agent output buffers at `.hyperflow/background/<id>.md`. Standalone — never auto-invoked. Trigger with /hyperflow:background, "list background agents", "what's running in background", "cancel background agent", "show background result".
Как установить скилл background?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл background запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic