Skip to content
Back to search

cortex-skills

MarketplaceWorks with Claude CodeGitHub

Claude skill: build, validate and review Cortex XSOAR 6/8 and XSIAM playbooks as uploadable YAML

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/relix-boop--cortex-playbook-builder/badge.svg)](/listings/relix-boop--cortex-playbook-builder)

HTML

<a href="/listings/relix-boop--cortex-playbook-builder"><img src="/api/listings/relix-boop--cortex-playbook-builder/badge.svg" alt="findsafeskills safety rating" /></a>

Install

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

**Claude Code plugin**

/plugin marketplace add relix-boop/cortex-playbook-builder
/plugin install cortex-playbook-builder@cortex-skills

**Manual**

cp -r skills/cortex-playbook-builder ~/.claude/skills/

**Claude.ai / desktop**: zip `skills/cortex-playbook-builder` and upload under Customize → Skills → Upload skill.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 16 lines
  1. {
  2. "name": "cortex-skills",
  3. "owner": { "name": "Reli" },
  4. "metadata": { "description": "Claude skills for Cortex XSOAR / XSIAM playbook engineering." },
  5. "plugins": [
  6. {
  7. "name": "cortex-playbook-builder",
  8. "source": "./",
  9. "description": "Build, modify, validate and review Cortex XSOAR 6/8 and XSIAM playbooks as uploadable YAML.",
  10. "version": "0.1.0",
  11. "author": { "name": "Reli" },
  12. "license": "MIT",
  13. "category": "security"
  14. }
  15. ]
  16. }
README.md · README · 62 lines
  1. # Cortex Playbook Builder - Claude Skill
  2. A Claude skill that builds, modifies and reviews **Cortex XSOAR 6, XSOAR 8 and
  3. XSIAM playbooks** as complete, uploadable YAML - alert triage, IOC enrichment,
  4. XQL pivots, analyst approval forms, response actions and auto-close - plus the
  5. automations they need.
  6. It ships two tools the skill uses on every build:
  7. | Tool | What it does |
  8. |---|---|
  9. | `tools/pb_builder.py` | Generates playbook YAML from code: task ids, uuids, routes (`#none#` / labels / `#default#` / `#error#`), designer layout, `marketplaces`. No hand-typed ids. |
  10. | `tools/validate_playbook.py` | ~45 mechanical checks on playbooks and automation YAML (wiring, condition routes, context references, inputs, error paths, secrets, platform roots, docker image). Calibrated on the 108 shipped CommonPlaybooks: 0 errors. |
  11. Rules are tagged by source: **[OOB]** checked against shipped content,
  12. **[field]** learned on live MDR tenants, **[docs]** platform knowledge to verify.
  13. > Not affiliated with or endorsed by Palo Alto Networks. Cortex, XSOAR and
  14. > XSIAM are trademarks of Palo Alto Networks, Inc. Structure inspired by
  15. > [git-Jimit/fortisoar-playbook-builder](https://github.com/git-Jimit/fortisoar-playbook-builder) (MIT).
  16. ## Install
  17. **Claude Code plugin**
  18. ```
  19. /plugin marketplace add relix-boop/cortex-playbook-builder
  20. /plugin install cortex-playbook-builder@cortex-skills
  21. ```
  22. **Manual**
  23. ```bash
  24. cp -r skills/cortex-playbook-builder ~/.claude/skills/
  25. ```
  26. **Claude.ai / desktop**: zip `skills/cortex-playbook-builder` and upload under
  27. Customize → Skills → Upload skill.
  28. ## Usage
  29. > Build an XSIAM playbook for "Suspicious sign-in" alerts: check the user's
  30. > sign-in countries over 30 days with XQL, enrich the source IP, and ask the
  31. > analyst before disabling the account.
  32. Tools on their own:
  33. ```bash
  34. pip install pyyaml
  35. python3 skills/cortex-playbook-builder/examples/build_examples.py
  36. python3 skills/cortex-playbook-builder/tools/validate_playbook.py skills/cortex-playbook-builder/examples --platform xsiam --strict
  37. ```
  38. ## Layout
  39. ```
  40. .claude-plugin/ plugin + marketplace manifests
  41. skills/cortex-playbook-builder/
  42. SKILL.md the workflow and principles
  43. reference/ schema, task types, context/filters, platforms, pitfalls, checklists
  44. tools/ pb_builder.py, validate_playbook.py
  45. examples/ two generated playbooks + the script that builds them
  46. ```
  47. ## License
  48. MIT - see `LICENSE`.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.