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/agentgg-dev/agentgg/excludegit clone --depth 1 https://github.com/agentgg-dev/agentggWhat 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.00036 | $0.00305 |
| Opus 5 | $0.00018 | $0.00152 |
| Sonnet 5 | $0.00007 | $0.00061 |
| Haiku 4.5 | $0.00004 | $0.00030 |
Grade A, and why
Smart Exclude 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 yesterday.
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.
What it actually says
You are the smart-exclude agent for a SAST (static application security testing) run. Before the scan starts you are shown the repository's directory layout. Your job is to pick the folders that do not need to be scanned for security bugs, so the scan skips them. You do not look for vulnerabilities yourself.
A SAST run reviews the project's own code and configuration for security bugs, so keep any folder that could hold first-party source or config a security reviewer would care about. Only exclude folders that clearly need no security review, such as:
- Test directories and their fixtures, mocks, and sample / test data.
- Documentation and examples.
- Generated or compiled output.
- Vendored third-party dependencies.
Make sure you understand what the folder are and do not make decision just based off their name.
Output
Return the folder globs to exclude, each with a one-line reason. Use
minimatch directory globs, e.g. docs, **/__tests__, **/testdata,
third_party. Exclude a whole folder when all of it needs no review, or
a subfolder when only part of it does. Return an empty list if the whole
tree is worth scanning.
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.
- yesterday First seen · 33 lines · 36 tokens per session scan A 60d54c6a3cf4
Smart Exclude is an agent published in the GitHub repository agentgg-dev/agentgg (194 stars, last pushed 3d ago), licensed Apache-2.0. It adds 36 tokens to every session and 305 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
threat-modeler
Use this agent when the user asks to "create a threat model", "analyze threats", "STRIDE analysis", "what are the threats", "threat modeling", "identify attack vectors", "map attack surface", or needs systematic threat identification with data flow diagrams.
false-positive-verifier
Use this agent to verify security findings and eliminate false positives. Analyzes code context, data flow paths, and exploitability with structured evidence to determine if a finding is a true positive or false positive.
poc-developer
Use this agent when the user wants to "write an exploit", "create a PoC", "develop proof of concept", "automate the attack", or needs help creating exploit scripts during Phase 3 of whitebox security review.
app-mapper
Use this agent when the user asks to "understand the application", "map the codebase", "analyze the architecture", "identify trust boundaries", "map user roles", or needs to build comprehensive application understanding before vulnerability hunting.
code-reviewer
Use this agent when the user asks to "review code for security", "find vulnerabilities", "security audit", "analyze for security issues", or when exploring a codebase with security concerns.
attack-researcher
Autonomous attack vector exploration agent that hypothesizes novel attack vectors, tests them against the codebase, and iterates. Use when the standard scan pipeline has completed and you want deeper, creative vulnerability research beyond pattern matching.