一键导入
offsec-debrief
Post-challenge debrief — generates writeup with structured failure analysis. Outputs to writeup/ directory and updates MEMORY.md with key lessons.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Post-challenge debrief — generates writeup with structured failure analysis. Outputs to writeup/ directory and updates MEMORY.md with key lessons.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Neo4j graph database for offensive security intel. Model writes Cypher directly via MCP tools — no scripts, no wrappers.
Orchestrator agent for iterative-deepening multi-agent coordination. Manages task trees, spawns focused teammates, evaluates findings, and deepens research until evidence supports exploitation.
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
基于 SOC 职业分类
| name | offsec-debrief |
| description | Post-challenge debrief — generates writeup with structured failure analysis. Outputs to writeup/ directory and updates MEMORY.md with key lessons. |
| user-invocable | true |
Generate a structured writeup documenting the full challenge including both the successful attack path and every failure with structured analysis. Update MEMORY.md with generalized lessons.
Before writing anything, reconstruct the attack history from conversation context, workspace files, and any saved notes.
# [Platform] - [Box Name] Writeup
**Difficulty:** [Easy/Medium/Hard]
**OS:** [Linux/Windows/Other]
**Category:** [Web/PWN/Wireless/Network/etc.]
**Target IP:** [IP Address]
| Flag | Value |
|------|-------|
| User | `[hash]` |
| Root | `[hash]` |
Visual representation of the successful path:
1. Initial Access Method → Result
2. Exploitation Step → Outcome
3. Privilege Escalation → Final Goal
This section is where learning happens. Every failed strategy must be documented with enough structure to extract patterns from.
Review all failed approaches from conversation context and workspace notes. For each failure, document:
## Failure Track
### F1: [Short description of what was attempted]
- **Strategy:** What technique/tool/CVE was tried
- **Target component:** What service/port/endpoint was targeted
- **Trigger signal:** What observation led you to try this (version number, error message, open port, etc.)
- **Result:** What actually happened (error messages, no output, wrong response, etc.)
- **Root cause:** Why it failed (wrong CVE for this config, network isolation, wrong layer, etc.)
- **Time spent:** How long before pivoting
- **Stop signal missed?** Was there an early indicator this wouldn't work that was ignored?
- **Rabbit hole type:** [Wrong CVE | Wrong exploitation method | Wrong layer | String filter | Session limitation | Other]
- **Rule for next time:** One-sentence decision rule to avoid this in the future
### F2: [Next failure...]
Rabbit hole types:
Why this structure matters:
For each phase of the successful attack:
# Include comments explaining purpose
command --flags argument
Clearly formatted command output
Numbered list of lessons learned:
## Key Takeaways
1. **Vulnerability Type** — Brief explanation of the security issue
2. **Attack Technique** — How it was exploited
3. **Detection/Prevention** — How to defend against it
## Tools Used
- `tool-name` — Purpose/usage
- `another-tool` — Purpose/usage
Save to writeup/[BoxName].md.
Before finalizing, ensure the writeup includes:
After the writeup is saved, extract generalized lessons and update MEMORY.md.
From failures:
From successes:
When this skill is invoked:
1. Pull attack history
└─ Review conversation history and workspace files
2. Write the report
├─ Header, overview, flags, attack chain
├─ FAILURE TRACK (every failed strategy with full analysis)
├─ Success path (phase-by-phase)
└─ Save to writeup/[BoxName].md
3. Update MEMORY.md
├─ Extract generalized lessons from failures and successes
├─ Add new decision rules and patterns
└─ Keep under 200 lines
A complete writeup should: