agent-stop
/agent-stop
Bezpiecznie zatrzymuje agentów OMH działających w tmux i sprząta ich worktree oraz gałęzie.
- Autor
- hoya324 ↗
- Repozytorium
- oh-my-harness ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 28.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 28.07.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Bezpiecznie zatrzymuje agentów OMH działających w tmux i sprząta ich worktree oraz gałęzie.
Oryginalny opis (EN)
Use when stopping OMH tmux agents or cleaning their worktrees and branches safely.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 37 linii, 312 słów
Podgląd SKILL.md
--- name: agent-stop description: Use when stopping OMH tmux agents or cleaning their worktrees and branches safely. --- # Stop and clean up agents Read and validate `.claude/.omh/agents.json`. Resolve the requested recorded ids (default all), tmux session, worktrees, branches, base branch, and `useWorktree`. Inspect pane liveness, uncommitted files, and unmerged commits for every target. Show exactly what would be interrupted, which worktree/branch would be removed, and what work would become unreachable. Obtain explicit confirmation before shutdown or cleanup even when no unmerged work is detected. When unmerged or uncommitted work exists, require one explicit choice per target: - `apply`: stop and invoke `/agent-apply` behavior before later cleanup; - `keep`: stop the process but preserve branch, worktree, and state; - `discard`: authorize the named unmerged commits/files and exact cleanup targets; - `cancel`: do nothing. Never infer discard from a generic “stop.” Interrupt only the confirmed panes. After each interrupt attempt, atomically persist the interrupt result and timestamp in `agents.json`, then recheck tmux pane and underlying process liveness. User confirmation or a sent interrupt is not proof of termination. Mark an agent stopped only after observed termination. Kill the tmux session only after every recorded pane and process is observed terminal. With `useWorktree: true`, remove only validated, recorded worktree paths after observed termination. Restore any protected `TASK.md` backup and verify its recorded hash before apply or cleanup. Use forced removal or branch deletion only after the explicit `discard` authorization named that target. With `useWorktree: false`, do not run branch or worktree cleanup. Atomically update `.claude/.omh/agents.json`: preserve kept resources and partial-stop entries; set stopped status when resources remain. Remove the state file only after all agents are stopped and all recorded resources are either cleaned with confirmation or deliberately preserved elsewhere. On a failed or partial stop, retain state and resources, record the last observed liveness, and report recovery commands such as `tmux attach -t "<session>"`, `/agent-status`, and `/agent-stop <id>`. Report what was stopped, kept, removed, and whether removed work can be recovered.
Wersje
W bazie nie ma innych skilli o nazwie agent-stop.
Migawka bazy z 13.11.2026 · wersja paczki 701e543797ce (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 91agent-status
Sprawdza, czy sesje agentów w tmux żyją, jakie mają commity i zmiany oraz stan wspólny OMH. - 86team-stop
Przerywa pracę zespołu podagentów Codex i czyści wspólny stan OMH. - 100omh
Generuje dashboard oh-my-hi z katalogiem i analizą zużycia tokenów w Claude Code i Codex: skille, agenci, wtyczki, hooki, pamięć i serwery MCP. - 100tmux-agent-comms
Uruchamia i nadzoruje agentów AI w sesjach tmux: wysyła wiadomości, czeka na odpowiedzi i sprząta po zakończeniu. - 100workmux
Zarządza agentami terminalowymi, git worktree i sesjami tmux przez workmux: otwiera agentów w projekcie, sprawdza ich postęp i obsługuje równoległe przepływy agentów. - 100agent-manager
Zarządza agentami AI w sesjach tmux: start, zatrzymanie, monitoring, przydział zadań i harmonogram przez cron, bez serwera.