hercules-mcp
Route authorized penetration testing, security research, CTF, forensics, browser testing, vulnerability validation, and lab work through the Hercules MCP…
Skill by 0xMihirK
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/0xmihirk-hercules-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, testing, security, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/hercules-mcp
What's inside
- Skill name
hercules-mcp- Description
- Route authorized penetration testing, security research, CTF, forensics, browser testing, vulnerability validation, and lab work through the Hercules MCP server. Use when choosing or sequencing Hercules reconnaissance, Nmap/NSE, web scanning, Nuclei, browser, Metasploit, password, CTF, shell, workspace, job, artifact, or session tools.
- License
- MIT
- Instructions
- 96 lines in SKILL.md · view on GitHub
Files (11)
- SKILL.md
- browser.md · references/
- ctf-workflow.md · references/
- efficiency-and-output.md · references/
- exploitation-and-sessions.md · references/
- nmap-nse.md · references/
- nuclei.md · references/
- parameter-reference.md · references/
- post-exploitation-resources.md · references/
- tool-routing.md · references/
- workspace-and-evidence.md · references/
SKILL.md (first lines)
# Hercules MCP Use Hercules as a staged security workflow, not as a bag of unrelated commands. ## Install, update, or recover Use the repository's `install.md` and absolute `hercules-setup` launcher. Identify the current client explicitly; never infer it from installed executables. Run `status` first, then the authorized `install`, `repair`, or `resume` operation for only that client. Preserve existing capabilities, configuration, and evidence. New installs default to full capabilities. Do not move a live virtual environment. Host setup and cold `verify` never start a container or call `shell_exec`. Ask separately before `runtime prepare` downloads/builds or `verify --runtime`. The runtime is one full Kali image; selections hide tools, not packages. `auto` pulls the published digest (GHCR, then the Docker Hub mirror) or reuses a validated cache, and never hides a pull failure. Offer `--image-source build` (slower, builds from source) for an unpublished revision, custom trust, or offline. If a harness denies an operation, stop that action and name the blocked phase; do not change permission modes, add blanket allow rules, or retry another tool. Resume only after the user resolves the denial through the harness's own controls. Report host revision, selected-client registration/reload, runtime preparation, host/runtime verification, and cleanup separately. A registered server may still need a client reload; a cold connection does not establish runtime readiness. ## Establish authorization and scope 1. Confirm the target, permitted techniques, and stopping conditions before active work. 2. Hercules imposes no target allow/block list; you are responsible for staying within the authorized scope. 3. Start with passive or low-impact discovery. Escalate only when the request and evidence justify it. 4. Never use installation checks to scan, exploit, navigate to, or verify egress through an external target. 5. Keep secrets out of narration and tool-call summaries. Hercules redacts common secrets, but avoid echoing them. ## Select the smallest effective tool - Call `system_start_container` only immediately before the first Docker-backed operation. Reuse the active container, and stop it when the work is complete. - Inspect current or retained files with `workspace_inspect` before startup. Keep related challenge folders together; coordinate workers before rotation or shutdown. - Prefer a structured Hercules tool. Use `shell_exec` only when the typed surface cannot express the operation. - Check the tools currently exposed before planning. Optional tools may be hidden; do not invent a missing tool. The full image's inventory is separate from MCP visibility. Check the actual backend before using an authorized shell escape hatch. - Use `network_curl` for deterministic HTTP requests. Use browser tools when JavaScript, authentication state, DOM interaction, or visual evidence matters. - The browser is Obscura: **CSP is not enforced** and native downloads are unsupported (limits in [browser.md](references/browser.md)). The runtime uses **host networking**, so container `localhost`/`127.0.0.1` is the host. The browser runs unprivileged but has **NO SSRF boundary** — it can reach host-local, the LAN, and cloud-metadata (`169.254.169.254`) services, so only browse explicitly authorized targets. - Reverse-shell listeners: call `system_network_info` for the LHOST interface. On host networking a listener binds the host directly, so any port (TCP or UDP) is reachable from an external target. - Use installed Nmap scripts or Nuclei templates before authoring custom content. - Use foreground calls for bounded work. Use `shell_exec_background` plus `shell_check_job` for long-running commands. - Preserve useful evidence. Follow `raw_artifact`, `stdout_artifact`, or `stderr_artifact` paths when output is filtered or truncated. - Treat `shell_exec`, `browser_cmd`, and raw `extra_args` as administrator escape hatches outside structured-target guarantees. Read [tool-routing.md](references/tool-routing.md) before choosing among unfamiliar tools or selectors. Read [parameter-reference.md](references/parameter-reference.md) before repairing a rejected call or using an unfamiliar parameter. ## Follow the operating loop 1. Discover: identify hosts, DNS, services, technologies, and reachable HTTP surfaces. 2. Focus: choose the narrowest relevant scanner, script, template, or browser path. 3. Verify: corroborate findings with a second signal and retain raw evidence when needed. 4. Escalate: exploit, brute-force, generate payloads, or start listeners only when explicitly authorized. 5. Recover: inspect timeout and partial-output fields, manage jobs or sessions, and explicitly restart the current container or create a clean stopped session when needed. 6. Report: separate observed evidence from inference, note incomplete output, and state what was not tested. Parallelize independent passive or light probes within advertised concurrency limits. Serialize dependent scans, browser mutations in one session, credential testing, exploitation, and interactive session work. Normalize targets and reuse existing results or artifacts instead of repeating a scan. ## Use advanced workflows deliberately - For Nmap mode choice or stock NSE selection, read [nmap-nse.md](references/nmap-nse.md). For custom Lua, use the bundled `hercules-nmap-nse` skill. - For Nuclei tags or installed templates, read [nuclei.md](references/nuclei.md). For custom YAML, use the bundled `hercules-nuclei` skill. - For interactive or visual web work, read [browser.md](references/browser.md). - For Metasploit, payloads, listeners, background jobs, and recovery, read [exploitation-and-sessions.md](references/exploitation-and-sessions.md). - To check a product/version against CVEs, advisories, and PoC leads, read [vulnerability-research.md](references/vulnerability-research.md). - For workspace selection, paged evidence reads, retention, jobs, artifacts, and recovery, read [workspace-and-evidence.md](references/workspace-and-evidence.md). - For CTF objectives, continuity notes, candidate validation, rate coordination, or custom tools, read [ctf-workflow.md](references/ctf-workflow.md). - For LinPEAS, WinPEAS, PowerUp, GTFOBins, or LOLBAS selection and handling, read [post-exploitation-resources.md](references/post-exploitation-resources.md). - For token-efficient execution, output completeness, `include_raw`, artifacts, polling, and result interpretation, read [efficiency-and-output.md](references/efficiency-and-output.md). - For assessment-wide tool choice and reporting, use the bundled `hercules-operator` skill. For a specific domain, load only its matching `hercules-application-testing`, `hercules-infrastructure`, `hercules-wireless-embedded`, `hercules-binary-analysis`, or `hercules-assessment-operations` skill and the topic reference it points to. These playbooks guide authorized testing; their presence does not grant permission for high-impact actions. ## Handle failures truthfully - Treat `timed_out=true` as a timeout even when partial output exists. - Check `terminated` before assuming the timed-out process stopped. - Read artifacts when `output_complete=false`, `output_filtered=true`, filtering occurred, or truncation is reported. `exit_code=0` means the process completed; it does not prove a vulnerability or complete assessment. - After container recovery or `system_start_new_session`, assume browser daemons, Metasploit clients/channels, and background processes were reset; workspace files persist. - `runtime_not_started` means no container was created; call `system_start_container`, then retry the Docker-backed tool. - After `system_stop_container`, call `system_start_container` to resume the same workspace. Use `system_start_new_session` only for a clean workspace. - Before completing or abandoning work, save notes and artifacts, resolve owned jobs, and stop the container when no parallel worker needs it. Check `cleanup` confirmation; report failed/unverified cleanup, preserved stopped containers, and retained evidence separately.
From 0xMihirK/hercules-mcp, MIT.
More from 0xMihirK/hercules-mcp
- 0.621score
hercules-application-testing
0xMihirK
Test authorized web, API, authentication, and AI-assisted application boundaries with Hercules when a specific application weakness or workflow needs focused…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-binary-analysis
0xMihirK
Triage authorized binaries, firmware, crashes, fuzzing results, and cryptographic behavior with existing Hercules workspace and shell tools; use only isolated…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-assessment-operations
0xMihirK
Plan and validate authorized assessment operations involving endpoint controls, forensics, initial access, movement, egress, persistence, social workflows, or…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-infrastructure
0xMihirK
Assess authorized identity, cloud, CI/CD, container, network, reconnaissance, and privilege boundaries with Hercules when infrastructure evidence needs…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-wireless-embedded
0xMihirK
Analyze authorized wireless, IoT, firmware, and mobile security evidence with Hercules when captures or owned devices are available; live radio and mobile…
SkillAFreshness: A★ 5Claude Code +9 - 0.616score
hercules-nuclei
0xMihirK
Author, validate, or troubleshoot a custom Nuclei YAML template with Hercules when installed templates and tags cannot express an authorized check.
SkillAFreshness: A★ 5Claude Code +9 - 0.616score
hercules-operator
0xMihirK
Choose and sequence Hercules MCP tools for an authorized security assessment when tool choice, evidence quality, parallel workers, or cleanup need deliberate…
SkillAFreshness: A★ 5Claude Code +9 - 0.616score
hercules-nmap-nse
0xMihirK
Author, validate, or troubleshoot a custom Nmap NSE Lua script with Hercules when installed NSE scripts cannot express an authorized check.
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/0xMihirK/hercules-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 0xMihirK
- 0.621score
hercules-application-testing
0xMihirK
Test authorized web, API, authentication, and AI-assisted application boundaries with Hercules when a specific application weakness or workflow needs focused…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-binary-analysis
0xMihirK
Triage authorized binaries, firmware, crashes, fuzzing results, and cryptographic behavior with existing Hercules workspace and shell tools; use only isolated…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-assessment-operations
0xMihirK
Plan and validate authorized assessment operations involving endpoint controls, forensics, initial access, movement, egress, persistence, social workflows, or…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-infrastructure
0xMihirK
Assess authorized identity, cloud, CI/CD, container, network, reconnaissance, and privilege boundaries with Hercules when infrastructure evidence needs…
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
hercules-wireless-embedded
0xMihirK
Analyze authorized wireless, IoT, firmware, and mobile security evidence with Hercules when captures or owned devices are available; live radio and mobile…
SkillAFreshness: A★ 5Claude Code +9 - 0.616score
hercules-nuclei
0xMihirK
Author, validate, or troubleshoot a custom Nuclei YAML template with Hercules when installed templates and tags cannot express an authorized check.
SkillAFreshness: A★ 5Claude Code +9
Cite this page
hercules-mcp skill. Agent Mart. https://agentmart.dev/skills/0xmihirk-hercules-mcp (last updated 2026-10-24)