anthropic-cybersecurity-skills-agent-library
```markdown
What this skill does
```markdown
---
name: anthropic-cybersecurity-skills-agent-library
description: Use the 700+ agentskills.io-standard cybersecurity skills library for AI agents covering red team, blue team, cloud security, forensics, and more.
triggers:
- "add cybersecurity skills to my AI agent"
- "how do I use the anthropic cybersecurity skills library"
- "load security skills for claude code"
- "set up penetration testing skills for my agent"
- "integrate cybersecurity skill definitions into my project"
- "find malware analysis or forensics skills for AI"
- "use agentskills.io cybersecurity skills in cursor or copilot"
- "browse or search the cybersecurity skills collection"
---
# Anthropic Cybersecurity Skills Agent Library
> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.
An open-source collection of 734+ structured cybersecurity skills for AI coding agents. Every skill follows the [agentskills.io](https://agentskills.io) progressive-disclosure standard and works with Claude Code, GitHub Copilot, Cursor, OpenAI Codex CLI, Gemini CLI, and 20+ other platforms. Skills span red team, blue team, cloud security, digital forensics, malware analysis, incident response, threat hunting, DevSecOps, and more.
> **Not affiliated with Anthropic PBC.** This is a community project; "Anthropic" in the repo name refers to agentskills.io standard compatibility.
---
## Installation
### Method 1 — npx (recommended)
```bash
npx skills add mukul975/Anthropic-Cybersecurity-Skills
```
This clones and installs all skills into your project's `.skills/` directory, making them auto-discoverable by any agentskills.io-compatible agent.
### Method 2 — Claude Code plugin marketplace
```
/plugin marketplace add mukul975/Anthropic-Cybersecurity-Skills
```
### Method 3 — Manual clone
```bash
git clone https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
# Copy or symlink the skills/ directory into your project
cp -r Anthropic-Cybersecurity-Skills/skills .skills
```
### Method 4 — pip / Python package (helper scripts)
```bash
pip install agentskills # agentskills.io CLI if available
# or use the bundled Python scripts directly from the repo
```
---
## Skill Directory Structure
After installation, each skill lives at:
```
.skills/{skill-name}/
├── SKILL.md # YAML frontmatter + full workflow
├── references/
│ ├── standards.md # NIST, MITRE ATT&CK, CVE mappings
│ └── workflows.md # Deep technical procedures
├── scripts/
│ └── process.py # Practitioner helper scripts
└── assets/
└── template.md # Checklists and report templates
```
---
## How Skills Work (Progressive Disclosure)
AI agents read only the YAML frontmatter (~30–50 tokens) during discovery. If the skill matches the task, the full body is loaded.
**Example frontmatter (`SKILL.md`):**
```yaml
---
name: performing-memory-forensics-with-volatility3
description: Analyze memory dumps to extract processes, network connections, and malware artifacts using Volatility3.
domain: cybersecurity
subdomain: digital-forensics
tags: [forensics, memory-analysis, volatility3, incident-response]
---
```
**Full skill body (loaded on match):**
```markdown
## When to Use
- User asks to analyze a memory dump
- Investigating malware persistence or lateral movement
- Incident response requiring volatile artifact collection
## Prerequisites
- Volatility3 installed: `pip install volatility3`
- Memory dump file (.raw, .vmem, .mem)
- Python 3.8+
## Workflow
1. Identify OS profile...
2. List running processes...
3. Extract network connections...
## Verification
- Cross-reference process list with baseline
- Confirm no ghost/injected processes remain unexplained
```
---
## Browsing and Searching Skills
### List all skill categories
```python
import os
from pathlib import Path
skills_root = Path(".skills") # or wherever you cloned
categories = {}
for skill_dir in skills_root.iterdir():
skill_md = skill_dir / "SKILL.md"
if skill_md.exists():
text = skill_md.read_text()
# Extract subdomain from frontmatter
for line in text.splitlines():
if line.startswith("subdomain:"):
subdomain = line.split(":", 1)[1].strip()
categories.setdefault(subdomain, []).append(skill_dir.name)
break
for cat, skills in sorted(categories.items()):
print(f"{cat}: {len(skills)} skills")
```
### Search skills by keyword
```python
import os
from pathlib import Path
def search_skills(query: str, skills_root: str = ".skills") -> list[dict]:
"""Return skills whose frontmatter description or tags match query."""
import re
results = []
for skill_dir in Path(skills_root).iterdir():
skill_md = skill_dir / "SKILL.md"
if not skill_md.exists():
continue
text = skill_md.read_text()
# Only scan frontmatter block (between first two ---)
fm_match = re.match(r"^---\n(.*?)\n---", text, re.DOTALL)
if fm_match and query.lower() in fm_match.group(1).lower():
results.append({
"name": skill_dir.name,
"path": str(skill_md),
"frontmatter": fm_match.group(1),
})
return results
hits = search_skills("ransomware")
for h in hits:
print(h["name"])
```
### Load a specific skill's full content
```python
from pathlib import Path
def load_skill(skill_name: str, skills_root: str = ".skills") -> str:
"""Return full SKILL.md content for a named skill."""
path = Path(skills_root) / skill_name / "SKILL.md"
if not path.exists():
raise FileNotFoundError(f"Skill not found: {skill_name}")
return path.read_text()
content = load_skill("performing-memory-forensics-with-volatility3")
print(content[:500])
```
---
## Using Skills Programmatically with an LLM
```python
import anthropic
from pathlib import Path
import re
def get_skill_frontmatter(skill_dir: Path) -> dict:
"""Parse YAML frontmatter from a SKILL.md."""
import yaml
text = (skill_dir / "SKILL.md").read_text()
match = re.match(r"^---\n(.*?)\n---", text, re.DOTALL)
if match:
return yaml.safe_load(match.group(1))
return {}
def find_relevant_skill(task: str, skills_root: str = ".skills") -> str | None:
"""Lightweight skill discovery: match task to skill description."""
best_match = None
for skill_dir in Path(skills_root).iterdir():
fm = get_skill_frontmatter(skill_dir)
desc = fm.get("description", "")
tags = " ".join(fm.get("tags", []))
if any(word.lower() in (desc + tags).lower() for word in task.split()):
best_match = skill_dir.name
break # Replace with scoring logic for production use
return best_match
def query_with_skill(task: str, skills_root: str = ".skills") -> str:
"""Find the best skill for a task and inject it into an LLM prompt."""
skill_name = find_relevant_skill(task, skills_root)
skill_context = ""
if skill_name:
skill_context = load_skill(skill_name, skills_root)
client = anthropic.Anthropic() # uses ANTHROPIC_API_KEY env var
message = client.messages.create(
model="claude-opus-4-5",
max_tokens=1024,
messages=[
{
"role": "user",
"content": (
f"Using the following cybersecurity skill as context:\n\n"
f"{skill_context}\n\n---\n\nTask: {task}"
),
}
],
)
return message.content[0].text
# Example usage
response = query_with_skill("How do I detect credential dumping on Windows?")
print(response)
```
---
## Writing a New Skill
Create a new directory and `SKILL.md` following the agentskills.io format:
```bash
mkdir -p skills/detecting-ssrf-in-cloud-environments/references
mkdir -p skills/detecting-ssrf-in-cloud-environments/scripts
mkdir -p skills/detecting-ssrf-in-cloud-environments/assets
touRelated in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.