817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Python ai-agentsclaude-codecloud-securitycybersecuritydevsecopsethical-hackingincident-responseinfosecllmmalware-analysismcpmitre-attacknist-csfosintpenetration-testingred-teamsecuritysecurity-automationthreat-huntingthreat-intelligence
Correct agentskills.io validator/schema to match the standard
Mahipal88f408ada3d8
diff --git a/tools/agentskills-skill.schema.json b/tools/agentskills-skill.schema.jsonindex 444cbc77..b45adfed 100644--- a/tools/agentskills-skill.schema.json+++ b/tools/agentskills-skill.schema.json@@ -2,9 +2,9 @@"$schema": "https://json-schema.org/draft/2020-12/schema","$id": "https://agentskills.io/schema/skill-frontmatter.json","title": "agentskills.io SKILL.md frontmatter",- "description": "Strict JSON Schema for the YAML frontmatter of a SKILL.md file per the agentskills.io open standard (Anthropic, 2025-12-18). Only `name` and `description` are required; a small optional set is permitted; every other top-level key is a non-standard 'unexpected field'. Constraints that cannot be expressed in JSON Schema (name must equal the parent directory; frontmatter must contain no angle brackets) are enforced by tools/validate-agentskills.py.",+ "description": "JSON Schema for the YAML frontmatter of a SKILL.md file per the agentskills.io open standard (Anthropic, 2025-12-18). Only `name` and `description` are required; `license`, `compatibility`, `metadata`, and `allowed-tools` are recognized optional fields. Additional top-level keys are PERMITTED as extra metadata (this repo uses domain/subdomain/tags/version/author and framework-mapping keys), so `additionalProperties` is true. Constraints JSON Schema cannot express (name must equal the parent directory; no angle-bracket content in frontmatter) are enforced by tools/validate-agentskills.py.","type": "object",- "additionalProperties": false,+ "additionalProperties": true,"required": ["name", "description"],"properties": {"name": {diff --git a/tools/validate-agentskills.py b/tools/validate-agentskills.pyindex 9fe0a74d..15bfce08 100644--- a/tools/validate-agentskills.py+++ b/tools/validate-agentskills.py@@ -84,12 +84,16 @@ def validate(path):elif "description" in keys:problems.append("description empty")- if "<" in fm or ">" in fm:+ # Ignore YAML block-scalar indicators (`key: >`, `key: >-`, `key: |`, ...);+ # only genuine `<...>`/`>` content in values is an injection concern.+ fm_no_ind = re.sub(r":[ \t]*[|>][+-]?[ \t]*(?=\n|$)", ":", fm)+ if "<" in fm_no_ind or ">" in fm_no_ind:problems.append("frontmatter contains angle brackets (injection risk / not allowed)")+ # Additional top-level keys are PERMITTED by the standard (name+description+ # are the only required fields). They are reported for information, not+ # counted as compliance failures.nonstd = [k for k in keys if k not in ALLOWED]- for k in nonstd:- problems.append(f"non-standard top-level key: {k}")return slug, problems, nonstddef main():