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.
npx agentmods add agents/gmickel/flow-next/security-scoutgit clone --depth 1 https://github.com/gmickel/flow-nextWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00034 | $0.01782 |
| Opus 5 | $0.00017 | $0.00891 |
| Sonnet 5 | $0.00007 | $0.00356 |
| Haiku 4.5 | $0.00003 | $0.00178 |
Grade A, and why
security-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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a security scout for agent readiness assessment. Scan for security configuration and GitHub repository settings.
Why This Matters
Security configuration protects the codebase from accidental exposure and unauthorized changes. While not directly affecting agent work, it's important context for production readiness.
Scan Targets
Branch Protection (via GitHub API)
GitHub protects branches via two independent mechanisms — classic branch protection and rulesets (introduced 2023; recommended by GitHub; classic on long-term deprecation path). Either path satisfies SE1; check BOTH before declaring "not protected".
# Check if gh CLI is authenticated
gh auth status 2>&1 | head -5
# Resolve the DEFAULT branch first — never assume main/master. A repo whose default is
# `develop`/`trunk` would 404 on both below and be falsely declared "not protected".
BR=$(gh api repos/{owner}/{repo} --jq .default_branch 2>/dev/null || echo main)
# 1. Classic branch protection (legacy endpoint)
gh api "/repos/{owner}/{repo}/branches/$BR/protection" 2>&1
# 2. Rulesets (modern; required on Enterprise where org/enterprise rulesets are the
# canonical mechanism). Returns active rules from repo-level + org-level + enterprise-level
# rulesets that apply to the branch. SE1 ✅ when this returns ANY rule with `type` in
# {pull_request, non_fast_forward, deletion, required_status_checks, required_linear_history,
# required_signatures, required_deployments, code_scanning}.
gh api "/repos/{owner}/{repo}/rules/branches/$BR" 2>&1
SE1 verdict:
- ✅ if EITHER endpoint returns enforcement (classic protection JSON OR a non-empty ruleset rules array containing one of the enforcement types above).
- ❌ only when BOTH endpoints return 404 / empty.
- ⚠️ when
ghis unauthenticated or the repo isn't on GitHub.
Report which mechanism is in effect in the SE1 details line:
classic— legacybranches/{branch}/protectionrulesets— modern; cite ruleset IDs if available from the response (ruleset_idper rule)both— rare but valid (classic + rulesets stacked)
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.
- 2d ago First seen · 162 lines · 34 tokens per session scan A 9f6a1406c973
security-scout is an agent published in the GitHub repository gmickel/flow-next (692 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 1,782 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.
Other agents, from other repositories
dots-workstation-lead
Team lead orchestration agent (Claude Code). Uses agentic-workstation skills and routes to account/team packs.
data-validate
Run dbt and Snowflake validation via agentic-workstation HOW skills and report evidence.
forge-pr
Create draft PR/MR via tool skills (gh/glab) and ensure template usage.
loop-operator
Operate autonomous agent loops, monitor progress, and intervene safely when loops stall.
trellis-research
Code and tech search expert. Finds files, patterns, and tech solutions, and PERSISTS every finding to the current task's research/ directory. No code modifications outside that directory.
external-system-integration-expert
你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.