Files
b33313ba0e feat(skill): add exploit-completion + sync skill count 83 → 84 everywhere (#229)
New discipline-family skill skills/exploit-completion/SKILL.md for the
failure where the bug is found and the payload is right but the proof is
abandoned one step early: inspect+follow every redirect, diff each
response against a named expected outcome (not a 2xx / delivered POST),
and stop-and-change-approach after N identical failures. XSS is tagged
reflected-unencoded, never 'xss confirmed'. Pairs with triage-validation
and redteam-mindset; no slash command (auto-triggers by description).

Skill-count metrics synced 83 → 84 across every reference, including ones
check_doc_counts does not validate (caught by a repo-wide sweep):
README hero + assets/banner-v2.svg (subtitle was stale at 82, big number
and comment at 83 — all unified to 84), docs/skills.md catalog (+ new
row), docs/index.md, docs/multi-harness.md (x3), INSTALL, USAGE,
SECURITY, docs/architecture.md (incl. original-source breakdown 55 → 56),
docs/credits.md, both .claude-plugin/*.json, and the regenerated
cbh/data/skill_index.json. hunt-* count unchanged (58).

Verified: lint 0 err, doc-count 0 drift, skill_index in sync, leak 0,
engine 91 / tests 129 green, banner valid XML, routing checked (new skill
wins its own prompts, does not hijack triage-validation/redteam-mindset).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-24 06:31:28 +05:30

164 lines
7.7 KiB
Markdown

---
title: Multi-harness install
nav_order: 3
description: Run the Claude-BugHunter skills on OpenCode, Codex, Hermes Agent, and Google AntiGravity — not just Claude Code.
---
# Multi-harness install
The 84 skills are plain **Agent Skills** (`SKILL.md` = `name` + `description` frontmatter + Markdown). That format is an open standard, so the *knowledge* runs on more than Claude Code. This page shows how to install it on **OpenCode**, **OpenAI Codex CLI**, **Hermes Agent**, and **Google AntiGravity**.
> **What ports and what doesn't.** The **84 skills** (payloads, methodology, bypass tables, disclosed-report patterns) port to every harness below. The **`/hunt` slash commands, the plugin marketplace, and the `hunt-dispatch` subagent routing are Claude-Code-specific** and do **not** port — other harnesses get the knowledge, not the orchestration engine. **Burp MCP** ports to all of them (it's just an MCP server).
## Compatibility matrix (verified mid-2026)
| Harness | Reads `SKILL.md`? | Skill path it loads | MCP (Burp) | Slash commands |
|---|---|---|---|---|
| **Claude Code** (baseline) | ✅ native | `~/.claude/skills/` | ✅ | ✅ (`/hunt`, …) |
| **OpenCode** | ✅ native | reads `~/.claude/skills/` **and** `~/.agents/skills/` | ✅ `opencode.json` | ✅ own format |
| **Codex CLI** | ✅ native | `~/.agents/skills/` (does *not* read `~/.claude/`) | ✅ `~/.codex/config.toml` | ✅ own format |
| **Hermes Agent** | ✅ (agentskills.io) | `~/.hermes/skills/` | ✅ | ✅ own format |
| **Google AntiGravity** | ✅ native | `~/.gemini/config/skills/` | ✅ `~/.gemini/config/mcp_config.json` | ✅ own format |
**Key:** `~/.agents/skills/` is the shared path read by **Codex + OpenCode**. So copies cover everything: `~/.claude/skills/` (Claude) + `~/.agents/skills/` (Codex + OpenCode), plus `~/.hermes/skills/` for Hermes, and `~/.gemini/config/skills/` for Google AntiGravity. Required frontmatter is identical across all harnesses (`name` lowercase-hyphen ≤64, `description` ≤1024) — our `scripts/lint_skills.py` enforces it, so **no per-skill conversion is needed**.
## Install
One command installs the skills to every harness's path (copy install; existing skills are backed up outside the loading path):
```bash
# macOS / Linux
git clone https://github.com/elementalsouls/Claude-BugHunter.git
cd Claude-BugHunter
bash scripts/install.sh --all # Claude + ~/.agents/skills (Codex/OpenCode) + ~/.hermes/skills + ~/.gemini/config/skills
```
```powershell
# Windows (PowerShell)
git clone https://github.com/elementalsouls/Claude-BugHunter.git
cd Claude-BugHunter
pwsh ./scripts/install.ps1 -All # Claude + ~/.agents/skills (Codex/OpenCode) + ~/.hermes/skills + ~/.gemini/config/skills
```
Pick specific harnesses instead:
```bash
# macOS / Linux
bash scripts/install.sh # Claude Code only (default)
bash scripts/install.sh --agents # + Codex & OpenCode (~/.agents/skills)
bash scripts/install.sh --hermes # + Hermes Agent (~/.hermes/skills)
bash scripts/install.sh --antigravity # + Google AntiGravity (~/.gemini/config/skills)
```
```powershell
# Windows (PowerShell)
pwsh ./scripts/install.ps1 # Claude Code only (default)
pwsh ./scripts/install.ps1 -Agents # + Codex & OpenCode (~/.agents/skills)
pwsh ./scripts/install.ps1 -Hermes # + Hermes Agent (~/.hermes/skills)
pwsh ./scripts/install.ps1 -AntiGravity # + Google AntiGravity (~/.gemini/config/skills)
```
- **OpenCode** already reads `~/.claude/skills/`, so the plain installer (no flags) is enough for OpenCode — you don't need `--agents`/`-Agents` for it. That flag exists mainly for **Codex** (which reads only `~/.agents/skills/`).
- *Caveat (verified):* OpenCode reads **both** `~/.claude/skills/` and `~/.agents/skills/`. If both are populated (e.g. you ran `--all`/`-All` for Codex too), OpenCode logs harmless `duplicate skill name` warnings and loads one copy — all 84 skills still work. Only populate `~/.agents/skills/` if you actually use Codex.
- **Codex is the strict parser** (verified by testing): it hard-rejects descriptions > 1024 chars and invalid YAML, where Claude/OpenCode/Hermes/AntiGravity are lenient. So the installer **auto-truncates** any description > 1024 to ≤1024 **only in the `~/.agents/skills` (Codex) copy** — your `~/.claude`, `~/.hermes`, and `~/.gemini/config/skills` copies keep the full descriptions (incl. non-English trigger words). The install logs which were truncated (today: the 3 aggregator router skills). `--normalize-frontmatter` (`-NormalizeFrontmatter`) additionally strips the non-standard `sources:`/`report_count:` keys (optional — Codex tolerates them).
## Burp MCP on other harnesses
Your Burp MCP is a stdio command, so it translates 1:1. `--burp-mcp` (`-BurpMcp`, with a harness flag) wires it automatically by translating your **existing** Claude Code Burp definition (from `~/.claude.json`) — it backs up each config first:
```bash
# macOS / Linux
bash scripts/install.sh --all --burp-mcp # writes OpenCode, Codex, and AntiGravity MCP config; prints Hermes guidance
```
```powershell
# Windows (PowerShell)
pwsh ./scripts/install.ps1 -All -BurpMcp # writes OpenCode, Codex, and AntiGravity MCP config; prints Hermes guidance
```
Or do it manually (replace the jar path / port with yours):
**OpenCode** — `~/.config/opencode/opencode.json`
```json
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"burp": {
"type": "local",
"command": ["java", "-jar", "~/.BurpSuite/mcp-proxy/mcp-proxy-all.jar", "--sse-url", "http://127.0.0.1:9876"],
"enabled": true
}
}
}
```
**Codex** — `~/.codex/config.toml`
```toml
[mcp_servers.burp]
command = "java"
args = ["-jar", "~/.BurpSuite/mcp-proxy/mcp-proxy-all.jar", "--sse-url", "http://127.0.0.1:9876"]
```
**Google AntiGravity** — `~/.gemini/config/mcp_config.json`
```json
{
"mcpServers": {
"burp": {
"command": "java",
"args": ["-jar", "~/.BurpSuite/mcp-proxy/mcp-proxy-all.jar", "--sse-url", "http://127.0.0.1:9876"]
}
}
}
```
**Hermes** — see the [Hermes MCP guide](https://hermes-agent.nousresearch.com/docs/guides/use-mcp-with-hermes); use the same `java -jar … --sse-url …` command.
## HackerOne MCP on other harnesses
The in-repo HackerOne MCP (`mcp/hackerone/server.py`, stdlib-only stdio) also translates 1:1. `--hackerone-mcp` wires it automatically (public tools need no key; set `HACKERONE_API_USERNAME` / `HACKERONE_API_TOKEN` before running to carry the logged-in tools into the config):
```bash
# macOS / Linux — wire both MCPs into every detected harness
bash scripts/install.sh --all --burp-mcp --hackerone-mcp
```
Or manually (replace `/path/to/Claude-BugHunter` with your clone):
**OpenCode** — `~/.config/opencode/opencode.json`
```json
{
"mcp": {
"hackerone": {
"type": "local",
"command": ["python3", "/path/to/Claude-BugHunter/mcp/hackerone/server.py"],
"enabled": true
}
}
}
```
**Codex** — `~/.codex/config.toml`
```toml
[mcp_servers.hackerone]
command = "python3"
args = ["/path/to/Claude-BugHunter/mcp/hackerone/server.py"]
```
**Google AntiGravity** — `~/.gemini/config/mcp_config.json`
```json
{
"mcpServers": {
"hackerone": {
"command": "python3",
"args": ["/path/to/Claude-BugHunter/mcp/hackerone/server.py"]
}
}
}
```
**Hermes** — same stdio command under the `mcp_servers:` block; see the Hermes MCP guide. On Windows give the full path to `python.exe` (`python3` there is often the Store stub).
## Verify it loaded
- **OpenCode / Codex / Hermes / Google AntiGravity:** open the tool and describe a task (e.g. *"test this endpoint for SSRF"*) — the matching `hunt-*` skill should auto-load by its description, same as in Claude Code.
- **Hermes:** `hermes skills` should list the bundle from `~/.hermes/skills/`.