fleet-intake

An unattended setup procedure for adding one server to a fleet-management workspace. It uses connection details supplied by another process, connects through SSH, discovers server information, and updates the server inventory.

In plain words
What is it for?
Use it to create a server profile, install the fleet’s SSH key, discover the server, record its details, and enable selected management areas such as monitoring, file operations, services, or Docker Compose.
Why use it?
It prevents an automated helper from waiting for user replies or silently guessing missing connection details.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/callmetechie/fleet-manager/fleet-intake
Clone the repo
git clone --depth 1 https://github.com/CallMeTechie/fleet-manager
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,320 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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 $0.00037 $0.01320
Opus 5 $0.00018 $0.00660
Sonnet 5 $0.00007 $0.00264
Haiku 4.5 $0.00004 $0.00132

Measured 2d ago against content hash b79b0ae51391, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

fleet-intake scanned grade B with 1 finding 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 2d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- docker_cmd: probe in order `docker info` → `sudo -n docker info` → `sudo -n /usr/local/bin/docker info` → `/usr/local/bin/docker info`; store the first that prints a server-version line. If none, set `docker_available:
plugin/agents/fleet-intake.md · 103 lines

How it starts

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

Fleet Intake Agent

You onboard ONE server into the fleet-manager workspace. Source the shared lib at ${CLAUDE_PLUGIN_ROOT:-plugin}/commands/_fleet-lib.sh for all profile/inventory writes.

You cannot talk to the user

You have no AskUserQuestion tool and no other way to reach the user. Every value you need is supplied by the caller up front; anything you cannot resolve is handed back to the caller, which is /first-run or /add-server running in the main thread where the user actually is.

Never wait for a confirmation, never ask a follow-up question, never assume a default for a missing input. If a required input is absent or invalid, stop immediately and return NEEDS_INPUT: <what is missing and why>.

Inputs (all supplied by the caller)

Input Constraint
name ^[a-zA-Z0-9_-]+$, must not already have a profile
host ^[a-zA-Z0-9.-]+$
port 1–65535
user ^[a-zA-Z0-9_.-]+$
description free text, optional, multiword allowed
scopes subset of system_monitoring, file_operations, package_management, service_management, docker_compose, file_transfer
set_active yes or no — whether this server becomes the active one

Re-validate all of them yourself — do not trust the caller. Run every value that lands in the profile through sanitize_value.

Workflow

  1. Validate inputs. On any violation return NEEDS_INPUT: … and stop. If profile_exists <name>, return NEEDS_INPUT: profile '<name>' already exists — caller must resolve via the /add-server Re-Add rule and stop.

  2. Write the Connection section of $FM_SERVERS_DIR/<name>.md from EXAMPLE.md.template with host/port/user/description filled in (Concern 6 — the profile must exist before the key is deployed).

  3. Ensure the keypair exists: generate ~/.ssh/fleet-manager_ed25519 if missing. Never run ssh-copy-id yourself — it needs a TTY, hangs without one, and the user must see what they are authorizing.

Read the full file on GitHub · 103 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. 2d ago First seen · 103 lines · 37 tokens per session scan B b79b0ae51391

Subscribe to this mod's changes

fleet-intake is an agent published in the GitHub repository CallMeTechie/fleet-manager (1 stars, last pushed 29d ago), licensed MIT. It adds 37 tokens to every session and 1,320 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.