---
title: "terminator"
description: "Run this workflow from Codex. Stop hooks that terminate a Claude Code session when the agent's final message contains a kill phrase. Two scripts: single-kill (ends Claude) and double-kill (ends Claude plus the terminal s"
canonical: https://agentpluginsdirectory.com/plugins/terminator
last-updated: 2026-10-12
---

# terminator
Run this workflow from Codex. Stop hooks that terminate a Claude Code session when the agent's final message contains a kill phrase. Two scripts: single-kill (ends Claude) and double-kill (ends Claude plus the terminal shell that launched it), each bound to its own phrase. Installs at local (project) or global (user) scope; scripts require LOCAL or GLOBAL arg and exit 1 if missing. Contains-match (robust to model preambles), case-sensitivity configurable, and a kill path that walks the process tree to the owning claude (and, for double-kill, the top-most shell ancestor) and never signals pid <= 2. Install, remove, update, info, and whendone skills via a router; composes safely with existing Stop hooks.
- Slug: terminator
- Publisher: Florian Buetow
- Repository: https://github.com/florianbuetow/codex-plugins
- Manifest: plugins/terminator/plugin.json
- Version: 0.2.5
- License: MIT
- Category (editorial): other
- Skills: 6 (info, install, remove, terminator, update, whendone)
- MCP servers: 0
- Stars: 0
- Repository created: 2026-09-10
- Repository last pushed: 2026-10-11
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/terminator
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What terminator does, in the publisher's words

> Generated for Codex from the canonical source plugin. Run just update at the marketplace root to refresh it.

Run this workflow from Codex. Stop hooks that terminate a Claude Code session when the agent's final message contains a kill phrase. Two scripts: single-kill (ends Claude) and double-kill (ends Claude plus the terminal shell that launched it), each bound to its own phrase. Installs at local (project) or global (user) scope; scripts require LOCAL or GLOBAL arg and exit 1 if missing. Contains-match (robust to model preambles), case-sensitivity configurable, and a kill path that walks the process tree to the owning claude (and, for double-kill, the top-most shell ancestor) and never signals pid <= 2. Install, remove, update, info, and whendone skills via a router; composes safely with existing Stop hooks.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/florianbuetow/codex-plugins/HEAD/plugins/terminator/README.md
