Terminator: Router
Auto-detect the right subcommand from the user's request and dispatch to it.
The user's request is:
"""
$ARGUMENTS
"""
What this plugin does
Terminator installs Stop hooks. When the agent's final message contains a configured
kill phrase, the hook terminates the session. There are two scripts; you pick by installing one
or both:
- single-kill.sh — ends Claude. Terminal stays open.
- double-kill.sh — ends Claude, then the terminal shell that launched it.
The kill walks the process tree to the owning claude (and, for double-kill, the top-most shell
ancestor), and never signals pid ≤ 2.
Detection Rules (first match wins)
| Intent in the request |
Route to |
| "install", "set up", "add", "enable", "single kill", "double kill", first-time setup |
terminator:install |
| "remove", "uninstall", "disable", "delete the hook" |
terminator:remove |
| "update", "change the phrase", "new phrase", "rename phrase", "toggle case" |
terminator:update |
| "when done", "whendone", "terminate when finished", "self-terminate when complete" |
terminator:whendone |
| "info", "show phrase", "what is my kill phrase", "show config", "terminator status" |
terminator:info |
If exactly one row matches, dispatch to it without asking. Ask only if no row matches:
What would you like to do with terminator?
- install — set up single-kill and/or double-kill hooks (local or global scope)
- remove — uninstall the hooks
- update — change a kill phrase or case sensitivity
- whendone — have me end this session by uttering the kill phrase once work is finished
- info — show configured kill phrases for local and global scope
Dispatching
- Print one line:
Routing to /terminator:SUBCOMMAND
- In the same turn, invoke that subcommand skill with the user's request as its arguments and
execute it. Do not wait for a reply and do not ask whether to proceed.
1---2name: terminator3description: Router for the terminator plugin — Stop hooks that end a Claude Code session (and optionally its terminal) when the agent's final message contains a kill phrase. Routes to install, remove, update, or whendone. Use when the user says "terminator", "install the kill hook", "set up a kill phrase", "single kill", "double kill", "remove the terminator hook", "change the kill phrase", or "terminate when done".4disable-model-invocation: false5metadata:6 source: https://skillmd.com/skills/florianbuetow/terminator7---89# Terminator: Router1011Auto-detect the right subcommand from the user's request and dispatch to it.1213The user's request is:14"""15$ARGUMENTS16"""1718## What this plugin does1920Terminator installs **Stop hooks**. When the agent's final message **contains** a configured21kill phrase, the hook terminates the session. There are two scripts; you pick by installing one22or both:2324- **single-kill.sh** — ends Claude. Terminal stays open.25- **double-kill.sh** — ends Claude, then the terminal shell that launched it.2627The kill walks the process tree to the owning `claude` (and, for double-kill, the top-most shell28ancestor), and never signals pid ≤ 2.2930## Detection Rules (first match wins)3132| Intent in the request | Route to |33|------------------------|----------|34| "install", "set up", "add", "enable", "single kill", "double kill", first-time setup | `terminator:install` |35| "remove", "uninstall", "disable", "delete the hook" | `terminator:remove` |36| "update", "change the phrase", "new phrase", "rename phrase", "toggle case" | `terminator:update` |37| "when done", "whendone", "terminate when finished", "self-terminate when complete" | `terminator:whendone` |38| "info", "show phrase", "what is my kill phrase", "show config", "terminator status" | `terminator:info` |3940If exactly one row matches, dispatch to it without asking. Ask only if no row matches:4142> What would you like to do with terminator?43> - **install** — set up single-kill and/or double-kill hooks (local or global scope)44> - **remove** — uninstall the hooks45> - **update** — change a kill phrase or case sensitivity46> - **whendone** — have me end this session by uttering the kill phrase once work is finished47> - **info** — show configured kill phrases for local and global scope4849## Dispatching50511. Print one line: `Routing to /terminator:SUBCOMMAND`522. In the same turn, invoke that subcommand skill with the user's request as its arguments and53 execute it. Do not wait for a reply and do not ask whether to proceed.