stop

stop is a command for Claude Code from ncssm-robotics/ftc-claude. It costs 5 tokens per session (602 once invoked), scanned A, original, MIT.

A command for stopping a running FTC OpMode, the program that controls a competition robot during a mode such as TeleOp. It checks the robot connection and dashboard, sends the stop request, and reports the new status.

In plain words
What is it for?
Use `/stop` to stop a running OpMode, clean up its motors and resources, and diagnose cases where no program is running or the robot dashboard is unreachable.
Why use it?
It provides a controlled way to stop the active robot program when it should no longer run.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is uv run scripts/panels_client.py stop.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stop

README.md
[![agentmods](https://agentmods.dev/badge/commands/ncssm-robotics/ftc-claude/stop.svg)](https://agentmods.dev/commands/ncssm-robotics/ftc-claude/stop)
Your own site
<a href="https://agentmods.dev/commands/ncssm-robotics/ftc-claude/stop"><img src="https://agentmods.dev/badge/commands/ncssm-robotics/ftc-claude/stop.svg" alt="Measured on agentmods" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00005 $0.00602
Opus 5 $0.00003 $0.00301
Sonnet 5 $0.00001 $0.00120
Haiku 4.5 $0.00001 $0.00060

Measured 5d ago against content hash 665e2f572909, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

stop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/robot-dev/commands/stop.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stop Command

Stops the currently running OpMode.

Usage

/stop

Process

When this command runs:

  1. Check OpMode is running:

    • Query dashboard for current state
    • Should be in RUNNING state
  2. Send stop command via websocket:

    uv run scripts/panels_client.py stop
    

    This sends the stopActiveOpMode message.

  3. Update HUD:

    🤖 Connected (12.4V) │ TeleOp Main [STOPPED] │ 192.168.43.1
    

Expected Output

Stopping OpMode...

  OpMode: TeleOp Main
  ✓ Stopped

  Status: TeleOp Main [STOPPED]

  To run again:
    /init "TeleOp Main"
    /start

Error Handling

No OpMode Running

/stop

  ⚠ No OpMode currently running

  Nothing to stop.

Not Connected

/stop

  ✗ Robot not connected

  Run /connect first, then try again.

Dashboard Not Available

/stop

  ✗ Cannot reach dashboard

  OpMode control requires Panels or FTC Dashboard.

  Alternative: Press the Stop button on the Driver Station.

State Transitions

[RUNNING] → /stop → [STOPPED]

The OpMode's stop() method is called:

  • Motors are stopped
  • Resources are cleaned up
  • OpMode becomes inactive

After Stopping

After /stop, you can:

  1. Run the same OpMode again:

    /init "Same OpMode"
    /start
    
  2. Switch to a different OpMode:

    /init "Different OpMode"
    /start
    
  3. Check logs for issues:

    /log --errors
    

Tips

Emergency Stop

If the robot is behaving unexpectedly, /stop immediately stops the OpMode.

For a hardware emergency:

  • Press the physical E-Stop button on the robot
  • Or power off the robot

Graceful Shutdown

Your OpMode's stop() method is called when /stop runs. Use it to:

@Override
public void stop() {
    // Set motors to zero
    leftMotor.setPower(0);
    rightMotor.setPower(0);

    // Close any resources
    camera.close();
}

Viewing What Happened

After stopping, check the logs:

/log --errors

Read the full file on GitHub · 150 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 150 lines · 5 tokens per session scan A 665e2f572909

Subscribe to this mod's changes

stop is a command published in the GitHub repository ncssm-robotics/ftc-claude (4 stars, last pushed 7mo ago), licensed MIT. It adds 5 tokens to every session and 602 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.