Agent Skills
› H-mmer/pentest-agents
› brain
brain
GitHub管理安全测试上下文记忆,支持初始化、预检、状态查询及记录测试结果。强制要求以结构化证据格式存储漏洞信息,确保知识复用与后续会话连贯性。
Trigger Scenarios
需要初始化或查看安全测试上下文时
记录漏洞发现结果或排除项时
查询已测试目标的状态或死胡同
Install
npx skills add H-mmer/pentest-agents --skill brain -g -y
SKILL.md
Frontmatter
{
"name": "brain",
"description": "Manage the engagement brain. Subcommands: 'init' to set up, 'brief <target>' for pre-flight, 'status' for overview, 'exhausted [target]' to see dead ends.",
"disable-model-invocation": false
}
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
Bad memory makes the whole suite worse. Record facts as reusable evidence, not diary entries.
For every record, include:
target: canonical host or repo namesurface: endpoint, file, workflow, account role, or componenttechnique: vuln class plus variant, not just "tested auth"status: confirmed, partial, exhausted, blocked, duplicate-risk, chain-pendingevidence: request id, file path, response marker, screenshot path, command output, or blockernext_action: the exact command or test a future session should run
Never store "no bug" without the tested matrix. An exhausted entry must say what was tried and why that evidence is strong enough to skip it later.
Version History
- 41d49b6 Current 2026-07-24 11:56


