PentestGPT: Skill for Claude Code

.agents/skills/ask-matt/SKILL.md

ask-matt is a skill for Claude Code from GreyDGL/PentestGPT. It costs 26 tokens per session (1,066 once invoked), scanned A, a copy of ask-matt, MIT.

A guide for choosing which available coding workflow fits your current task.

In plain words
What is it for?
Use it to route an idea toward planning, prototyping, documentation, issue creation, or implementation.
Why use it?
It removes the need to remember every workflow or guess which sequence of steps applies.

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,280 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/ask-matt/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 ask-matt

README.md
[![agentmods](https://agentmods.dev/badge/skills/greydgl/pentestgpt/ask-matt.svg)](https://agentmods.dev/skills/greydgl/pentestgpt/ask-matt)
Your own site
<a href="https://agentmods.dev/skills/greydgl/pentestgpt/ask-matt"><img src="https://agentmods.dev/badge/skills/greydgl/pentestgpt/ask-matt.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,066 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 89% 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.00026 $0.01066
Opus 5 $0.00013 $0.00533
Sonnet 5 $0.00005 $0.00213
Haiku 4.5 $0.00003 $0.00107

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

Security

Grade A, and why

ask-matt 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

89% identical to ask-matt — 36 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/ask-matt/SKILL.md · 62 lines

How it starts

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

Ask Matt

You don't remember every skill, so ask.

A flow is a path through the skills. Most paths run along one main flow, and two on-ramps merge onto it. Everything else is standalone.

The main flow: idea → ship

The route most work travels. You have an idea and want it built.

  1. /grill-with-docs — sharpen the idea by interview. Start here when you have a codebase: it's stateful, retaining what it learns in CONTEXT.md and ADRs. (No codebase? Use /grill-me — see Standalone.)
  2. Branch — can you settle every question in conversation? If a question needs a runnable answer (state, business logic, a UI you have to see), detour through a prototype, bridged by /handoff in both directions (see Crossing sessions):
    • /handoff out, then open a fresh session against that file,
    • /prototype to answer the question with throwaway code,
    • /handoff back what you learned, and reference it from the original idea thread.
  3. Branch — is this a multi-session build?
    • Yes/to-prd (turn the thread into a PRD) → /to-issues (split the PRD into independently-grabbable issues). Because the issues are independent, clear context between each one: start a fresh session per issue and kick off /implement by passing it the PRD and the single issue to work on.
    • No/implement right here, in the same context window.

Context hygiene

Keep steps 1–3 in one unbroken context window — don't compact or clear until after /to-issues — so the grilling, PRD, and issues all build on the same thinking. Each /implement then starts fresh, working from the issue.

The limit on this is the smart zone: the window (~120k tokens on state-of-the-art models) within which the model still reasons sharply. If a session approaches it before /to-issues, don't push on degraded — /handoff and continue in a fresh thread.

On-ramps

Read the full file on GitHub · 62 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. 8d ago First seen · 62 lines · 26 tokens per session scan A fb534e029b0b

Subscribe to this mod's changes

ask-matt is a skill published in the GitHub repository GreyDGL/PentestGPT (15,280 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 1,066 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to ask-matt, differing in 36 lines, and is treated as a copy.

Related

Other skills, from other repositories

ml-engineering

Field-tested methodology and concrete recipes for training and operating large-scale LLM/VLM/multi-modal models end to end - choosing and benchmarking accelerators, storage and network; SLURM/Kubernetes orchestration; maximizing training throughput and fitting models in memory; diagnosing and surviving training…

stas00/ml-engineering · 234 tokens

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…

langfuse/langfuse · 67 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

langfuse/langfuse · 58 tokens

paper-daily

Discover daily arXiv papers for LLM/Agent topics, rank candidates with keyword and institution filters, and prepare a small selected paper list for llm-paper-daily style workflows.

xianshang33/llm-paper-daily · 41 tokens

paper-subscribe

Subscribe to the centrally generated paper-daily feed, prepare a local digest, and deliver it on a schedule.

xianshang33/llm-paper-daily · 26 tokens

skill-adaptor

Run SkillAdaptor to evolve agent skills from task failures. Use when improving SKILL.md files from trajectories or after benchmark runs.

zjunlp/SkillAdaptor · 29 tokens