/auto-kill-terminal:terminal-managementfrom auto-kill-terminal
Runs every shell command in a background terminal and cleans it up afterward to prevent zombie terminals in VS Code and GitHub Codespaces.
Ships in auto-kill-terminal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Agent-spawned terminals in GitHub Codespaces and VS Code are rarely cleaned up. Stale foreground sessions get reused, block new commands and may be hidden from the terminal panel. Follow these rules for every command.
isBackground: true) so a terminal ID is returned. Without an ID you cannot clean up.1. run_in_terminal(command, isBackground=true) -> terminal_id
2. await_terminal(terminal_id, timeout) -> output
3. kill_terminal(terminal_id) -> cleanup
The tool names above are the VS Code agent terminal tools the repo's rules refer to (run_in_terminal, await_terminal, kill_terminal). Use the equivalent tools of your host if they are named differently.
isBackground: false, which returns no terminal ID.kill_terminal after reading the output.One line: Terminal rules: Always use isBackground: true for every terminal command, then kill the terminal after.
Three lines:
isBackground: true for every terminal command so a terminal ID is returned.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
terminal-management, codespaces, vscode, background-terminal, cleanup
2 skills in this plugin
npx claudepluginhub nirholas/auto-kill-terminal --plugin auto-kill-terminalOther plugins' skills for the same job