brain

GitHub

管理安全测试上下文记忆,支持初始化、预检、状态查询及记录测试结果。强制要求以结构化证据格式存储漏洞信息,确保知识复用与后续会话连贯性。

.claude/skills/brain/SKILL.md H-mmer/pentest-agents

Trigger Scenarios

需要初始化或查看安全测试上下文时 记录漏洞发现结果或排除项时 查询已测试目标的状态或死胡同

Install

npx skills add H-mmer/pentest-agents --skill brain -g -y
More Options

Non-standard path

npx skills add https://github.com/H-mmer/pentest-agents/tree/main/.claude/skills/brain -g -y

Use without installing

npx skills use H-mmer/pentest-agents@brain

指定 Agent (Claude Code)

npx skills add H-mmer/pentest-agents --skill brain -a claude-code -g -y

安装 repo 全部 skill

npx skills add H-mmer/pentest-agents --all -g -y

预览 repo 内 skill

npx skills add H-mmer/pentest-agents --list

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 name
  • surface: endpoint, file, workflow, account role, or component
  • technique: vuln class plus variant, not just "tested auth"
  • status: confirmed, partial, exhausted, blocked, duplicate-risk, chain-pending
  • evidence: request id, file path, response marker, screenshot path, command output, or blocker
  • next_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

Same Skill Collection

.claude/skills/analyze/SKILL.md
.claude/skills/autopilot/SKILL.md
.claude/skills/chain/SKILL.md
.claude/skills/correlate/SKILL.md
.claude/skills/dupcheck/SKILL.md
.claude/skills/fullscan/SKILL.md
.claude/skills/hunt/SKILL.md
.claude/skills/learn/SKILL.md
.claude/skills/mindmap/SKILL.md
.claude/skills/monitor/SKILL.md
.claude/skills/new/SKILL.md
.claude/skills/pipeline/SKILL.md
.claude/skills/quality/SKILL.md
.claude/skills/quickscan/SKILL.md
.claude/skills/remember/SKILL.md
.claude/skills/report/SKILL.md
.claude/skills/resume/SKILL.md
.claude/skills/sast/SKILL.md
.claude/skills/status/SKILL.md
.claude/skills/submit/SKILL.md
.claude/skills/surface/SKILL.md
.claude/skills/sync/SKILL.md
.claude/skills/triage/SKILL.md
.claude/skills/validate/SKILL.md
providers/codex/.agents/skills/analyze/SKILL.md
providers/codex/.agents/skills/autopilot/SKILL.md
providers/codex/.agents/skills/brain/SKILL.md
providers/codex/.agents/skills/chain/SKILL.md
providers/codex/.agents/skills/correlate/SKILL.md
providers/codex/.agents/skills/dupcheck/SKILL.md
providers/codex/.agents/skills/fullscan/SKILL.md
providers/codex/.agents/skills/hunt/SKILL.md
providers/codex/.agents/skills/learn/SKILL.md
providers/codex/.agents/skills/mindmap/SKILL.md
providers/codex/.agents/skills/monitor/SKILL.md
providers/codex/.agents/skills/new/SKILL.md
providers/codex/.agents/skills/pipeline/SKILL.md
providers/codex/.agents/skills/quality/SKILL.md
providers/codex/.agents/skills/quickscan/SKILL.md
providers/codex/.agents/skills/remember/SKILL.md
providers/codex/.agents/skills/report/SKILL.md
providers/codex/.agents/skills/resume/SKILL.md
providers/codex/.agents/skills/sast/SKILL.md
providers/codex/.agents/skills/status/SKILL.md
providers/codex/.agents/skills/submit/SKILL.md
providers/codex/.agents/skills/surface/SKILL.md
providers/codex/.agents/skills/sync/SKILL.md
providers/codex/.agents/skills/triage/SKILL.md
providers/codex/.agents/skills/validate/SKILL.md

Metadata

Files
0
Version
41d49b6
Hash
f574400c
Indexed
2026-07-24 11:56

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 06:07
浙ICP备14020137号-1 $Гость$