hercules-infrastructure

hercules-infrastructure is a skill for Claude Code from 0xMihirK/hercules-mcp. It costs 32 tokens per session (357 once invoked), scanned A, original, MIT.

A guide for checking authorized infrastructure security boundaries across identity systems, cloud services, CI/CD pipelines, containers, Kubernetes and networks. CI/CD is the automated process that builds, tests and deploys software.

In plain words
What is it for?
It helps validate access controls, secrets, cloud configuration, container and Kubernetes permissions, network segmentation, local privileges and OSINT methods.
Why use it?
Infrastructure checks can affect real accounts, cloud resources or production systems if prerequisites and permissions are unclear. This skill uses bounded tests, low-privilege identities and disposable resources where possible.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hercules-mcp plugin — 9 skills, 1 MCP server shipped together

Good fit It helps validate access controls, secrets, cloud configuration, container and Kubernetes permissions, network segmentation, local privileges and OSINT methods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmihirk/hercules-mcp/hercules-infrastructure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0xMihirK/hercules-mcp --skill hercules-infrastructure
Clone the repo
git clone --depth 1 https://github.com/0xMihirK/hercules-mcp

Made for: Claude Code.

Or install hercules-mcp, the plugin that ships this one along with the rest of its 9 skills, 1 MCP server.

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 hercules-infrastructure

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xmihirk/hercules-mcp/hercules-infrastructure/github.svg)](https://agentmods.dev/skills/0xmihirk/hercules-mcp/hercules-infrastructure)
Your own site
<a href="https://agentmods.dev/skills/0xmihirk/hercules-mcp/hercules-infrastructure"><img src="https://agentmods.dev/badge/skills/0xmihirk/hercules-mcp/hercules-infrastructure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hercules-infrastructure

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmihirk/hercules-mcp/hercules-infrastructure"><img src="https://agentmods.dev/badge/skills/0xmihirk/hercules-mcp/hercules-infrastructure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 357 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 original No closer match found 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.00032 $0.00357
Opus 5.5 $0.00013 $0.00143
Sonnet 5.5 $0.00006 $0.00071
Haiku 4.5 $0.00003 $0.00036

Measured 1mo ago against content hash 2e2a0854c60d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hercules-infrastructure 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 1mo 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.

skills/hercules-infrastructure/SKILL.md · 30 lines

What it actually says

Hercules infrastructure

Pick the exact boundary below and read only its reference. Confirm ownership before active contact, test with supplied low-privilege identities and disposable resources, and compare allowed and denied behavior. A cloud credential, Windows host, cluster context, or specialized client is never implied by the Kali image. Verify prerequisites before using shell_exec.

Select one topic

The reference is guidance, not authorization. Check the current MCP schema and installed backend before executing a suggested route. If a prerequisite is absent, report the coverage gap instead of inventing a tool or widening scope.

Finish

Revoke disposable credentials and resources through the approved owner workflow, retain raw observations, settle Hercules jobs, and stop the container after checking parallel dependencies and cleanup confirmation.

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. 1mo ago First seen · 30 lines · 32 tokens per session scan A 2e2a0854c60d

Subscribe to this mod's changes

hercules-infrastructure is a skill published in the GitHub repository 0xMihirK/hercules-mcp (6 stars, last pushed 23d ago), licensed MIT. It adds 32 tokens to every session and 357 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.

Related

hercules-infrastructure compared with skills from other repositories

hercules-infrastructure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hercules-infrastructure0xMihirK/hercules-mcpSkill623d agoMITA32Claude Code
ci-cd-best-practicesKevin-Liu-01/Agent-MachinesSkill291mo agoMITA63Claude Code, Codex
devsecopsarbazkhan971/godmodeSkill343mo agoMITA47Claude Code
supply-chain-auditAgent-Hellboy/mcp-runtimeSkill62mo agoApache-2.0A90Codex
secrets-in-ci-checklistadudley78/mcp-auditSkill614d agoApache-2.0C18Claude Code, Codex
competition-agent-cloudxAmirHamza77/ReverseOps-SkillSkill53mo agoMITA107Codex
competition-supply-chainxAmirHamza77/ReverseOps-SkillSkill53mo agoMITA103Codex