cloud-defense — Claude Code skill: detection and install
cloud-defense maps post-compromise cloud attack stages to log signals and preventive controls. Use it for AWS, Azure, and GCP detection work or posture reviews.
MIT 133 installs ★ 632 updated 2026-07-29
npx skills add transilienceai/communitytools --skill cloud-defense -a claude-codeWhat cloud-defense does
This skill breaks a post-compromise cloud attack chain into lateral movement, privilege escalation, data exfiltration, and defense evasion. For every stage, it connects an event in CloudTrail, Activity-Log, or Audit-Log with one preventive control that removes the technique.
Its workflow first checks organisation-wide logging, data events, and threat detection. It then maps attacker stages through reference/detection-signals.md, applies controls from reference/hardening-controls.md, and reruns the matching technique from cloud-containers to verify the control or alert.
Without an org-wide trail, data events, and threat detection, the signals will not be visible.
What it helps with
- map a post-compromise attack chain
- tie each attack stage to a log event
- choose a control that blocks the technique
- write cloud pentest remediation steps
- review an AWS, Azure, or GCP account
Example prompts for the agent
- Map the post-compromise chain in our AWS account and list the alert signals for each stage.
- Match privilege escalation and data exfiltration to
CloudTrailevents, then suggest controls fromreference/hardening-controls.md. - Check the logging prerequisites before we rerun the matching technique from
cloud-containers.
How to install cloud-defense
1Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill cloud-defense -a claude-code2Manually: put the files in place
~/.claude/skills/cloud-defense/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cloud-defense/
1Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill cloud-defense -a codex2Manually: put the files in place
.agents/skills/cloud-defense/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill cloud-defense -a cursor2Manually: put the files in place
.cursor/skills/cloud-defense/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install transilienceai/communitytools skills/cloud-defense2Manually: put the files in place
.github/skills/cloud-defense/SKILL.md1Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill cloud-defense -a gemini-cli2Platform CLI
gemini skills install https://github.com/transilienceai/communitytools --path skills/cloud-defenseManually: put the files in place
.devin/skills/cloud-defense/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill cloud-defense -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about cloud-defense
How do I install cloud-defense in Claude Code?
Run npx skills add transilienceai/communitytools --skill cloud-defense -a claude-code. Then check ~/.claude/skills/cloud-defense/SKILL.md.
What does cloud-defense do?
It maps post-compromise stages in AWS, Azure, and GCP to log events and preventive controls. The result can support detection work, hardening, and remediation writing.
What does cloud-defense require before it can detect these stages?
The account needs an org-wide trail, data events, and threat detection enabled. Without them, the skill’s detection signals remain invisible.
Source text
SKILL.md · MIT
--- name: cloud-defense description: Detect and break the cloud post-compromise attack chain (AWS / Azure / GCP) — per-stage CloudTrail / Activity-Log / Audit-Log detection signals and the preventive controls that close each step. Use for cloud detection engineering, hardening, remediation write-ups, or blue-team posture review of the lateral-movement -> privilege-escalation -> exfiltration -> evasion chain. --- # Cloud Defense The blue-team counterpart to [`cloud-containers`](../cloud-containers/SKILL.md). For each attacker move — lateral movement, privilege escalation, data exfiltration, defense evasion — this skill gives the log event to alert on and the single control that removes the technique. Use it to turn an offensive cloud finding into a concrete detection and remediation. ## When to use - Writing the remediation / hardening section of a cloud pentest report. - Cloud detection engineering: deciding which control-plane events to alert on. - Reviewing an AWS / Azure / GCP account's posture against the post-compromise chain. ## Workflow 1. Confirm the logging prerequisites are in place (org-wide trail, data events, threat detection on) — without them the signals below are invisible. 2. Map each attacker stage to its detection signal — see [reference/detection-signals.md](reference/detection-signals.md). 3. Apply the preventive control that breaks each stage — see [reference/hardening-controls.md](reference/hardening-controls.md). 4. Re-run the matching offensive technique from [`cloud-containers`](../cloud-containers/SKILL.md) to confirm the control holds or the alert fires. ## References - [reference/INDEX.md](reference/INDEX.md) — router - [reference/detection-signals.md](reference/detection-signals.md) — per-stage log signals + logging prerequisites - [reference/hardening-controls.md](reference/hardening-controls.md) — the control that breaks each stage
© transilienceai · MIT · transilienceai/communitytools