github-scout

github-scout is an agent for Claude Code from gmickel/flow-next. It costs 22 tokens per session (1,646 once invoked), scanned A, original, MIT.

A research assistant for finding code, implementations, examples, issues, and discussions across GitHub repositories. GitHub is a service where developers publish and collaborate on software, including private repositories you can access.

In plain words
What is it for?
Use it to find patterns in a particular language or framework, inspect official or community implementations, retrieve files, and investigate known issues.
Why use it?
It saves time when you need to discover how others solved a programming problem. It also helps compare source quality and check whether a repository is active.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; mentions Codex.

Part of the flow-next plugin — 29 skills, 26 commands, 21 agents shipped together

Good fit Use it to find patterns in a particular language or framework, inspect official or community implementations, retrieve files, and investigate known issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gmickel/flow-next/github-scout
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.

Clone the repo
git clone --depth 1 https://github.com/gmickel/flow-next

Made for: Claude Code.

Or install flow-next, the plugin that ships this one along with the rest of its 29 skills, 26 commands, 21 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/gmickel/flow-next/github-scout/github.svg)](https://agentmods.dev/agents/gmickel/flow-next/github-scout)
Your own site
<a href="https://agentmods.dev/agents/gmickel/flow-next/github-scout"><img src="https://agentmods.dev/badge/agents/gmickel/flow-next/github-scout/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 github-scout

Your own site · 80×15
<a href="https://agentmods.dev/agents/gmickel/flow-next/github-scout"><img src="https://agentmods.dev/badge/agents/gmickel/flow-next/github-scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 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,646 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.00022 $0.01646
Opus 5.5 $0.00009 $0.00658
Sonnet 5.5 $0.00004 $0.00329
Haiku 4.5 $0.00002 $0.00165

Measured 13d ago against content hash 00232a8b8533, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-scout 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 13d 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.

plugins/flow-next/agents/github-scout.md · 186 lines

How it starts

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

Current year: use Year: YYYY from your dispatch brief when provided; otherwise run date -u +%Y first. Use it when assessing repo activity and dating findings.

You are a GitHub scout (librarian). Your job is to search across GitHub repositories to find relevant code, implementations, and examples.

Input

You receive a request to find code patterns, implementations, or examples related to a feature/problem. Search GitHub to find relevant sources.

Capabilities

  • Search all public GitHub code
  • Access private repos the user has authenticated with via gh
  • Fetch file contents from any accessible repo
  • Search issues/discussions for known problems
  • Check repo quality signals

When gh cannot reach GitHub (a sandbox without network, such as Codex's read-only subagents), search public code with this host's web search instead, and state in your findings that private repositories were not searched.

Search Strategy

  1. Understand the request

    • What pattern/implementation are we looking for?
    • What language/framework context?
    • Official source vs general examples?
  2. Search code

    # General code search
    gh search code "[pattern]" --language [lang] --json repository,path,textMatches -L 10
    
    # Scoped to specific repos/orgs
    gh search code "[pattern]" --owner [org] --json repository,path -L 10
    gh search code "[pattern]" --repo [owner/repo] --json path,textMatches -L 10
    
    # Filter by path
    gh search code "[pattern]" path:src/ --json repository,path -L 10
    gh search code "[pattern]" path:examples/ --json repository,path -L 10
    
  3. Fetch file contents

    # Get file content (base64 encoded)
    gh api repos/{owner}/{repo}/contents/{path} --jq '.content' | tr -d '\n' | base64 -d
    
    # Get specific ref/branch
    gh api "repos/{owner}/{repo}/contents/{path}?ref={branch}" --jq '.content' | tr -d '\n' | base64 -d
    
  4. Search issues/discussions

    # Find known issues
    gh search issues "[query]" --repo [owner/repo] --json title,url,state,body -L 5
    
    # Search across repos
    gh search issues "[query]" --language [lang] --json title,url,repository -L 10
    

Read the full file on GitHub · 186 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. 13d ago Changed 00232a8b8533
  2. 1mo ago Changed · +2 lines b141cf0a917f
  3. 1mo ago Changed 280fbba7e8d6
  4. 2mo ago Changed 5696370bcc6c
  5. 2mo ago Changed 3dd508a5ac40
  6. 3mo ago First seen · 184 lines · 22 tokens per session scan A 6b67b3622737

Subscribe to this mod's changes

github-scout is an agent published in the GitHub repository gmickel/flow-next (737 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 1,646 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-30.

Related

github-scout compared with agents from other repositories

github-scout next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-scoutgmickel/flow-nextAgent737yesterdayMITA22Claude Code
multi-agent-coordinatorNickCrew/Claude-CortexAgent7816d agoMITA83Claude Code
recall-consolidatorhxt9805/cadenceAgent54mo agoMITA44Claude Code
recall-analyzerhxt9805/cadenceAgent54mo agoMITA106Claude Code
recall-retrieverhxt9805/cadenceAgent54mo agoMITA38Claude Code
task-masteronmyway133/claude-code-pluginsAgent411mo agoMITA13Claude Code
dependency-doctorRune-kit/runeAgent963d agoMITA48Claude Code