Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By nsheapsv1.0.4In 1 marketplace
Allows Claude to gracefully terminate itself using SIGINT
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that enables Claude to gracefully terminate its own session.
Works for both local CLI sessions and Claude Code Web (remote sessions).
See Installation Guide for all installation methods.
# Via marketplace (recommended)
# Follow marketplace setup: ../../docs/manual-installation.md
# Or via GitHub
claude plugins install github:nsheaps/ai-mktpl/plugins/self-terminate
# Or locally for testing
cc --plugin-dir /path/to/plugins/self-terminate
Claude can simply execute the provided script:
~/.claude/plugins/self-terminate/bin/self-terminate.sh
The skill provides detailed instructions for manual termination if needed.
Claude Code runs as a process that spawns subshells for Bash commands. The script:
$PPIDSIGINT for graceful terminationThis plugin works seamlessly in Claude Code Web (remote sessions):
For Claude Code Web sessions, stop hooks may prevent termination if:
Ensure clean git state before terminating to avoid hook blocking.
bin/self-terminate.sh - Executable script for terminationskills/self-terminate/SKILL.md - Detailed skill documentationMIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub nsheaps/ai-mktpl --plugin self-terminatePlugins from other owners that cover similar ground