Skip to content

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

Fix validator: register hardware-firmware-security subdomain, skip .bak dirs

mukul975673da1f3b0b7
diff --git a/tools/validate-skill.py b/tools/validate-skill.py
index 1ccd3625..d8482852 100755
--- a/tools/validate-skill.py
+++ b/tools/validate-skill.py
@@ -53,7 +53,7 @@ _SUBDOMAIN_ALIASES = {
"blockchain-security": {"blockchain-security"},
"data-protection": {"data-protection"},
"deception-technology": {"deception-technology"},
- "firmware-analysis": {"firmware-analysis", "firmware-security"},
+ "hardware-firmware-security": {"hardware-firmware-security", "firmware-analysis", "firmware-security"},
"privacy-compliance": {"privacy-compliance"},
"purple-team": {"purple-team"},
"supply-chain-security": {"supply-chain-security"},
@@ -263,7 +263,12 @@ def main():
sys.exit(1)
if sys.argv[1] == "--all":
- skill_dirs = sorted(glob.glob("skills/*/"))
+ # Skip .bak backup directories — they are stale copies without a SKILL.md.
+ # glob may return OS-native separators, so normalize before checking.
+ skill_dirs = sorted(
+ d for d in glob.glob("skills/*/")
+ if not d.rstrip("/\\").endswith(".bak")
+ )
if not skill_dirs:
print("ERROR: No skill directories found. Run from the repository root.")
sys.exit(1)