Skip to content
Skill

Hackthebox

Guides an agent through HackTheBox challenges, machines and CTF flag capture

Hackthebox is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
641
Last commit
License
MIT
Listing updated

Similar skills

About Hackthebox

This skill points an agent at the HackTheBox platform so it can work through challenges, machines and capture-the-flag competitions. It reads a workflow reference that covers credentials, VPN checks, machine startup, network checks and the sequence of steps for each target, and it can use an API token when one is available or fall back to logging in through a browser automation tool.

The work is split across subagents. The main session creates a working folder per challenge with subfolders for recon, findings, logs, artifacts, tools and reports, then hands each target to a coordinator subagent that runs the attack workflow in the background with a limit on concurrent agents. Once a coordinator returns, the parent session handles completion reporting and notifications. The skill also references guides on platform navigation, anti-bot handling and VPN pool routing.

It expects a HackTheBox account with credentials supplied through environment variables, a Python 3 environment for the credential reader, and, for machine-type competitions, an active VPN connection. The skill ships no scripts of its own in its folder.

When your agent uses it

HackTheBox platform operations and automations to solve challenges, machines and capture the flags hacking competitions

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 7 files (32 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/hackthebox to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/hackthebox &&
cp -R "$tmp/skills/hackthebox" ~/.claude/skills/hackthebox &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/hackthebox inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/hackthebox to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/hackthebox &&
cp -R "$tmp/skills/hackthebox" ~/.agents/skills/hackthebox &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/hackthebox inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/hackthebox to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/hackthebox &&
cp -R "$tmp/skills/hackthebox" ~/.cursor/skills/hackthebox &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/hackthebox inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/transilienceai/communitytools.git --path skills/hackthebox

Or copy the folder to ~/.gemini/skills/hackthebox yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/hackthebox:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/hackthebox &&
cp -R "$tmp/skills/hackthebox" ~/.copilot/skills/hackthebox &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/hackthebox inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/transilienceai/communitytools.git

Then copy communitytools/skills/hackthebox into your agent's skills folder as hackthebox. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Credential retrieval
Reads HackTheBox login and token values from the environment before any platform action.
VPN and machine checks
Verifies VPN connectivity and checks network reachability before machines are started or attacked.
Per-challenge output folders
Creates a structured directory for recon, findings, logs, artifacts, tools and reports for each challenge.
Coordinator subagent spawning
Launches background coordinator agents per target with queue-based concurrency limits.
Completion reporting
Produces a challenge completion report and a Slack notification after each coordinator finishes.
Platform navigation guide
Includes reference notes for moving around the HackTheBox site and handling login forms.

Good for

  • Solve a HackTheBox machine from start to finish
  • Start a HackTheBox machine and check it is reachable over VPN
  • Work through a set of CTF challenges and capture the flags
  • Write a completion report for a solved HackTheBox challenge

Hackthebox FAQ

What credentials does Hackthebox need?

It reads HTB_USER, HTB_PASS and HTB_TOKEN, plus ANTHROPIC_API_KEY, SLACK_BOT_TOKEN and HTB_SLACK_CHANNEL_ID, through an environment reader script.

Does Hackthebox need a VPN?

Only for machine-type competitions. It checks whether the VPN is running and otherwise downloads the VPN file and explains how to enable it.

Does Hackthebox change anything on my machine?

It creates challenge output folders in the working directory and uses subagents to run the attack workflow.

How do I install Hackthebox in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/hackthebox to use it in all your projects, or to .claude/skills/hackthebox in one project.

Does Hackthebox run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Hackthebox?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Hackthebox?

The closest alternatives to Hackthebox are Coordination, Awesome hacking resources, Hackerone, System and Authentication.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from transilienceai/communitytools

  1. Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications

    • Open source
    • 641 GitHub stars
    • Security
  2. Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs

    • Open source
    • 641 GitHub stars
    • Security
  3. Chains confirmed single-asset findings into multi-hop attack paths across an organization

    • Open source
    • 641 GitHub stars
    • Security
  4. Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA

    • Open source
    • 641 GitHub stars
    • Security
  5. Guides an agent through Solidity smart contract security testing and blockchain CTF

    • Open source
    • 641 GitHub stars
    • Security