Логотип Deployment

Deployment

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

Import, release, and manage Falcon Fusion workflow definitions in a CID. TRIGGER when user asks to import a workflow, release a workflow version, list existing workflows, check for duplicates, or manage workflow definitions. DO NOT TRIGGER for writing YAML (use authoring), executing workflows, or monitoring (use execution).

Огляд

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

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

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

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

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

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

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

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

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

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

1

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

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

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/deployment
  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/deployment .claude/skills/deployment
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

Falcon Fusion Workflow Deployment

Your role here is Fusion workflow deployment specialist.

You deploy workflow definitions into a CID safely: validate before importing, never create duplicates, and release only with the user's go-ahead.

Required steps:

  1. Import with import_workflows.py, which validates the YAML and checks for an existing workflow with the same name by default.
  2. Import and release act on a live production CID. Deploy only when the user's request explicitly authorizes it (e.g. "import it", "deploy to my CID", "release it"). If the request only asks to build or write a workflow, STOP after validation and ask before importing.

Don't:

  • Import without validating first.
  • Skip the duplicate-name check (--skip-duplicate-check).
  • Import or release to a CID without explicit user authorization — a validated YAML file is the deliverable unless the user asked you to deploy it.
  • Release (enable) a workflow without the user's go-ahead. A workflow must be released before it can be executed at all, including a test run, and release makes it act on live events and real assets, so confirm with the user before releasing unless they explicitly asked you to.
  • Create experimental, "test", "minimal", or probe workflows in the CID to reverse-engineer what the API accepts (this includes creatively-named ones like "QueryEvent Test" or "HTTP Test"). Import the one workflow you were asked to build, once. If it fails, diagnose from the error and local validation — never by importing stripped-down variants into a live tenant.
  • Use --skip-validate to get past a validation failure. Validation catches invalid workflows (e.g. a bad trigger.type) that otherwise fail at the API as an opaque 500. Fix the workflow instead of skipping the check.
  • Retry an import that returns a 500 / Internal Server Error more than once. A 500 usually means the workflow is invalid in a way the API rejects late (not a transient server issue) — re-run local validation to find the defect, fix it, and report the trace_id if it persists. Do not loop re-importing.
  • Patch a deployed definition in place, or call FalconPy directly for any workflow operation (an inline update_definition or delete_definition, the raw update API). The only update path is: fix the source YAML, then re-import. Delete through delete_workflow.py (or the repo's ../../scripts/cleanup_workflows.py).

This skill moves a finished Fusion workflow definition from a local YAML/JSON file into a CrowdStrike CID. Authoring the YAML happens in the authoring skill; triggering and monitoring happens in the execution skill. Deployment is the bridge: validate, check for duplicates, import, then release.

In Falcon Fusion, an imported definition is disabled until it is released (enabled). Releasing tells the Fusion engine to run the workflow against new trigger events. A disabled definition can't be executed, not even on demand: the execute API rejects it with workflow definition ... is disabled. To test a workflow, release it first, ideally in a test CID.

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

Prerequisites

  • Python 3.13+

  • FalconPy SDK installed (pip install crowdstrike-falconpy — leave unpinned per CrowdStrike guidance)

  • API credentials resolved by common/scripts/auth.py from environment variables (for CI/overrides) or the TOML profile:

    • FALCON_CLIENT_ID
    • FALCON_CLIENT_SECRET
    • FALCON_BASE_URL (optional; FalconPy discovers US-1, US-2, and EU-1, so set it for any other cloud, such as US-3 or GovCloud)

    Run /crowdstrike-falcon-fusion:setup to configure credentials interactively (writes the TOML profile).

  • An API client with the Workflow API scope (read + write)

  • Verify auth before deploying:

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

Core Workflow

Deployment is a four-step pipeline. Do not skip steps 1 and 2.

1. Validate the YAML first

Validation is owned by the authoring skill's validate.py. The import script calls it automatically, but run it manually first when iterating:

bash
../../scripts/python.sh ../authoring/scripts/validate.py workflows/my-workflow.yaml

Fix every structural error before continuing. A definition that fails validation will be rejected by the API.

2. Check for an existing workflow with the same name

Workflow names must be unique within the tenant. import_workflows.py checks this itself before importing (step 3): it skips a file whose name already exists, prints DUPLICATE with the existing ID, and exits 1. So you don't need a separate check before importing. Use query_workflows.py only when you want to look a name up without importing:

bash
# Exact-name check (exit 0 if it exists, 1 if not, 2 if the API call failed)
../../scripts/python.sh scripts/query_workflows.py --check-name "My Workflow"

# Or extract the name straight from the YAML and check
../../scripts/python.sh scripts/query_workflows.py --check-yaml workflows/my-workflow.yaml

If a duplicate is found, this is almost always your own earlier attempt at the same workflow. Iterate in place with import_workflows.py --replace (it deletes every existing definition with exactly that name, then re-imports; a name that differs only in case is left alone and reported as a duplicate). Do not rename the workflow to <name> v2 to get past the check — a renamed copy leaves the old definition orphaned in the CID, and every retry sprawls another dead workflow. Keep the name stable across attempts; use --replace (or delete the old definition explicitly) instead.

3. Import the definition

bash
# Single file — validates and checks duplicates by default
../../scripts/python.sh scripts/import_workflows.py workflows/my-workflow.yaml

# A whole directory of definitions (all *.yaml/*.yml)
../../scripts/python.sh scripts/import_workflows.py workflows/

On success the script prints the new definition ID. Capture it — you need it to release and to execute the workflow.

Post-import: configure HTTP-Action credentials in the console. If the workflow contains a credential-less HTTP Action (authored without a definition_id), it imports with Authentication = "None". Tell the user to attach the API key in the console before the action will succeed: open the Cloud HTTP Request action → Authentication → Create new → API key → secret key → location Header → header name (e.g. x-apikey) → Test → Save (or Use existing if a matching credential already exists). A 401/403 at runtime almost always means this step is pending. See ../authoring/references/http-actions.md.

If the import fails, stop — do not loop. Some import failures are not fixable by editing the YAML, and retrying wastes time and tokens. Read the error and route accordingly:

Error from the API / import scriptWhat it meansWhat to do
no definition ID (workflow not created)The API accepted the call but created nothingStop. Report it — this is usually a missing plugin config or a server-side issue, not a YAML defect. Do not re-edit and retry.
API returned status 500 / "Internal Server Error"Server-side error (a trace_id is included)Stop. Report the trace_id to the user; a 500 is not something YAML edits fix. Retry at most once.
Missing / unknown config_id for a plugin action (VirusTotal, DomainTools, Charlotte AI, Slack, Zscaler)The integration is not installed/configured in this CIDStop. Tell the user which action needs a console-created config_id; do not invent one or loop editing.
Structural / validation errorA real YAML defectFix the YAML, then re-validate and re-import (this one is worth iterating on).

Only the last row justifies editing and retrying. For the others, surface the error to the user and stop — repeatedly re-importing against a 500 or a missing config will not succeed.

Never debug by importing probe workflows. When an import fails, do not build "Test QueryEvent", "Minimal trigger", or other stripped-down workflows in the CID to isolate what the API accepts. That litters the tenant with disabled junk and burns time without fixing the real workflow. Diagnose from the error message and validate.py output instead, and if the blocker is a missing plugin config_id, report it — that is a console/CID setup step the user must do, not something more imports will resolve.

4. Release (enable) the workflow

Releasing enables the definition so the Fusion engine runs it against trigger events. It's also required before the execution skill can trigger the workflow, so release before testing, with the user's go-ahead:

bash
../../scripts/python.sh scripts/release_workflow.py --id <definition_id>

If release reports validation errors, stop and fix the source YAML. A workflow can import successfully yet fail validation at release, because the server validates more strictly than import. Fix the YAML, re-validate, and re-import with --replace; don't repair the deployed copy (see Don't above). Report the release error, including any trace_id. A common one, exclusive gateway '<name>' outgoing flow ... has no condition set and is not marked as default, is a condition with neither a cel_expression nor an else: (see the authoring skill's parallel-branches example).

The exact recovery loop (do this, not the escape hatch):

bash
# 1. Fix the condition in the SOURCE YAML (add cel_expression + else:).
#    Keep the workflow `name:` IDENTICAL — do NOT bump it to `<name>-v2`.
#    The name is the workflow's identity; --replace matches on it.
# 2. Re-validate — this now catches the release-failing shape pre-deploy:
../../scripts/python.sh ../authoring/scripts/validate.py my-workflow.yaml
# 3. Re-import with --replace: deletes the broken same-name definition and
#    imports the fixed YAML in one step (supported delete + import, not a patch).
../../scripts/python.sh scripts/import_workflows.py --replace my-workflow.yaml

--replace keeps ONE definition per workflow name instead of leaving a renamed copy per attempt — do NOT rename-and-reimport to dodge the duplicate check, which sprawls the CID with dead definitions. (Note: each --replace assigns a new definition ID; true in-place update via the PUT endpoint is not currently usable.) It exports the old definition before deleting it. If the new import then fails (a server-side error can follow a clean validation), it re-imports that export and prints RESTORED previous version (new ID: …); if the restore fails too, it prints the path of the saved export.

Reaching for python - <<EOF ... update_definition(...) to patch the deployed copy is never step 2. It does not fix the source, so the next re-import reintroduces the same defect, and the API returns repeated 500s. Re-import from fixed source is the whole recovery.

Script Reference

All scripts add common/scripts to sys.path and import get_client from the shared auth module. Run them from anywhere; paths are anchored to each script's own location.

ScriptPurposeKey flags
query_workflows.pyList, search, and check for existing workflows--list, --search TERM, --check-name NAME, --check-yaml FILE..., --json
import_workflows.pyValidate, dedupe, and import definitionsFILE|DIR... (positional), --skip-validate, --skip-duplicate-check, --replace
release_workflow.pyRelease (enable) a definition by ID--id DEF_ID (required), --json
delete_workflow.pyDelete a definition by ID or exact name--id DEF_ID, --name NAME (repeatable), --yes, --json (requires --yes)
export_workflow.pyExport a deployed definition back to YAMLDEF_ID (positional), -o FILE, --no-sanitize

query_workflows.py

bash
../../scripts/python.sh scripts/query_workflows.py --list                 # All definitions
../../scripts/python.sh scripts/query_workflows.py --search "contain"     # Substring match
../../scripts/python.sh scripts/query_workflows.py --check-name "My Flow" --json
../../scripts/python.sh scripts/query_workflows.py --check-yaml *.yaml     # Batch duplicate check

--check-name and --check-yaml exit 0 when a duplicate exists, 1 when the name is free, and 2 when the API call failed (the answer is unknown, so don't treat it as free).

import_workflows.py

bash
../../scripts/python.sh scripts/import_workflows.py wf.yaml               # Default: validate + dedupe
../../scripts/python.sh scripts/import_workflows.py --skip-validate wf.yaml   # AVOID — see pitfall 2
../../scripts/python.sh scripts/import_workflows.py --skip-duplicate-check wf.yaml
../../scripts/python.sh scripts/import_workflows.py ./workflows/          # Glob a directory

Supports YAML and JSON definitions, batch mode (multiple files), and directory expansion (*.yaml/*.yml). Prints a per-file summary and exits non-zero if any file failed or was a duplicate. --replace can't be combined with --skip-duplicate-check, since it needs the duplicate check to find what to replace.

release_workflow.py

bash
../../scripts/python.sh scripts/release_workflow.py --id 1a2b3c...        # Enable
../../scripts/python.sh scripts/release_workflow.py --id 1a2b3c... --json # Machine-readable

Calls the Workflows definition-action endpoint with action_name="enable". The definition ID comes from the import step or from query_workflows.py.

delete_workflow.py

bash
../../scripts/python.sh scripts/delete_workflow.py --id 1a2b3c...          # Delete by ID
../../scripts/python.sh scripts/delete_workflow.py --name "Probe run 1"    # Delete by exact name
../../scripts/python.sh scripts/delete_workflow.py --id 1a2b3c... --yes    # Skip confirmation (scripted)

Deletes a whole definition via the Workflows delete endpoint (FalconPy delete_definitions). Use it to remove test, duplicate, or throwaway workflows. Deletion is permanent, so it prompts for confirmation unless --yes is passed (or FUSION_SKILLS_SUPPRESS_CONFIRM=1 is set for test harnesses). --json can't prompt, so it refuses to delete without --yes. This is the supported way to remove a workflow — it is not a way to edit a deployed one: to change a workflow, fix the source YAML and re-import (see pitfall 5).

Common Pitfalls

  1. Importing a duplicate name. Names must be unique in the tenant. Always run query_workflows.py --check-name (or --check-yaml) first. A duplicate import can fail silently or produce an "Unknown error."

  2. Importing without validating. Skipping validation (--skip-validate) pushes broken YAML to the API. Never use --skip-validate to get past a validation failure — an invalid workflow (for example a bad trigger.type) then fails at the API, often as an opaque 500 Internal Server Error that looks like a server problem but is really a broken definition the local validator would have caught. Fix the workflow and let validation run. --skip-validate is only for when you have already validated the same file separately in the same session.

  3. Releasing without confirming. A disabled definition can't be executed, so testing with the execution skill (trigger_workflow.py) requires a release first. Release also lets Signal and Scheduled workflows fire on live events and real assets, so get the user's go-ahead before calling release_workflow.py, and prefer a test CID for trial runs.

  4. Losing the definition ID. The import output contains the ID you need for release and execution. Capture it; re-finding it later means a query_workflows.py --search round-trip.

  5. Wrong API scope. Import and release require the Workflow scope with write access. A read-only client lists workflows fine but fails on import/release with a permissions error.

  6. Editing the deployed copy, not the source. Re-importing an edited YAML creates a new definition (or trips the duplicate check). Treat the local YAML as the source of truth; re-import to update, and remember the new definition is disabled again until re-released. Never try to patch a deployed definition in place through the raw workflow update API or a hand-rolled inline FalconPy call (update_definition in a python - <<EOF snippet) — that path is not part of this skill and looping edits against it just returns 500s. (Deleting a whole workflow is fine — use delete_workflow.py.)

  7. Looping on unrecoverable import errors. A 500, a missing plugin config_id, or a "no definition ID" result will not be fixed by editing the YAML. Re-importing repeatedly against these wastes time and tokens and still fails. Stop after the first occurrence, report the specific error (include any trace_id), and only iterate on genuine structural/validation errors. See the error table in step 3.

Handoff

  • Came from authoring? You have a validated YAML file — start at step 2 (duplicate check).
  • Going to execution? Once the user approves the release, pass the definition ID to the execution skill to trigger and monitor a test run (a disabled definition can't execute).

Reading Guide

DocumentWhen to read
references/console-verification.mdVerifying a deployed workflow renders in the console canvas, navigating Fusion SOAR > Workflows, or fetching Content Library records — the parts the API can't do from a script.

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

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

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

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

Import, release, and manage Falcon Fusion workflow definitions in a CID. TRIGGER when user asks to import a workflow, release a workflow version, list existing workflows, check for duplicates, or manage workflow definitions. DO NOT TRIGGER for writing YAML (use authoring), executing workflows, or monitoring (use execution).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Усі

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

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