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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 45 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 CrowdStrike 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Authoring AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/authoring
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 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 中使用此技能

在任意 TypingMind 聊天中启用 Authoring,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Authoring。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Authoring 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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 AI 技能有什么作用?

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...

为什么在 TypingMind 中使用 Authoring?

因为您只需安装一次,就能搭配任何模型使用。Authoring 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Authoring?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/CrowdStrike/fusion-skills/tree/main/skills/authoring。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Authoring?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Authoring 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Authoring 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Authoring AI 技能免费吗?

是的。CrowdStrike 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇