PentestGPT: Skill for Claude Code

.agents/skills/to-issues/SKILL.md

to-issues is a skill for Claude Code from GreyDGL/PentestGPT. It costs 31 tokens per session (721 once invoked), scanned A, original, MIT.

A method for turning a plan, specification, or product requirements document into small, independently workable issues. Each issue covers a complete, demonstrable path through the relevant parts of the project.

In plain words
What is it for?
Use it to break plans into issue-tracker tasks, explore the codebase when needed, and define small end-to-end changes that can be worked on independently.
Why use it?
It makes large projects easier to divide, assign, and deliver without creating disconnected tasks for separate technical layers.

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,241 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/to-issues/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 to-issues

README.md
[![agentmods](https://agentmods.dev/badge/skills/greydgl/pentestgpt/to-issues.svg)](https://agentmods.dev/skills/greydgl/pentestgpt/to-issues)
Your own site
<a href="https://agentmods.dev/skills/greydgl/pentestgpt/to-issues"><img src="https://agentmods.dev/badge/skills/greydgl/pentestgpt/to-issues.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 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.00031 $0.00721
Opus 5 $0.00015 $0.00360
Sonnet 5 $0.00006 $0.00144
Haiku 4.5 $0.00003 $0.00072

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

Security

Grade A, and why

to-issues 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 7d 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

Copies of this mod

7 near-identical copies found in the catalogue:

.agents/skills/to-issues/SKILL.md · 85 lines

How it starts

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

To Issues

Break a plan into independently-grabbable issues using vertical slices (tracer bullets).

The issue tracker and triage label vocabulary should have been provided to you — run /setup-matt-pocock-skills if not.

Process

1. Gather context

Work from whatever is already in the conversation context. If the user passes an issue reference (issue number, URL, or path) as an argument, fetch it from the issue tracker and read its full body and comments.

2. Explore the codebase (optional)

If you have not already explored the codebase, do so to understand the current state of the code. Issue titles and descriptions should use the project's domain glossary vocabulary, and respect ADRs in the area you're touching.

Look for opportunities to prefactor the code to make the implementation easier. "Make the change easy, then make the easy change."

3. Draft vertical slices

Break the plan into tracer bullet issues. Each issue is a thin vertical slice that cuts through ALL integration layers end-to-end, NOT a horizontal slice of one layer.

  • Each slice delivers a narrow but COMPLETE path through every layer (schema, API, UI, tests)
  • A completed slice is demoable or verifiable on its own
  • Any prefactoring should be done first

4. Quiz the user

Present the proposed breakdown as a numbered list. For each slice, show:

  • Title: short descriptive name
  • Blocked by: which other slices (if any) must complete first
  • User stories covered: which user stories this addresses (if the source material has them)

Ask the user:

  • Does the granularity feel right? (too coarse / too fine)
  • Are the dependency relationships correct?
  • Should any slices be merged or split further?

Iterate until the user approves the breakdown.

5. Publish the issues to the issue tracker

For each approved slice, publish a new issue to the issue tracker. Use the issue body template below. These issues are considered ready for AFK agents, so publish them with the correct triage label unless instructed otherwise.

Read the full file on GitHub · 85 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. 7d ago First seen · 85 lines · 31 tokens per session scan A f8a72a5bc88a

Subscribe to this mod's changes

to-issues is a skill published in the GitHub repository GreyDGL/PentestGPT (15,241 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 721 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.