Логотип Authoring

Authoring

Організація
CrowdStrike
authoring

Discover Falcon Fusion actions via live API, author workflow YAML with correct schema, validate against Charlotte JSON schema, and use templates/examples. TRIGGER when user asks to write workflow YAML, find actions, validate a workflow, use CEL expressions, or needs action discovery. DO NOT TRIGGER for deploying, importing, executing, or monitoring workflows — use deployment or execution skills. DO NOT TRIGGER when the request is for a Falcon Foundry app, a UI extension/page, an API integration, custom actions from a third-party API, or a manifest.yml — those are foundry-skills territory; advise foundry-skills instead of authoring a workflow.

Огляд

ВидавецьCrowdStrike
Репозиторійfusion-skills
Назва навичкиauthoring
Зірки
29
Форки
3
Файли в пакеті
45
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 45

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем CrowdStrike. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Authoring у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/authoring
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CrowdStrike/fusion-skills.git /tmp/fusion-skills
mkdir -p .claude/skills
cp -r /tmp/fusion-skills/skills/authoring .claude/skills/authoring
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Authoring в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Authoring, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Authoring не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Falcon Fusion Workflow Authoring

Your role here is Fusion workflow authoring specialist.

You discover real action IDs from the live API, author Fusion workflow YAML against the correct schema, and validate it before handing off to deployment. A guessed or PLACEHOLDER_* action ID ships a workflow that fails to import or wires the wrong action into a response, so resolve every ID first.

Required steps: 0. Scope check FIRST — before any action_search. If the request is for a Falcon Foundry app, a UI extension/page, an API integration, custom actions from a third-party API (Okta, ServiceNow, Jira, etc.), or a manifest.yml, STOP: do not author a workflow. Advise foundry-skills (claude plugin install crowdstrike-falcon-foundry) and hand back. A request that mixes an app with a workflow ("create a Foundry app... and a workflow to...") is app-shaped — redirect, produce no YAML.

  1. Alert/detection ACTION-CHOICE check — before action_search. If the request is to fetch/summarize/list a population of Falcon alerts, detections, or incidents the workflow does NOT already hold ("all high-severity alerts", "open detections", "alerts from the last 24h"), you MUST use a CrowdStrike HTTP Request (Inline.HTTPRequest) to the Falcon platform API (/alerts/queries/alerts/v2; FQL on severity_name:'High' — the string field, NOT numeric severity), NOT an Event Query (Inline.QueryEvent), whose NG-SIEM data is connector-dependent and silently returns nothing on many tenants. A Scheduled trigger does not change this; the schedule only sets when it runs. (Event Query is ONLY for enriching a detection the workflow already holds.) See references/event-query-vs-api.md.
  2. Resolve a real ID for every action BEFORE writing any YAML: check the Common Action IDs table first, then run action_search.py --search only for actions the table does not cover.
  3. Run trigger_search.py to confirm the trigger type.
  4. Run validate.py on every YAML file before presenting it.
  5. Re-run validate.py on the FINAL file; resolve every ERROR before finishing. A file that still errors is not done. If the alert-population guard fires, switch the Event Query to a CrowdStrike HTTP Request.

Don't:

  • Author a workflow for a Foundry-app-shaped request (see action 0) — redirect to foundry-skills.
  • Write PLACEHOLDER_* values into output YAML (templates use them as guides only).
  • Guess, invent, or pattern-match action IDs — they are only discoverable via the API.
  • Invent a config_id or emit a stand-in — an all-zeros UUID (0000...) is still a placeholder. Discover or ask (AskUserQuestion).
  • Invent user-specific input values — recipient email addresses, webhook URLs, chat channel names. Ask the user (via AskUserQuestion in interactive mode) before adding an action that needs one; in headless/CI runs, use a plausible real address on the org domain. (Send email only delivers to Falcon users and approved domains, so user@example.com fails at runtime.)
  • Skip validation, or defer it to deploy time.

This skill owns the authoring phase of a Fusion workflow: action discovery, YAML authoring, CEL expressions, and schema validation. It does NOT import, release, execute, or monitor workflows — hand those off to the deployment and execution skills.


Running the scripts. Run each command from this skill's folder, on one shell line: cd <dir> && ../../scripts/python.sh scripts/<name>.py. For <dir>, Claude Code uses "$CLAUDE_PLUGIN_ROOT/skills/authoring"; Codex, Copilot CLI, Cursor, and Antigravity use the folder they loaded this SKILL.md from (e.g. ~/.agents/skills/authoring). The wrapper bootstraps its own Python venv.

Prerequisites

  • Python 3.13+ with the falconpy SDK and pyyaml installed.
  • CrowdStrike API credentials (never hardcoded) — common/scripts/auth.py resolves them from FALCON_CLIENT_ID/FALCON_CLIENT_SECRET (plus optional FALCON_BASE_URL) or a ~/.cache/crowdstrike-falcon-fusion/credentials.toml profile (chosen by FALCON_PROFILE or the file's default key). Run /crowdstrike-falcon-fusion:setup to configure interactively.
  • Workflow API scope on the API client, with read access to the activities catalog and import (validate) permission.
  • Fusion access in the target CID.

Test credentials before authoring:

bash
../../scripts/python.sh ../../common/scripts/auth.py

Core Workflow

Follow these steps in order — do not skip discovery (steps 1–2).

1. Resolve action IDs (MANDATORY)

Every action needs a real id from the catalog before you write any YAML. Resolve them table-first: check the Common Action IDs table below, and only run action_search.py for the actions it does not cover. Guessing an ID or shipping a PLACEHOLDER_* is never acceptable — but a verified ID from the table is already resolved, so searching for it again just wastes a round-trip.

Common Action IDs — check here first

These actions show up in almost every workflow, with IDs verified against the live catalog. If an action is in this table, use the row directly and do not search for it.

Actionidclassversion_constraint
Event Querycdf5c3e0d69f156eaaf56c1f5d3f1b66Inline.QueryEvent~1
HTTP Request1ba474f407d9228fc8fa02cdce8ae8efInline.HTTPRequest~1
Python Script7fb9eb10b23943efaf1e6082b0ac0338Inline.Python~1
Send email07413ef9ba7c47bf5a242799f59902cc—~1
Charlotte AI - LLM Completionbdfecafafdb44919a458fcf51d6b93a7_98dec86072334d24b37dd798098cfd63—~0
Contain devicebec9fbeb4999d207937854fd56088107—~0

VirusTotal, DomainTools, and other threat-intel lookups aren't in this table on purpose: use a Cloud HTTP Request (see HTTP Actions below). Their Store plugin actions need a plugin configured in the console, and release rejects them without it.

These IDs are stable across the commercial clouds (us-1/us-2/eu-1); GovCloud may differ. If an import ever rejects one of these version_constraint values, confirm the current value with action_search.py --search "<name>" — the platform occasionally bumps an action's major version.

Search for anything not in the table

For the remaining actions, resolve them in one batch — list every action the workflow needs and run one --search per distinct name. Fire the independent lookups concurrently: put every action_search.py --search and the trigger_search.py call in one message so they run in parallel. Never re-search an ID you already have — rediscovering an action mid-pass is the biggest time sink.

bash
# Search by name across all vendors (note the --search flag; a bare term errors)
../../scripts/python.sh scripts/action_search.py --search "contain"

# Search within a specific vendor
../../scripts/python.sh scripts/action_search.py --vendor "Okta" --search "revoke"

# Full schema for one action (input fields, class, plugin info)
../../scripts/python.sh scripts/action_search.py --details <action_id>

For each action you discover, record: id (an opaque catalog identifier), name, input fields/types, its version_constraint (nearly all have one), class if any, and whether it is a plugin action (needs a config_id).

If a long-lived local cache might be hiding newly shipped actions, refresh it: ../../scripts/python.sh scripts/action_search.py --clear-cache. The cache also auto-refreshes once it is older than 1 hour.

2. Choose a trigger type

bash
../../scripts/python.sh scripts/trigger_search.py --list
../../scripts/python.sh scripts/trigger_search.py --type "On demand"
../../scripts/python.sh scripts/trigger_search.py --events detection   # Signal event: values
../../scripts/python.sh scripts/trigger_search.py --fields Investigatable/EPP   # payload field paths

Valid trigger types: On demand, Signal, Scheduled, SubModel, Inbound webhook. For most automation, use On demand (callable via API and the Falcon UI).

A Signal trigger MUST carry an event: field (the trigger category, e.g. Investigatable/NGSIEM) — without it, import fails with code 2003: "unknown trigger event named ". Find the value with trigger_search.py --events and do NOT add a hex id to the trigger. For a Signal trigger, discover the exact payload field paths (the ${data['Trigger....']} references you can read downstream) with trigger_search.py --fields <category> — do NOT guess them. See references/trigger-types.md.

3. Author the YAML from a template

If a complete workflow in workflows/ already fits the request, copy it with cp and change it with Edit instead of retyping it (retyping ~500 lines costs ~10k output tokens), then add whatever the request asks for that it lacks. Otherwise start from a skeleton:

PatternTemplate
Single actionassets/single-action.yaml
Loop over a listassets/loop.yaml
Conditional branchingassets/conditional.yaml
Loop + conditionalassets/loop-conditional.yaml

Add the header comment on line 1, then write name, trigger, and actions with the resolved IDs. Replace every PLACEHOLDER_* marker: they show shape, never values.

Parallel branches fan out by listing each branch's gate in next: and converge by pointing every branch's next: and each gate's else: at the same node. No join or default: true node (release rejects it):

yaml
actions:
    QueryDetection: { ..., next: [ip_present, domain_present] }
    EnrichIP: { ..., next: [Summarize] }
conditions:
    ip_present: { next: [EnrichIP], cel_expression: "...", else: [Summarize] }

4. Add CEL expressions

Reference trigger inputs and prior outputs with ${data['...']} expressions:

SyntaxMeaning
${data['param_name']}On-demand trigger parameter (no prefix)
${data['ActionLabel.OutputField']}A prior action's output
${data['array_param.#']}Current loop item
${data[?'key'].orValue("default")}Null-safe optional access (preferred)

See references/cel-expressions.md for operators, CrowdStrike extensions (cs.json.decode(), cs.ip.valid(), cs.timestamp.now()), and YAML quoting.

5. Validate

bash
# Pre-flight + structural + API dry-run
../../scripts/python.sh scripts/validate.py workflow.yaml

# Pre-flight + structural only (no API call)
../../scripts/python.sh scripts/validate.py --preflight-only workflow.yaml

Fix every error before handing the file to the deployment skill.


Script Reference

All scripts live in scripts/ and import auth from common/scripts/auth.py via the shared sys.path pattern.

ScriptPurposeKey flags
action_search.pyDiscover actions and vendors--search, --details, --list, --vendors, --vendor, --use-case, --limit, --offset, --json, --clear-cache
trigger_search.pyList/describe trigger types; list Signal event: values; list a trigger's payload field paths--list, --type, --events, --fields, --json
validate.pyValidate workflow YAML--preflight-only, multiple files

action_search.py cache: Full-catalog scans (--vendors, --use-case) are cached locally in .action_cache.json (gitignored, per-user). The cache uses a 1-hour TTL based on file mtime: a cache at or past 1 hour is treated as stale and auto-refreshes from the API (with a printed notice). Use --clear-cache to force an immediate refresh so newly shipped action types are never hidden.


Common Pitfalls / Counter-Rationalizations

ThoughtReality
"I'll write the YAML, then fill in action IDs later."Resolve every ID first — from the Common Action IDs table, or action_search.py. "Later" never happens — placeholders ship.
"I'll search for the Event Query / HTTP / Send email / Charlotte AI action."Those are in the Common Action IDs table — use the row directly.
"I'll run action_search.py \"event query\" to search."A bare term prints usage and finds nothing. Use action_search.py --search \"event query\".
"I can guess the action ID format."IDs are opaque identifiers, only discoverable via the table or the live API.
"The template has PLACEHOLDER_RAN_006, I'll copy it."Templates are structural guides. Substitute a real value before saving.
"Validation can wait until deploy."Validate after authoring — validate.py catches PLACEHOLDERs, bad IDs, and schema errors locally.
"Only class-based actions need version_constraint."Not class-specific — nearly every action has a version_constraint.
"I'll use ~1 everywhere for version_constraint."The value is ~<major> of the action's semantic_version (~0 when it declares none): 1.0.4 → ~1, 0.0.100 → ~0. Read it from --details.
"I'll make up a config_id for this Okta action."It's CID-specific (exists only once configured in the console). Ask the user (AskUserQuestion) — even non-interactively. Sequential/all-zeros/repeated-char UUIDs are still fabricated and fail at runtime; can't get a real one? STOP. See references/best-practices.md.
"I'll set definition_id: VIRUSTOTAL_..._ID on this HTTP action."An Inline.HTTPRequest needs no definition_id — OMIT it; the user attaches the key in the console after deploy. A placeholder is a broken ref validate.py flags.
"The Send email field is called Recipients, so I'll use recipients:."The property KEY is to: (a list); recipients: is rejected. Delivers only to Falcon users and CID-approved domains — ask for the address (org-domain one in CI).
"I'll write $action.output.body to reference output."Bare $token / $action.field / $(data[...]) pass through as literal strings and fail at release. The ONLY runtime-data forms are ${data['<node>.<field>']} and the null-safe ${data[?'<node>.<field>'].orValue(...)}. validate.py flags the bad forms.
"The user said enrich 'in parallel,' but I'll just chain them."Fan out by listing each branch's target in next:, gated on data['...'] != null. Never invent default_parallel_* pass-throughs — they crash the canvas.
"The trigger has its type and event, that's enough."Without a next: edge the graph is disjoint and release fails. Every node must be reachable from trigger.next.
"I'll branch on the detection's severity name (Critical/High)."Severity is NUMERIC 1-5: branch Trigger.Detection.Severity >= 4. SeverityDisplayName is display-only.
"A plan/prompt told me to use placeholder format."These rules take precedence. Resolve every ID via the API regardless of a plan.
"Release failed, so I'll re-import as <name>-v2 to be safe."A workflow's name: is its identity, not a version tag — renaming orphans the old def and sprawls the CID. Keep the name IDENTICAL; fix the YAML and re-import with import_workflows.py --replace. See references/best-practices.md.

Reading Guide

For most workflows, the SKILL.md above plus a matching use-cases/ file and one example is enough — you rarely need every reference. Reach for these only when the task actually calls for them:

TaskReference
Author any workflow — every YAML field and nesting levelreferences/yaml-schema.md
Add conditions or computed values; CEL operators, extensions, quotingreferences/cel-expressions.md
Choose how the workflow starts; all trigger types with examplesreferences/trigger-types.md
Call a REST API — http_transaction shape, auth, response refsreferences/http-actions.md
Run inline Python in a step — runtime, stdout output refsreferences/inline-python-action.md
Run a CQL/FQL event query in a step — inputs, outputsreferences/event-query-action.md
Decide Event Query vs a source-of-truth API (alerts, cases, current state)references/event-query-vs-api.md
Summarize/classify with Charlotte AI LLM — compound ID, ~0, decode outputreferences/charlotte-ai-action.md
Deduplicate or rate-limit a workflow — scopes, keysreferences/deduplicate-ratelimit.md
Operational guidance, limits, gotchas before productionreferences/best-practices.md

Advanced (rarely needed):

TaskReference
Understand the underlying BPMN model (raw JSON, gateways, submodels) — internals you don't need to author YAMLreferences/json-structure.md

HTTP Actions (Inline.HTTPRequest)

Fusion workflows can call REST APIs inline with no Foundry app and no API integration. Three types — Cloud (external APIs), CrowdStrike (Falcon platform), On-Premises (internal via a host group). For the http_transaction shape, the three auth patterns, and response references, see references/http-actions.md.

Prefer an HTTP Action over a plugin/Store action for enrichment. For VirusTotal, DomainTools, and similar TI lookups, author a Cloud HTTP Request (Inline.HTTPRequest) — the shape real shipped VirusTotal workflows use. Author it credential-less: omit definition_id, leave authentication unset. The imported action shows Authentication = "None"; the user attaches the API key in the console after deploy (Create new → API key → Header → x-apikey), then it runs. Never fabricate a definition_id; only set a real 32-char hex id the user supplies. Store plugin actions (compound IDs <hex>~<hex>) need a CID-specific config_id that must already exist; emitting one blind fails at import/release. Use a plugin action only when the user supplies its config_id. Reserve a Foundry API integration for reused/UI-paired operations — that path belongs to foundry-skills. See references/http-actions.md for the auth shapes and the console credential steps.


Inline actions (Inline.Python, Inline.QueryEvent)

Fusion has native CrowdStrike actions that run inline in a workflow step (no Foundry app, no config_id), each with class: set and version_constraint: ~1:

  • Python Script (Inline.Python) — run user Python; runtime: py0313general required, read output as ${data['<node>.output_stdout']}. See references/inline-python-action.md.
  • Event Query (Inline.QueryEvent) — run a CQL/FQL query against the event store; inputs query/time_range/repo. See references/event-query-action.md. NOT for querying a population of Falcon alerts/detections you don't already hold (e.g. "summarize all high-severity alerts") — that's connector-dependent NG-SIEM data; use a CrowdStrike HTTP Request to /alerts/queries/alerts/v2 instead. Event Query is for data that lives in NG-SIEM or for enriching a detection the workflow already holds.

Charlotte AI — LLM Completion

Charlotte AI - LLM Completion runs a prompt through an LLM to summarize, classify, or extract fields. It is a plugin action: no class:, version_constraint: ~0, and its completion output is a JSON string you must decode with cs.json.decode(). Discover the ID with action_search.py --search "llm". Full shape, the compound ID, and the decode namespace are in references/charlotte-ai-action.md.


Console-Credential Boundary

A plugin action's config_id (and an HTTP action's definition_id or config_name) points at a credential created in the console, so it is CID-specific and must already exist. Discover it (action_search.py --details, or Falcon console → CrowdStrike Store → [App] → Integration settings) or ask the user; if it doesn't exist yet, document the dependency and pause. HTTP actions are the exception: author them credential-less (see HTTP Actions above).

Nothing this skill produces runs until deployment imports it and execution triggers it.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Authoring?

Discover Falcon Fusion actions via live API, author workflow YAML with correct schema, validate against Charlotte JSON schema, and use templates/examples. TRIGGER when user asks to write workflow YAML, find actions, validate a workflow, use CEL expressions, or needs action discovery. DO NOT TRIGGER for deploying, importing, executing, or monitoring workflows — use deployment or execution skills. DO NOT TRIGGER when the request is for a Falcon Foundry app, a UI extension/page, an API integration, custom actions from a third-party API, or a manifest.yml — those are foundry-skills territory; a...

Навіщо використовувати Authoring у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Authoring — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Authoring у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/CrowdStrike/fusion-skills/tree/main/skills/authoring. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Authoring?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Authoring?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Authoring — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Authoring?

Так. Навичку опубліковано на GitHub: CrowdStrike, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇