scout-setup

scout-setup is a command for Claude Code from costajohnt/oss-scout. It costs 13 tokens per session (1,088 once invoked), scanned A, original, MIT.

A command for configuring preferences used by an open-source issue search tool.

In plain words
What is it for?
It helps set up and check the prerequisites for personalized open-source issue discovery, including GitHub CLI authentication.
Why use it?
It lets the search use choices such as programming languages, labels, and other search settings instead of relying only on automatic defaults.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 oss-scout plugin — 1 skill, 2 commands, 2 agents, 2 hooks shipped together

Good fit It helps set up and check the prerequisites for personalized open-source issue discovery, including GitHub CLI authentication.

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 costajohnt/oss-scout
Claude Code
/plugin install oss-scout

Made for: Claude Code.

Or install oss-scout, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 2 agents, 2 hooks.

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/costajohnt/oss-scout/scout-setup.svg)](https://agentmods.dev/commands/costajohnt/oss-scout/scout-setup)
Your own site
<a href="https://agentmods.dev/commands/costajohnt/oss-scout/scout-setup"><img src="https://agentmods.dev/badge/commands/costajohnt/oss-scout/scout-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 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,088 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.00013 $0.01088
Opus 5 $0.00006 $0.00544
Sonnet 5 $0.00003 $0.00218
Haiku 4.5 $0.00001 $0.00109

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

Security

Grade A, and why

scout-setup 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-setup.md · 124 lines

How it starts

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

OSS Scout Setup

Customize your OSS Scout preferences. This is optional — the tool works out of the box with auto-detected settings. Use this command to fine-tune languages, labels, and search preferences.

Step 0: Ensure CLI is Built

if [ ! -f "${CLAUDE_PLUGIN_ROOT}/packages/core/dist/cli.bundle.cjs" ]; then
  if ! BUILD_LOG=$(cd "${CLAUDE_PLUGIN_ROOT}/packages/core" && npm install --ignore-scripts --silent 2>&1 && npm run bundle --silent 2>&1); then
    echo "BUILD_FAILED"; echo "$BUILD_LOG" | tail -5; exit 1
  fi
fi

If output starts with BUILD_FAILED: Tell the user the CLI build failed and show the error lines. Suggest: cd ${CLAUDE_PLUGIN_ROOT}/packages/core && npm install --ignore-scripts && npm run bundle. Common causes: missing Node.js 20+, stale node_modules.

Step 1: Check Prerequisites

Verify GitHub CLI is authenticated:

gh auth status 2>&1

If not authenticated:

"You need the GitHub CLI authenticated. Install from https://cli.github.com/ and run gh auth login."

Then STOP.

Step 2: Check Current Setup

setup is interactive and cannot act as a status probe (it exits with a CONFIGURATION error in non-TTY contexts). Read the preferences instead:

GITHUB_TOKEN=$(gh auth token 2>/dev/null || echo "$GITHUB_TOKEN") node "${CLAUDE_PLUGIN_ROOT}/packages/core/dist/cli.bundle.cjs" config --json 2>/dev/null

Setup is complete when data.githubUsername is non-empty. If it is, ask:

"Setup is already configured. Would you like to reconfigure your settings?"

Options: "Yes, reconfigure" or "No, keep current settings"

If they choose to keep current settings, show current config and exit.

Step 3: Configure Preferences

Drive configuration through config set from this conversation (the interactive setup command requires a real terminal and exits with a CONFIGURATION error when run through the Bash tool). Ask the user for each preference, then apply it. The CLI stores configuration in ~/.oss-scout/state.json.

Read the full file on GitHub · 124 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 · 124 lines · 13 tokens per session scan A a87a29150fd6

Subscribe to this mod's changes

scout-setup is a command published in the GitHub repository costajohnt/oss-scout (1 stars, last pushed 22d ago), licensed MIT. It adds 13 tokens to every session and 1,088 once invoked, about $0.0001 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-31.