init

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

A command that selects an FTC robot program, called an OpMode, and prepares it to run.

In plain words
What is it for?
Use `/init` to initialize a TeleOp or autonomous OpMode after checking the robot connection; run `/start` afterward to begin it.
Why use it?
It removes the need to navigate the robot's interface manually and supports exact names, partial names, or numbers from the OpMode list.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run scripts/panels_client.py init "TeleOp Main".

Good fit Use /init to initialize a TeleOp or autonomous OpMode after checking the robot connection; run /start afterward to begin it.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ncssm-robotics/ftc-claude
agentmods
npx agentmods add commands/ncssm-robotics/ftc-claude/init

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 init

README.md
[![agentmods](https://agentmods.dev/badge/commands/ncssm-robotics/ftc-claude/init/github.svg)](https://agentmods.dev/commands/ncssm-robotics/ftc-claude/init)
Your own site
<a href="https://agentmods.dev/commands/ncssm-robotics/ftc-claude/init"><img src="https://agentmods.dev/badge/commands/ncssm-robotics/ftc-claude/init/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for init

Your own site · 80×15
<a href="https://agentmods.dev/commands/ncssm-robotics/ftc-claude/init"><img src="https://agentmods.dev/badge/commands/ncssm-robotics/ftc-claude/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 748 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00007 $0.00748
Opus 5.5 $0.00003 $0.00299
Sonnet 5.5 $0.00001 $0.00150
Haiku 4.5 $0.00001 $0.00075

Measured 2mo ago against content hash 3be7bdb18604, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

init 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 2mo 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/init.md · 166 lines

How it starts

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

Init Command

Selects and initializes an OpMode on the robot.

Usage

/init "TeleOp Main"      # Initialize by exact name
/init TeleOp             # Initialize by partial match
/init 3                  # Initialize by number (from /opmodes list)

Arguments

Argument Description
<opmode-name> Name of OpMode to initialize (full or partial)

Process

When this command runs:

  1. Check connection:

    adb devices
    
  2. Find OpMode:

    • If number given, look up from recent /opmodes list
    • If name given, find matching OpMode (partial match OK)
    • If multiple matches, prompt user to choose
  3. Send init command via websocket:

    uv run scripts/panels_client.py init "TeleOp Main"
    

    This sends the initOpMode message with the OpMode name.

  4. Update HUD:

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

Expected Output

Initializing OpMode...

  ✓ Found: "TeleOp Main"
  ✓ Initialized

  Status: TeleOp Main [INIT]

  Next: /start to begin running

Partial Matching

The command supports partial name matching:

/init teleop

  Found multiple matches:
    1. TeleOp Main
    2. TeleOp Practice
    3. TeleOp Debug

  Which one? (enter number): 1

  ✓ Initialized "TeleOp Main"

Error Handling

Not Connected

/init TeleOp

  ✗ Robot not connected

  Run /connect first, then try again.

OpMode Not Found

/init MyOpMode

  ✗ OpMode "MyOpMode" not found

  Available OpModes:
    - TeleOp Main
    - TeleOp Practice
    - Auto Left

  Try: /opmodes to see full list

Dashboard Not Available

/init TeleOp

  ✗ Cannot reach dashboard

  OpMode control requires Panels or FTC Dashboard.

  Alternative: Use the Driver Station app to init the OpMode.

Already Running

/init TeleOp

  ⚠ OpMode "Auto Left" is currently running

  Stop it first:
    /stop

  Then init the new OpMode.

Read the full file on GitHub · 166 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. 2mo ago First seen · 166 lines · 7 tokens per session scan A 3be7bdb18604

Subscribe to this mod's changes

init is a command published in the GitHub repository ncssm-robotics/ftc-claude (5 stars, last pushed 9mo ago), licensed MIT. It adds 7 tokens to every session and 748 once invoked, about $0.0000 per session on Opus 5.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.