fp-reduction

fp-reduction is an agent for Claude Code from bdfinst/agentic-dev-team. It costs 40 tokens per session (1,057 once invoked), scanned A, original, MIT.

A security-analysis agent that checks reported findings against code reachability and evidence, then records a verdict for every finding.

In plain words
What is it for?
Use it to classify findings as confirmed, uncertain, or false positives, using a code property graph when Joern is available and a fallback review otherwise.
Why use it?
Automated security checks often produce false positives—warnings that are not real problems—and silently removing them makes results hard to trust.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model 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 security-assessment plugin — 3 skills, 5 commands, 13 agents shipped together

Good fit Use it to classify findings as confirmed, uncertain, or false positives, using a code property graph when Joern is available and a fallback review otherwise.

Compare 6 agents 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 bdfinst/agentic-dev-team
Claude Code
/plugin install security-assessment

Made for: Claude Code.

Or install security-assessment, the plugin that ships this one along with the rest of its 3 skills, 5 commands, 13 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 fp-reduction

README.md
[![agentmods](https://agentmods.dev/badge/agents/bdfinst/agentic-dev-team/fp-reduction.svg)](https://agentmods.dev/agents/bdfinst/agentic-dev-team/fp-reduction)
Your own site
<a href="https://agentmods.dev/agents/bdfinst/agentic-dev-team/fp-reduction"><img src="https://agentmods.dev/badge/agents/bdfinst/agentic-dev-team/fp-reduction.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 1,057 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.00040 $0.01057
Opus 5 $0.00020 $0.00528
Sonnet 5 $0.00008 $0.00211
Haiku 4.5 $0.00004 $0.00106

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

Security

Grade A, and why

fp-reduction 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.

plugins/security-assessment/agents/fp-reduction.md · 106 lines

How it starts

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

FP-Reduction Agent

Cites: [severity-floors]

Execute the rubric defined in skills/false-positive-reduction/SKILL.md against the unified finding stream. Never silently discard a finding — every input produces exactly one disposition entry, including false_positive.

Context needs: project-structure

Inputs

  1. Unified finding list (file path or stdin)
  2. RECON artifact for the target repo
  3. Optional: joern-computed CPG path (preferred over LLM fallback when available)

Outputs

  • memory/disposition-<slug>.json — schema: plugins/dev-team/knowledge/schemas/disposition-register-v1.json
  • memory/disposition-<slug>.md — human-readable, grouped by verdict

Procedure

1. Detect joern

Run command -v joern. Set register.reachability_tool = "joern-cpg" if present, else "llm-fallback". Joern-present mode invokes ${CLAUDE_PLUGIN_ROOT}/skills/false-positive-reduction/tools/reachability.sh to build/load the CPG.

2. Per finding, apply stages 0–5

Stages and disposition rules are defined in skills/false-positive-reduction/SKILL.md § "Six-stage rubric". Do not re-implement; follow the skill. See docs/agents/fp-reduction.md for what Stage 0 (devil's advocate) does and does not affect.

3. Score exploitability

Apply the weighted-factor table in the skill (§ "Exploitability scoring"). Sum factor weights, cap at 10.

4. Apply domain-class severity floors

Read knowledge/severity-floors.json for the allow-list of recognized floor classes (hardcoded-creds, weak-crypto, tls-disabled, info-leak-unauth, unauth-admin-endpoint, fail-open-scoring, emulation-bypass, client-controlled-aggregate).

When emitting a floor, use the convention <class> floor=<n> (optionally floor=<n> suppressed to <m> to signal the floor does not apply in context) in exploitability.rationale. The downstream scripts/apply-severity-floors.sh reads this convention.

Final exploitability = max(mechanical_score, floor_for_class). Record the calibration in the rationale, e.g.: "Floor applied (class: hardcoded-creds, prod-reachable); mechanical: 3; final: 9."

Read the full file on GitHub · 106 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. 2d ago First seen · 106 lines · 40 tokens per session scan A 5830926e6f21

Subscribe to this mod's changes

fp-reduction is an agent published in the GitHub repository bdfinst/agentic-dev-team (280 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 1,057 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-09-05.