Cloud Native Security Defensive

Use when the user asks to harden an AWS account or Azure tenant, write SCP guardrails, CloudTrail or GuardDuty detections, enforce IMDSv2, apply least-privilege IAM, or improve cloud posture. Produces preventive guardrails, detections and policy code for AWS/Azure/GCP. Not for cloud attack-path analysis (use cloud-native-security-offensive) or secret storage (use vault).

45 stars 6 forksSecurity

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill cloud-native-security-defensive
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/cloud-native/cloud-security-defensive ~/.claude/skills/cloud-native-security-defensive

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cloud Security — Defensive Engineering

## Purpose
Turn a cloud estate into one where dangerous actions are prevented by organization-level guardrails, everything else is logged centrally and immutably, and anomalous identity activity is detected quickly. Identity is the perimeter in cloud, so most controls are IAM controls.

## Agent Protocol

### Trigger
"harden aws account", "detect cloud intrusion", "cloudtrail", "SCP", "guardrails", "secure azure tenant", "cloud posture", "guardduty", "IMDSv2", "least privilege".

### Input Context
- Cloud(s) and org structure (AWS Organizations OUs, Azure management groups, GCP folders).
- Existing logging destinations (SIEM, log archive account).
- Compliance targets (CIS Benchmarks, SOC 2, ISO 27001).

### Output Artifact
Policy-as-code (SCP/Azure Policy/Org Policy JSON or Terraform) and detection queries. No file unless requested.

### Response Format
```
Layer: {preventive|detective|responsive}
Control: {name}
Scope: {org/OU/account/subscription/project}
Code: {policy or query}
Break-glass impact: {who is exempt and how}
```

### Completion Criteria
- [ ] Preventive guardrails applied at org/OU level with a documented break-glass exemption.
- [ ] Org-wide audit logging to a separate, write-protected account/project.
- [ ] Detections mapped to concrete log events.

## Control Layers

| Layer | AWS | Azure | GCP |
|---|---|---|---|
Read the full skill on GitHub

Details

Skill name
cloud-native-security-defensive
Path
skills/cloud-native/cloud-security-defensive/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Cloud Native Security Defensive skill do?

Use when the user asks to harden an AWS account or Azure tenant, write SCP guardrails, CloudTrail or GuardDuty detections, enforce IMDSv2, apply least-privilege IAM, or improve cloud posture. Produces preventive guardrails, detections and policy code for AWS/Azure/GCP. Not for cloud attack-path analysis (use cloud-native-security-offensive) or secret storage (use vault).

How do I install the Cloud Native Security Defensive skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill cloud-native-security-defensive. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cloud Native Security Defensive popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Cloud Native Security Offensive

45

j4flmao/agent-skills

Use when the user asks about AWS privilege escalation paths, cloud attack paths, IMDS SSRF, iam:PassRole abuse, Azure managed identity abuse, or a cloud threat model for an authorized review. Explains each path with its detection and remediation. Not for building guardrails (use cloud-native-security-defensive) or general pentest method (use red-team-pentest-methodology).

Security

Blue Team Soc Operations

45

j4flmao/agent-skills

Master methodologies for SIEM architecture, incident response, and threat hunting.

Security

Desktop Electron

45

j4flmao/agent-skills

Use when the user asks about Electron, main and renderer process IPC security, contextBridge and preload scripts, contextIsolation and sandbox, Electron Forge or electron-builder packaging, code signing or auto-update. Produces a secure Electron app structure and release setup. Not for Tauri apps (use desktop-tauri).

Security

Browse the most popular Claude skills, all security skills, or write your own with the skills generator.