terminator
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…
by florianbuetow★ 22 GitHub stars
Install terminator in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
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.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the terminator skill do?
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".
How do I install the terminator skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the terminator skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…