mirror of
https://github.com/elementalsouls/Claude-BugHunter.git
synced 2026-11-24 20:30:23 +01:00
Adds Google AntiGravity as a 5th install target — skill routing to ~/.gemini/config/skills and Burp MCP wiring to ~/.gemini/config/mcp_config.json — across install.sh, install.ps1, setup_harness_mcp.py, docs, and the routing/banner SVGs. Contributed by @re-code-sh. Skills path corrected during review from ~/.gemini/antigravity/skills (which AntiGravity does not read) to the docs-verified ~/.gemini/config/skills; detection tightened off bare ~/.gemini. Verified: bash -n, py_compile, check_doc_counts (0 errors), lint_skills (0 errors), and a full leak sweep of all 9 changed files (no client data, secrets, or internal paths).
119 lines
6.4 KiB
Markdown
119 lines
6.4 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 83 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 **83 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 83 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.
|
|
|
|
## 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/`.
|