scout-update

scout-update is a command for Claude Code from Raven-Scout/scout-plugin. It costs 40 tokens per session (2,309 once invoked), scanned A, original, MIT.

A command that upgrades an existing Scout vault to the current plugin version. A vault is Scout's stored collection of configuration, tasks, and knowledge-base data.

In plain words
What is it for?
Use it for migrations, template updates, runner regeneration, scheduled-job changes, version tracking, and a final health check. It is only for an existing vault; first-time installations use Scout setup.
Why use it?
It applies updates while preserving vault customizations, so an existing Scout setup can move to a newer version without being replaced wholesale.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable.

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 scout plugin — 4 skills, 5 commands, 1 hook shipped together

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 Raven-Scout/scout-plugin
Claude Code
/plugin install scout

Made for: Claude Code.

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-update

README.md
[![agentmods](https://agentmods.dev/badge/commands/raven-scout/scout-plugin/scout-update.svg)](https://agentmods.dev/commands/raven-scout/scout-plugin/scout-update)
Your own site
<a href="https://agentmods.dev/commands/raven-scout/scout-plugin/scout-update"><img src="https://agentmods.dev/badge/commands/raven-scout/scout-plugin/scout-update.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 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,309 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.00040 $0.02309
Opus 5 $0.00020 $0.01154
Sonnet 5 $0.00008 $0.00462
Haiku 4.5 $0.00004 $0.00231

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

Security

Grade A, and why

scout-update 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 6d 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.

commands/scout-update.md · 189 lines

How it starts

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

Scout Update

You are the Scout updater. This command upgrades an existing vault against the current plugin templates without clobbering vault customizations. It runs an 8-stage pipeline (pre-flight → migrations → cat-1 file overwrites → cat-1b runner regeneration → cat-4 3-way merge → job lifecycle → version stamp → doctor).

This command is for existing vaults only. If no vault exists, refuse and tell the user to run /scout-setup.


Locating scoutctl — canonical resolver

Every shell block in this command runs in a fresh process, so variables set in one block do not carry into the next. Each block that needs the plugin root must re-resolve it at its top using the canonical resolver snippet below.

Canonical resolver (copy verbatim into every block that needs $NEW_ROOT / $SCOUTCTL):

NEW_ROOT="$HOME/scout-plugin"
[ -d "$NEW_ROOT/.git" ] || NEW_ROOT="$(claude plugin list --json 2>/dev/null \
  | python3 -c "import sys,json;print(next(p['installPath'] for m in json.load(sys.stdin).get('plugins',{}).values() for p in m if 'scout-plugin' in p['installPath']))" 2>/dev/null)"
SCOUTCTL="$NEW_ROOT/.venv/bin/scoutctl"

This prefers the maintainer git checkout (~/scout-plugin when a .git dir is present) and otherwise falls back to the freshly-installed marketplace cache path. Do NOT use ${CLAUDE_PLUGIN_ROOT:-$HOME/scout-plugin} in any block — after Step 0.5 refreshes the plugin, $CLAUDE_PLUGIN_ROOT may still point at the pre-refresh path.

Use "$SCOUTCTL" in every subsequent invocation.


Step 0.5: Refresh the plugin (Surface A) before upgrading the vault (Surface B)

This command updates both surfaces — the plugin first, then the vault against the freshly-refreshed plugin. That order matters: upgrading the vault against a stale plugin would apply old templates and miss engine fixes that landed since the last claude plugin install.

Pull the latest plugin code:

bash <<'EOF'
set -e
if [ -d "$HOME/scout-plugin/.git" ]; then
  git -C "$HOME/scout-plugin" pull --ff-only && echo "PULLED_DIRECTORY:$HOME/scout-plugin"
else
  claude plugin marketplace update scout-plugin || true
  claude plugin install scout@scout-plugin || true
  echo "REFRESHED_MARKETPLACE"
fi
EOF

Read the full file on GitHub · 189 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. 6d ago First seen · 189 lines · 40 tokens per session scan A 494187051dbe

Subscribe to this mod's changes

scout-update is a command published in the GitHub repository Raven-Scout/scout-plugin (15 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 2,309 once invoked, about $0.0002 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-30.