first-run

first-run is a command for Claude Code from CallMeTechie/fleet-manager. It costs 14 tokens per session (808 once invoked), scanned A, original, MIT.

A guided setup command for adding the first remote server to a server inventory. It collects the server address, SSH connection details, description, and permitted operation areas.

In plain words
What is it for?
Use it when the inventory is empty to register a server and choose permissions such as monitoring, file operations, Docker Compose, or file transfer.
Why use it?
It prevents you from having to create the first server profile by hand and records what the agent is allowed to do there.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fleet-manager plugin — 1 skill, 17 commands, 1 agent shipped together

Good fit Use it when the inventory is empty to register a server and choose permissions such as monitoring, file operations, Docker Compose, or file transfer.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add CallMeTechie/fleet-manager
Claude Code
/plugin install fleet-manager

Made for: Claude Code.

Or install fleet-manager, the plugin that ships this one along with the rest of its 1 skill, 17 commands, 1 agent.

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 first-run

README.md
[![agentmods](https://agentmods.dev/badge/commands/callmetechie/fleet-manager/first-run/github.svg)](https://agentmods.dev/commands/callmetechie/fleet-manager/first-run)
Your own site
<a href="https://agentmods.dev/commands/callmetechie/fleet-manager/first-run"><img src="https://agentmods.dev/badge/commands/callmetechie/fleet-manager/first-run/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 first-run

Your own site · 80×15
<a href="https://agentmods.dev/commands/callmetechie/fleet-manager/first-run"><img src="https://agentmods.dev/badge/commands/callmetechie/fleet-manager/first-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 808 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.00014 $0.00808
Opus 5.5 $0.00006 $0.00323
Sonnet 5.5 $0.00003 $0.00162
Haiku 4.5 $0.00001 $0.00081

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

Security

Grade A, and why

first-run 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 3mo 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.

plugin/commands/first-run.md · 70 lines

How it starts

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

First Run

set -euo pipefail
source "${CLAUDE_PLUGIN_ROOT:-plugin}/commands/_fleet-lib.sh"
mkdir -p "$FM_SERVERS_DIR"
if [ -n "$(list_server_names)" ]; then
  echo "Inventory already has servers. Use /add-server to add another, or /list-servers to view them."
  exit 0
fi
echo "No servers yet — starting intake."

If the inventory is empty, run the intake dialogue below yourself, here in the main thread. The fleet-intake subagent has no AskUserQuestion tool — subagents cannot reach the user — so it is dispatched only once every answer is in hand.

1. Intake dialogue (you, in the main thread)

Ask via AskUserQuestion, one question at a time. Validate each answer before moving on and re-ask on a violation:

Ask for Constraint
Server name ^[a-zA-Z0-9_-]+$
Host (LAN IP, hostname or WAN domain) ^[a-zA-Z0-9.-]+$
SSH port 1–65535, default 22
SSH user ^[a-zA-Z0-9_.-]+$
Description free text, optional, multiword allowed
Authorized scopes (multi-select) any of system_monitoring, file_operations, package_management, service_management, docker_compose, file_transfer

Offer scopes as an explicit multi-select. Do not preselect them all — each one widens what later commands may do without asking again.

2. Dispatch the agent

Use Claude's native Task tool (NOT a bash command — do not write Task(...) in a script) to invoke the subagent named fleet-intake (Claude Code resolves plugin agents by their frontmatter name), passing every collected value:

Onboard this server into the fleet-manager workspace. It is non-interactive: all inputs are below, and you have no way to ask for more. name= host= port= user= description= scopes= set_active=yes Write the Connection section, ensure the plugin keypair exists, cold-test the connection, then run discovery, apply exactly these scopes, and regenerate inventory.md. If the cold test fails, return NEEDS_KEY_DEPLOY with the exact ssh-copy-id line and stop.

Read the full file on GitHub · 70 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. 3mo ago First seen · 70 lines · 14 tokens per session scan A 981be40c73f4

Subscribe to this mod's changes

first-run is a command published in the GitHub repository CallMeTechie/fleet-manager (1 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 808 once invoked, about $0.0001 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.

Related

first-run compared with commands from other repositories

first-run next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
first-runCallMeTechie/fleet-managerCommand13mo agoMITA14Claude Code
marina-serverThe-Focus-AI/marina-skillCommand29mo agononeA15Claude Code
marina-statusThe-Focus-AI/marina-skillCommand29mo agononeA14Claude Code
platformgotempsh/tempsCommand953todayApache-2.0A0Claude Code
deliverygotempsh/tempsCommand953todayApache-2.0A0Claude Code
tunnelsgotempsh/tempsCommand953todayApache-2.0A0Claude Code
delivery-profilesgotempsh/tempsCommand953todayApache-2.0A0Claude Code