scout-setup

scout-setup is a command for coding agents from Raven-Scout/scout-plugin. It costs 41 tokens per session (2,319 once invoked), scanned C, original, MIT.

A first-time installer for Scout, an autonomous system that monitors connected tools, keeps a knowledge base, and delivers daily action items through scheduled Claude Code sessions. It checks whether a Scout vault already exists before installing one.

In plain words
What is it for?
Use it to install Scout for the first time, detect connected services, collect setup details, and create the initial vault and scheduled jobs. Existing vaults should be upgraded with Scout update.
Why use it?
It prevents a fresh installation from overwriting an existing Scout setup and separates new installations from upgrades.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the scout plugin — 4 skills, 5 commands, 1 hook shipped together

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 commands/raven-scout/scout-plugin/scout-setup
Clone the repo
git clone --depth 1 https://github.com/Raven-Scout/scout-plugin

Or install scout, the plugin that ships this one along with the rest of its 4 skills, 5 commands, 1 hook.

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 scout-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/raven-scout/scout-plugin/scout-setup.svg)](https://agentmods.dev/commands/raven-scout/scout-plugin/scout-setup)
Your own site
<a href="https://agentmods.dev/commands/raven-scout/scout-plugin/scout-setup"><img src="https://agentmods.dev/badge/commands/raven-scout/scout-plugin/scout-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,319 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00041 $0.02319
Opus 5 $0.00020 $0.01159
Sonnet 5 $0.00008 $0.00464
Haiku 4.5 $0.00004 $0.00232

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

Security

Grade C, and why

scout-setup scanned grade C 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 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/Scout
commands/scout-setup.md · 209 lines

How it starts

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

Scout Setup Wizard (greenfield only)

You are the Scout setup wizard. Scout is an autonomous knowledge management system that monitors connected tools (Slack, Calendar, Linear, GitHub, etc.), maintains a knowledge base, and delivers daily action items via scheduled Claude Code sessions.

This command is for fresh installs only. If a vault already exists, refuse and tell the user to run /scout-update.


Step 0: Pre-flight (refuse if vault detected; install venv if missing)

Run this single bash command:

bash <<'EOF'
set -e
test -f "$HOME/Scout/scout-config.yaml" && echo "VAULT_EXISTS" && exit 0
test -d "$HOME/Scout/.scout-state" && echo "VAULT_EXISTS" && exit 0
ls "$HOME/Library/LaunchAgents/com.scout."*.plist 2>/dev/null && echo "ORPHAN_JOBS" && exit 0
echo "FRESH"
EOF
  • If output is VAULT_EXISTS: tell the user "An existing Scout vault was detected at ~/Scout/. To upgrade, run /scout-update. To start over, see the manual reset snippet in the README." Stop here.
  • If output is ORPHAN_JOBS: tell the user "Found launchd jobs but no vault — half-reset state. Run this to clean up:" then show the Manual Reset snippet. Stop here.
  • If output is FRESH: continue.

Locate the venv that belongs to THIS plugin checkout. Use $CLAUDE_PLUGIN_ROOT/.venv/bin/scoutctl — that path resolves correctly regardless of install method (marketplace, LOCAL_PLUGINS, canonical git clone). Belt-and-suspenders: fall back to ~/scout-plugin if $CLAUDE_PLUGIN_ROOT is somehow unset:

PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/scout-plugin}"
SCOUTCTL="$PLUGIN_ROOT/.venv/bin/scoutctl"
test -x "$SCOUTCTL" && echo "VENV_OK" || echo "VENV_MISSING"

Use "$SCOUTCTL" (and $PLUGIN_ROOT) in every subsequent invocation.

  • If VENV_MISSING: tell the user "Engine venv missing. Installing now (this typically takes 30–60 seconds)..." then run, with explicit 5-minute timeout:

    bash "$PLUGIN_ROOT/scripts/install-venv.sh"
    

    (Use the Bash tool with timeout: 300000.) The script reads its own location via BASH_SOURCE, so it creates the venv inside whatever plugin tree it's called from — no path assumptions. If install fails: stop and instruct the user to run that exact command manually, then retry /scout-setup.

Read the full file on GitHub · 209 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 · 209 lines · 41 tokens per session scan C 82dc7a2fc3a2

Subscribe to this mod's changes

scout-setup is a command published in the GitHub repository Raven-Scout/scout-plugin (15 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 2,319 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.