Skip to content
Development
Command

/autobot-stop

Stop an autobot session (kill tmux and dev environment, but keep the worktree).

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-stop

Context preview

What this command does when you run it.

Stop an autobot session (kill tmux and dev environment, but keep the worktree).

Command definition

autobot-stop.md

Stop an autobot session (kill tmux and dev environment, but keep the worktree).

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 stop:

./bin/mage -autobot-stop $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-stop` 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