# autopilot

autopilot — a Claude Code skill that runs a hunt across all vulnerability classes for a target and keeps the agent from calling it done too early.

- skill · `type=skill` · Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1298 repo stars
- Author: H-mmer
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/H-mmer/pentest-agents/tree/HEAD/.claude/skills/autopilot/SKILL.md
- Updated: 2026-06-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/h-mmer-autopilot

## What it does

Point `autopilot` at a host and it assigns each vulnerability class its own hunter subagent: IDOR, the XSS variants, SSRF, SQLi and the rest of the fixed class list. A class may only be skipped with a technical reason tied to what the surface probe found, recorded as a `not-applicable` entry in brain state.

Setup is strict. The skill loads `rules/hunting.md` and `rules/mistakes.md`, confirms targets against `scope.yaml`, then pulls every constraint out of `policy.md` and injects that block into each subagent dispatch — headers, account rules, forbidden actions. Run metadata lands in `.autopilot-run.env`, prior knowledge comes from `uv run python3 $CLAUDE_PROJECT_DIR/tools/brain.py brief <target>`.

\`--autonomous` enforces an exhaustion contract: the loop keeps dispatching until every target is tested and the queues are empty, with no clarifying questions. That makes a complete `policy.md` and an accurate `scope.yaml` the difference between a real run and a gate failure.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill autopilot -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/autopilot/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/autopilot/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill autopilot -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/autopilot/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill autopilot -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/autopilot/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install H-mmer/pentest-agents .claude/skills/autopilot
```

2. **Manually: put the files in place**
- File: `.github/skills/autopilot/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill autopilot -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/H-mmer/pentest-agents --path .claude/skills/autopilot
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/autopilot/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/H-mmer/pentest-agents/tree/HEAD/.claude/skills/autopilot/SKILL.md

## When to use it
- cover every vulnerability class on a target, not just the obvious ones
- record a written reason when a class does not apply
- carry program rules into each subagent dispatch
- pick up an interrupted hunt from saved brain state
- produce a submission-ready report without auto-submitting

## Example prompts
- \`/autopilot target.com --interactive` — run the hunt and pause after each validated finding
- \`/autopilot target.com --autonomous` — keep going until every class is exhausted
- \`/autopilot target.com --resume` — continue from the previous session

## Similar
- [find-security-vulnerabilities-in-code](https://affpapa.org/en/nevibecode/skills/find-security-vulnerabilities-in-code.md) — skill · 17400 installs
- [swarm-orchestrator](https://affpapa.org/en/nevibecode/agents/swarm-orchestrator.md) — subagent · ★ 2482 repo stars
- [hack](https://affpapa.org/en/nevibecode/skills/hack.md) — skill · 4800 installs
- [csp-bypass-advanced](https://affpapa.org/en/nevibecode/skills/csp-bypass-advanced.md) — skill · 4000 installs
- [shannon](https://affpapa.org/en/nevibecode/skills/shannon.md) — skill · 3000 installs
- [shannon-ai-pentester](https://affpapa.org/en/nevibecode/skills/shannon-ai-pentester.md) — skill · 1700 installs

## Other versions with the same name
- [autopilot · yeachan-heo](https://affpapa.org/en/nevibecode/skills/yeachan-heo-autopilot.md) — 1100 installs
- [autopilot · nick-vels](https://affpapa.org/en/nevibecode/skills/autopilot.md) — 6300 installs
- [autopilot · sethgammon](https://affpapa.org/en/nevibecode/skills/sethgammon-autopilot.md) — ★ 937 repo stars

From the same set: [h-mmer/pentest-agents](https://affpapa.org/en/nevibecode/by/h-mmer/pentest-agents.md) — 43 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
