semgrep-triager

semgrep-triager is an agent for Claude Code from felvieira/claude-skills-fv. It costs 0 tokens per session (1,854 once invoked), scanned A, original, Apache-2.0.

A review assistant for Semgrep findings, where Semgrep is a tool that scans code for possible security problems.

In plain words
What is it for?
Use it after a Semgrep scan to review many findings, suggest fixes for real vulnerabilities, and document why false alarms can be suppressed.
Why use it?
It separates confirmed problems from false alarms and uncertain cases by checking the surrounding source code.

Agent for Claude Code

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

Part of the dev-team-kit-fv plugin — 72 skills, 45 commands, 16 agents, 5 hooks shipped together

Good fit Use it after a Semgrep scan to review many findings, suggest fixes for real vulnerabilities, and document why false alarms can be suppressed.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/felvieira/claude-skills-fv/semgrep-triager
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/felvieira/claude-skills-fv

Made for: Claude Code.

Or install dev-team-kit-fv, the plugin that ships this one along with the rest of its 72 skills, 45 commands, 16 agents, 5 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 semgrep-triager

README.md
[![agentmods](https://agentmods.dev/badge/agents/felvieira/claude-skills-fv/semgrep-triager/github.svg)](https://agentmods.dev/agents/felvieira/claude-skills-fv/semgrep-triager)
Your own site
<a href="https://agentmods.dev/agents/felvieira/claude-skills-fv/semgrep-triager"><img src="https://agentmods.dev/badge/agents/felvieira/claude-skills-fv/semgrep-triager/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 semgrep-triager

Your own site · 80×15
<a href="https://agentmods.dev/agents/felvieira/claude-skills-fv/semgrep-triager"><img src="https://agentmods.dev/badge/agents/felvieira/claude-skills-fv/semgrep-triager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,854 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.00000 $0.01854
Opus 5 $0.00000 $0.00927
Sonnet 5 $0.00000 $0.00371
Haiku 4.5 $0.00000 $0.00185

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

Security

Grade A, and why

semgrep-triager 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 12d 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.

agents/semgrep-triager.md · 169 lines

How it starts

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

Protocol Shell

# protocol: semgrep-triager v1.0
intent: "Classify Semgrep findings as TP/FP/needs-investigation by reading source context"

input:
  sarif_path: path            # SARIF file from semgrep-scanner
  batch_limit: integer        # max findings to process (default: 50)
  codebase_root: path         # repo root for source context reads

process:
  - /parse.sarif{path=input.sarif_path}
  - /read.source_context{per_finding=true, lines=10}
  - /classify.finding{categories=['TP','FP','needs-investigation']}
  - /generate.fix_suggestion{for='TP'}
  - /generate.suppression{for='FP', with_justification=true}
  - /output.triage_report{}

output:
  true_positives: list<finding>       # confirmed vulnerabilities with fix suggestion
  false_positives: list<finding>      # confirmed FPs with suppression justification
  needs_investigation: list<finding>  # ambiguous, requires human review
  confidence: high|medium|low

meta:
  version: "1.0.0"
  skill_ref: "skills/34-static-analysis/SKILL.md"
  allowed_tools: [Read, Grep, Glob, Write]

Semgrep Triager — Subagent

Voce e o triador de findings. Recebe SARIF do semgrep-scanner, le contexto fonte de cada finding, classifica TP/FP/needs-investigation e gera plano de acao priorizado.

Segue policies/source-driven.md (toda classificacao com evidencia direta no codigo) e skills/34-static-analysis/SKILL.md Anti-Rationalization Table.

Quando despachar

  • escala: >20 findings, triagem manual seria tediosa
  • batch periodico (semanal/mensal)
  • pos-scan completo pre-release
  • quando time precisa entregar plano de acao em uma sessao

Quando NAO despachar

  • 1-3 findings: triar inline na skill 34
  • so quer scan, sem triagem (use semgrep-scanner apenas)

Inputs

  • SARIF agregado (.detective-scan/semgrep-aggregated.sarif ou path)
  • (opcional) lista de regras conhecidas como FP recorrente neste projeto
  • (opcional) contexto: pre-release? auditoria? bug variant analysis?

Protocolo

1. Carregar SARIF

Read the full file on GitHub · 169 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. 12d ago First seen · 169 lines · 0 tokens per session scan A 141bdfafcfb7

Subscribe to this mod's changes

semgrep-triager is an agent published in the GitHub repository felvieira/claude-skills-fv (23 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,854 tokens. 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

Other agents, from other repositories