Rules of Engagement Skill
Authorization gate. Run before any security operation, autonomous scanning, or action that touches systems outside the current local codebase.
What Claude Gets Wrong Without This Skill
Without an ROE gate, Claude executes security operations on the assumption that authorization exists. This assumption is wrong often enough to matter. Scanning systems you are not authorized to test is illegal in most jurisdictions regardless of intent. The ROE gate makes authorization explicit before execution begins — not implied, not assumed.
When ROE Is Required
| Operation | ROE Required |
|---|---|
| Network scanning (nmap, masscan) | Yes |
| Web application scanning (nikto, nuclei, gobuster) | Yes |
| Vulnerability scanning | Yes |
| Credential testing | Yes |
| Fuzzing external endpoints | Yes |
| docker-sandbox autonomous execution | Yes |
| Reviewing local code for vulnerabilities | No — use security-gate |
| Running tests against localhost | No |
| Reading files in the current project | No |
ROE Document Format
When ROE is confirmed, produce this document and present it to the user before proceeding:
## Rules of Engagement
Date: [date]
Operation: [what will be performed]
### Authorization
Reference: [ticket / approval / explicit user statement]
Authorized by: [who]
### Scope (In)
[List of systems, domains, IPs, repositories — specific, not vague]
### Scope (Out)
[Explicit exclusions]
### Time Window
Start: [time or "session start"]
End: [time or "session end"]
### Escalation Contact
[Name / channel — who to notify if something unexpected occurs]
### Verdict: PROCEED
HOLD Format
## ROE: HOLD
Missing before proceeding:
- [ ] [what is needed]
- [ ] [what is needed]
Do not begin the operation until these are provided.
Anti-Patterns
Do not accept vague authorization. "My manager said it's fine" without a ticket or written record is not authorization.
Do not skip ROE because the operation "seems small." Scope creep starts with small operations.
Do not proceed if scope is undefined. An undefined scope is an unlimited scope.
Do not re-use an ROE from a previous session without re-confirming it still applies.
Mandatory Checklist
- Verify all five elements were answered — authorization, scope in, scope out, time window, escalation contact
- Verify scope is specific — named systems, not "everything relevant"
- Verify exclusions are stated — even if the answer is "none explicitly excluded"
- Verify the ROE document was produced and presented before any execution began
- Verify verdict is PROCEED or HOLD — not a conditional that assumes missing information will be fine
- Verify HOLD lists exactly what is needed to unblock