Skip to content
Testing
Command

/stop

Stop a running agent

From plugin
agentic-qe
534149 skills169 agents149 commands1 MCP
> /plugin marketplace add proffesor-for-testing/agentic-qe
> /plugin install agentic-qe-fleet@agentic-qe

Command definition

stop.md
name: stop
description: Stop a running agent
aliases: [kill]
type: command

Agent Stop Command

Stop a running agent with graceful or forced shutdown options.

Usage

npx ruflo@3.76.0 agent stop <agent-id> [options]
npx ruflo@3.76.0 agent kill <agent-id> [options]  # Alias

Options

| Option | Short | Description | Default | |--------|-------|-------------|---------| | `--force` | `-f` | Force stop without graceful shutdown | false | | `--timeout` | | Graceful shutdown timeout in seconds | 30 |

Examples

# Graceful stop (completes current task)
npx ruflo@3.76.0 agent stop coder-lx7m9k2

# Force stop (immediate termination)
npx ruflo@3.76.0 agent stop coder-lx7m9k2 --force

# Custom shutdown timeout
npx ruflo@3.76.0 agent stop coder-lx7m9k2 --timeout 60

# Using kill alias
npx ruflo@3.76.0 agent kill researcher-abc123 -f

Graceful vs Force Stop

Graceful Shutdown (Default)

1. Completes current task 2. Saves agent state to memory 3. Releases resources cleanly 4. Notifies swarm coordinator

npx ruflo@3.76.0 agent stop coder-lx7m9k2

# Output:
# Stopping agent coder-lx7m9k2...
#   Completing current task...
#   Saving state...
#   Releasing resources...
# Agent coder-lx7m9k2 stopped successfully

Force Stop

1. Immediate termination 2. No state preservation 3. May leave tasks incomplete

npx ruflo@3.76.0 agent stop coder-lx7m9k2 --force

# Output:
# Stopping agent coder-lx7m9k2...
# Agent coder-lx7m9k2 stopped successfully

Interactive Confirmation

Without `--force`, you'll be prompted to confirm:

? Are you sure you want to stop agent coder-lx7m9k2? (y/N)

Batch Operations

To stop multiple agents:

# Stop all agents of a type
npx ruflo@3.76.0 agent list -t coder --format json | \
  jq -r '.agents[].id' | \
  xargs -I {} npx ruflo@3.76.0 agent stop {} -f

# Stop all idle agents
npx ruflo@3.76.0 agent list -s idle --format json | \
  jq -r '.agents[].id' | \
  xargs -I {} npx ruflo@3.76.0 agent stop {}

Related Commands

  • `npx ruflo@3.76.0 agent list` - Find agent IDs
  • `npx ruflo@3.76.0 agent status` - Check status before stopping
  • `npx ruflo@3.76.0 swarm destroy` - Stop all agents in swarm
Read more
@proffesor-for-testing
Ships withagentic-qe

Quality engineering tools for your coding agent. Generate tests, investigate coverage gaps, analyze flaky behavior and coordinate quality checks across the software lifecycle. Keep the findings close to the code and use them to make a better quality decision.

534119 skills169 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
534
Star history of proffesor-for-testing/agentic-qe on GitHub, a chart by star-history.com

Other commands on agentic-qe.

More commands from other plugins.

bkit

bkit

Command

bkit plugin help - Show all available bkit functions. Workaround for skills autocomplete issue. Use "/bkit" or just type "bkit…

bkit6d605
@popup-studio-ai@popup-studio-aiInstall Command
review

review

Command

Open the Canary session viewer and triage a recorded session.

canary4w500
@0xnyn@0xnynInstall Command