PentestGPT: Skill for Claude Code

.agents/skills/triage/SKILL.md

triage is a skill for Claude Code from GreyDGL/PentestGPT. It costs 33 tokens per session (1,554 once invoked), scanned A, a copy of triage, MIT.

An issue-management process that categorizes, checks, questions, and prepares issues or external pull requests for development. It uses defined states such as needs-triage, needs-info, and ready-for-agent.

In plain words
What is it for?
Use it to classify bugs and enhancements, request missing information, assess pull requests, and prepare work for an agent or human developer.
Why use it?
It turns vague reports into clear, durable briefs and makes the next action visible. It also applies the project's required disclaimer to comments and issues created during triage.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is GreyDGL/PentestGPT's own configuration. It tells Claude Code how to work on PentestGPT itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything PentestGPT configures →

About the project

PentestGPT is an AI-driven framework for penetration testing and capture-the-flag challenges. It guides staged workflows such as reconnaissance, asset discovery, vulnerability identification, exploitation, and reporting, using large language models to operate tools and reason about findings. The catalogue includes skills and instructions for using it.

GreyDGL/PentestGPT · 15,253 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to GreyDGL/PentestGPT. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/GreyDGL/PentestGPT/main/.agents/skills/triage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/GreyDGL/PentestGPT

Made for: Claude Code.

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 triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/greydgl/pentestgpt/triage.svg)](https://agentmods.dev/skills/greydgl/pentestgpt/triage)
Your own site
<a href="https://agentmods.dev/skills/greydgl/pentestgpt/triage"><img src="https://agentmods.dev/badge/skills/greydgl/pentestgpt/triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,554 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 94% copy Near-identical to another mod 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.00033 $0.01554
Opus 5 $0.00016 $0.00777
Sonnet 5 $0.00007 $0.00311
Haiku 4.5 $0.00003 $0.00155

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

Security

Grade A, and why

triage 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 8d 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.

Origin

This is a copy

94% identical to triage — 58 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/triage/SKILL.md · 113 lines

How it starts

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

Triage

Move issues on the project issue tracker through a small state machine of triage roles.

If this repo treats external pull requests as a request surface (see the issue-tracker config), triage covers them too: a PR is an issue with attached code — same roles, same states, same machine, with a few deltas marked "for a PR" below. Resolve a bare #42 to an issue or PR per the tracker config.

Every comment or issue posted to the issue tracker during triage must start with this disclaimer:

> *This was generated by AI during triage.*

Reference docs

Roles

Two category roles:

  • bug — something is broken
  • enhancement — new feature or improvement

Five state roles:

  • needs-triage — maintainer needs to evaluate
  • needs-info — waiting on reporter for more information
  • ready-for-agent — fully specified, ready for an AFK agent
  • ready-for-human — needs human implementation
  • wontfix — will not be actioned

For a PR, the same states read against the attached code: ready-for-agent means a brief is attached and an agent should take the next step on the diff; ready-for-human means it's ready for a human to merge.

Every triaged issue should carry exactly one category role and one state role. If state roles conflict, flag it and ask the maintainer before doing anything else.

These are canonical role names — the actual label strings used in the issue tracker may differ. The mapping should have been provided to you - run /setup-matt-pocock-skills if not.

State transitions: an unlabeled issue normally goes to needs-triage first; from there it moves to needs-info, ready-for-agent, ready-for-human, or wontfix. needs-info returns to needs-triage once the reporter replies. The maintainer can override at any time — flag transitions that look unusual and ask before proceeding.

Read the full file on GitHub · 113 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 113 lines · 33 tokens per session scan A d45827c299c0

Subscribe to this mod's changes

triage is a skill published in the GitHub repository GreyDGL/PentestGPT (15,253 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 1,554 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to triage, differing in 58 lines, and is treated as a copy.