triage
Qué hace
Esta skill revisa la salida de escáneres de seguridad, elimina duplicados, comprueba qué hallazgos son reales y los ordena según lo explotables que son. Es para equipos de seguridad que reciben listas largas de hallazgos sin procesar.
Cuándo usarla
- ✓Cuando un escáner de seguridad ha devuelto una lista larga de hallazgos para revisar.
- ✓Cuando necesitas eliminar hallazgos duplicados de varios análisis.
- ✓Cuando quieres ordenar los problemas reales más urgentes y asignarlos a un responsable.
Link de la skill
https://github.com/anthropics/defending-code-reference-harness/blob/main/.claude/skills/triage/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes revisar esta salida del escáner, quitar las falsas alarmas y decirme qué hay que arreglar primero?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente comprueba cada hallazgo frente al código fuente, agrupa los duplicados, ordena lo que queda según el riesgo real y escribe una lista ordenada con responsables sugeridos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
triage
Adversarial triage of raw security-scanner output. Does four jobs: verify each finding is real, deduplicate across runs and scanners, rank survivors by derived exploitability rather than the scanner's claimed severity, and route each to a component owner. Output is a short, ranked, owned list instead of a raw dump.
Invoke with /triage <findings-path> [--auto] [--votes N] [--repo PATH] [--fp-rules FILE].
Arguments (parse from $ARGUMENTS; positional $1/$2 expansion is
not stable across runtimes):
- findings path (first positional, required): a JSON file, a directory of
JSON files, a
VULN-FINDINGS.json, anINCIDENTS.json, a pipelineresults/<target>/<ts>/directory, or a markdown report. --auto: skip the interview and use defaults. Default mode is interactive.--votes N: verifier votes per finding (default 3; use 1 for a quick pass, 5 for high-stakes batches).--repo PATH: path to the target codebase, read-only (default cwd). Verification needs source access; the skill stops with an error if the cited files aren't reachable.--fp-rules FILE: append the contents of FILE to the verifier's exclusion-rule list (Phase 3a). Use for org-specific precedents: "we use Prisma ORM everywhere — raw-query SQLi only", "k8s resource limits cover DoS", etc. Plain text, one rule per line or paragraph.--fresh: ignore any existing checkpoint in./.triage-state/and start from Phase 0. Without this flag the skill resumes from the last completed phase if a checkpoint is present.
Tools: Read, Glob, Grep, Write, Task, AskUserQuestion. Bash is
permitted only for git, find, wc, ls, jq, and
python3 .claude/skills/_lib/checkpoint.py (checkpoint I/O).
Do not execute target code. No building, running, installing dependencies, or sending requests. A proof-of-concept that accidentally works against something real is unacceptable, and "couldn't write a working PoC" is weak evidence of non-exploitability. Every conclusion comes from reading source. This applies to the orchestrator and every subagent; include the constraint in every Task prompt. For high-confidence HIGH findings, recommend a human-built PoC as a follow-up instead.
Do not reach the network. No package-registry lookups, CVE-database queries, or upstream-commit fetches.
Checkpointing (runs before Phase 0 and after every phase)
On large finding batches a full run can exhaust context or hit rate limits
mid-way — particularly Phase 3, which spawns candidates × votes verifiers.
Phase state persists to ./.triage-state/ so a fresh /triage session can
resume without re-asking the interview or re-spawning verifiers.
All checkpoint I/O goes through python3 .claude/skills/_lib/checkpoint.py
(atomic writes, JSON-validated). Never use the Write tool for progress.json
directly. Never pass payload via heredoc or stdin; target-derived strings
could collide with the heredoc delimiter and break out to shell. The
Write→--from pattern keeps repo-derived bytes out of Bash argv.
State files in ./.triage-state/:
progress.json— single source of truth for resume position:{"status": "running"|"complete", "phase_done": N, "shards_done": [...]}. Resume decisions read ONLY this file, never a glob ofphase*.jsonor shard files (stale files from a prior run must not be trusted).phaseN.json— data payload for phase N (schemas at the tail of each phase section below)._chunk.tmp— transient payload buffer; overwritten before everysave/shard/appendcall.
Start of run — resume check. Bash:
python3 .claude/skills/_lib/checkpoint.py load ./.triage-state
status == "absent"OR"complete", OR--freshin$ARGUMENTS→ fresh start. Bash:python3 .claude/skills/_lib/checkpoint.py reset ./.triage-state, then proceed to Phase 0.status == "running"withphase_done == N→ resume. Read./.triage-state/phase0.jsonthroughphaseN.jsonin order (and anyshard_*.jsonfiles listed inshards_done), merging keys into working state (later files override earlier — checkpoints may be deltas). PrintResuming from checkpoint: Phase N complete (./.triage-state/phaseN.json), and skip directly to Phase N+1.
End of every phase N. Two tool calls:
- Write tool →
./.triage-state/_chunk.tmpcontaining the phase's output JSON (schema at the tail of each phase section). - Bash → `python3 .claude
Preguntas frecuentes
¿Necesita el código fuente?
Sí. Debe leer el código al que apuntan los hallazgos para comprobar si son reales.
¿Puede funcionar sin preguntas?
Sí. Un modo automático usa la configuración por defecto y omite la entrevista.
¿Qué archivos escribe?
Escribe un archivo de triaje en JSON y un resumen en markdown legible.
Detalles
Descripción original del autor
Triage a batch of raw security findings. Verify each is real, collapse duplicates, re-rank by derived exploitability, and tag with an owner. Takes a directory or file of scanner output and writes TRIAGE.json + TRIAGE.md sorted by what actually needs engineering attention. Use when asked to "triage findings", "validate scanner output", "prioritize vulns", or "review the backlog". Runs interactively by default; pass --auto to skip the interview.
Popularidad
- Estrellas en GitHub
- 7,7 mil
- Posición en el ranking
- #13106
- Licencia
- —
- Actualizada
- 6/8/2026
Comentarios
- …
Más skills de este repositorio
customize
7,7 milAyuda a tu agente a adaptar una canalización de IA para encontrar vulnerabilidades a un nuevo tipo de fallo, lenguaje u objetivo, reescribiendo solo las partes específicas.
dnr-hunt
7,7 milAyuda a tu agente a buscar en registros web sin ninguna alerta previa, identificando indicios de ataque y documentando los incidentes que encuentre.
dnr-respond
7,7 milAyuda a tu agente a analizar una alerta o un indicador de seguridad, comprobando si el ataque tuvo éxito y hasta dónde llegó.
patch
7,7 milAyuda a tu agente a redactar correcciones de código candidatas para hallazgos de seguridad verificados, guardadas como diferencias para que una persona las revise.
Skills parecidas
reverse-engineer-anything
422 milAyuda a tu agente a revisar apps y paquetes ya publicados para explicar sus funciones, comparar versiones o guiar una reconstrucción, usando la herramienta REA.
1password
394 milAyuda a tu agente a instalar la CLI de 1Password, iniciar sesión y leer o inyectar secretos sin imprimir sus valores en el chat.
healthcheck
394 milAyuda a tu agente a auditar el ordenador o servidor que ejecuta OpenClaw en busca de riesgos de seguridad, como SSH, cortafuegos, actualizaciones y copias de seguridad, y después sugerir arreglos seguros.