Skip to content
Development
Command

/autobot-kill

Tear down and remove an autobot session (worktree, Docker containers, and tmux).

From plugin
metabase
49k23 skills11 agents23 commands
Install
$ npx -y skills add metabase/metabase --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/autobot-kill

Context preview

What this command does when you run it.

Tear down and remove an autobot session (worktree, Docker containers, and tmux).

Command definition

autobot-kill.md

Tear down and remove an autobot session (worktree, Docker containers, and tmux).

The user provided: `$ARGUMENTS`

Run this from the **current working directory** (don't `cd` anywhere) — `./bin/mage` works from any worktree, and the no-argument case relies on being inside the worktree you want to remove:

./bin/mage -autobot-kill $ARGUMENTS

The mage command handles both cases:

  • **With an argument**: uses it as the session name. If no session matches, mage prints the available sessions and exits non-zero.
  • **Without an argument**: auto-detects the current worktree's session from its path. If the caller is in the main repo (not a worktree), mage prints a usage error and exits non-zero.

Do NOT preemptively run `-autobot-list` and ask the user to pick. Just run `-autobot-kill` with whatever the user gave you (or nothing) and show the output.

Show the user the full stdout+stderr of the command.

Ships withmetabase

Metabase is the easy, open-source way for everyone in your company to ask questions and learn from data.

Get the whole plugin