🧠
AutomationPython

Brain

by H-mmer

Brain is an Automation skill for Claude Code, published by H-mmer in pentest-agents.

804 stars156 forkson H-mmer/pentest-agentsAdded 2026/08/22Repository updated 2026/06/12
agentsbug-bountybugcrowdclaude-codehackeronemcppentestingsecurity-tools
Install in seconds
Install Brain
Copy Brain into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/H-mmer/pentest-agents/tree/main/.claude/skills/brain ~/.claude/skills/brain

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/H-mmer/pentest-agents.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/brain/SKILL.md in H-mmer/pentest-agents
Installs to
~/.claude/skills/brain
Collection
One of 25 skills cataloged from this repository
Category
Automation1523 skills

What Brain does

Brain manages pentest engagement state with init, brief, status, exhausted, and record subcommands. Use it to capture targets, evidence, dead ends, and next actions during an assessment.

Brain is cataloged under Automation on DirSkills. Brain comes from a repository tagged agents, bug-bounty, bugcrowd, claude-code and hackerone.

Documentation

README

Brain management: $ARGUMENTS

Route to the brain tool:

  • If "$ARGUMENTS" is "init": run uv run python3 $CLAUDE_PROJECT_DIR/tools/brain.py init
  • If "$ARGUMENTS" starts with "brief": run uv run python3 $CLAUDE_PROJECT_DIR/tools/brain.py brief <target>
  • If "$ARGUMENTS" is "status": run uv run python3 $CLAUDE_PROJECT_DIR/tools/brain.py status
  • If "$ARGUMENTS" starts with "exhausted": run uv run python3 $CLAUDE_PROJECT_DIR/tools/brain.py exhausted <target>
  • If "$ARGUMENTS" starts with "record": run uv run python3 $CLAUDE_PROJECT_DIR/tools/brain.py record <target> <status> <technique> "<details>"

After running, also launch the brain agent to update the MEMORY.md index if any state changed.

Top-Tier Memory Bar

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Brain

  • What else does H-mmer publish alongside Brain?

    Brain is one of 25 skills that DirSkills catalogs from H-mmer/pentest-agents, the repository it ships in. Its siblings there include Analyze, Autopilot and Business Logic Hunting. Each one is a separate skill with its own page in this directory, installs the same way Brain does, and is maintained by H-mmer in that same repository. The rest of the collection is listed on the H-mmer/pentest-agents page.

  • How does Brain compare to other Automation skills?

    Brain ranks #981 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Brain against them. Open each page to compare what they document and how they install.

More from H-mmer/pentest-agents

Brain is one of 25 skills cataloged on DirSkills from H-mmer/pentest-agents.

See all 25 skills
🕵️
1w ago

Analyze

Analyze turns recon output into ranked attack paths, crown-jewel targets, and blind spots for a target. Use it before hunting to decide which endpoints and vulnerability classes to test first.
AI Engineering
804156
🧭
1w ago

Autopilot

Autopilot orchestrates autonomous security hunting across a target, loading scope and policy files, dispatching specialist agents, and tracking progress until the exhaustion gates are met. It is used for long-running bug-bounty assessments in interactive or fully autonomous mode.
Automation
804156
🧠
1w ago

Business Logic Hunting

Business Logic Hunting finds logic flaws in payment, auth, and subscription flows such as price manipulation, race conditions, MFA bypass, and trial abuse. Use it when testing for workflow skipping or client-side state trust issues.
Quality
804156
⛓️
1w ago

Chain

Chain builds deep exploit chains from a confirmed bug and dispatches a chain-builder agent to find escalation paths. Use it when you have a validated issue and want end-to-end impact or a reportable chain.
Automation
804156
🔗
1w ago

Correlate

Correlate runs a finding correlation engine to turn individual findings into attack chains. Use it after collecting bugs to identify multi-step paths, document reproduction steps, and surface high-impact chains.
Quality
804156
💸
1w ago

Cost Tracking

Cost Tracking shows engagement spend and return on investment for a pentest run. Use it to review which agents spent the most and whether the work produced findings worth the cost.
Data
804156