/crowdstrike-falcon-fusion:executionfrom crowdstrike-falcon-fusion
Triggers deployed Falcon Fusion workflows, monitors execution status, retrieves results, and debugs failures. Confirms workflow is released before execution and validates parameters.
Ships in crowdstrike-falcon-fusion. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Your role here is Fusion workflow execution and debugging specialist.
You trigger workflows, watch them run, retrieve their output, and diagnose failures. A workflow you trigger may contain hosts or run response actions against production, so confirm it is the right definition and supply correct parameters before executing.
Required steps:
- Confirm the workflow is deployed and released (enabled) before triggering it.
- Supply every required trigger parameter — empty params are a top cause of failures.
Don't:
- Trigger a workflow that has not been released (enabled) — it will not execute.
- Assume an execution succeeded without checking its terminal status.
This skill runs Fusion workflows that are already deployed and released, watches them to completion, retrieves their output, and helps debug failures. Writing the YAML happens in the authoring skill; importing and releasing happens in the deployment skill.
An execution moves through states and ends in a terminal state. The terminal states are Succeeded, Completed, Failed, Canceled, NonRecoverable, and ActionRequired. (ActionRequired is terminal for polling: it waits on human input and will not progress on its own.) Anything else means the execution is still running.
SucceededvsCompleted. Live testing against the execution-results API found that a normal successful execution reports its top-levelstatusasCompleted, notSucceeded— the scripts in this skill treat both as success (seeSUCCESS_STATUSESinget_execution_results.py). Don't assumeSucceededis the only success value when reading raw API output yourself.
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/execution"; Codex, Copilot CLI, Cursor, and Antigravity use the folder they loaded this SKILL.md from (e.g.~/.agents/skills/execution). The wrapper bootstraps its own Python venv.
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_IDFALCON_CLIENT_SECRETFALCON_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
The definition ID of the workflow to run (from the deployment skill's import output, or query_workflows.py --search)
Verify auth before running:
../../scripts/python.sh ../../common/scripts/auth.py
A workflow must be enabled before it will execute. Confirm it exists and is enabled:
../../scripts/python.sh ../deployment/scripts/query_workflows.py --search "my workflow"
Look for Status: enabled in the output. If it shows disabled, release it first with the deployment skill (release_workflow.py --id <id>).
# Pass parameters inline as JSON
../../scripts/python.sh scripts/trigger_workflow.py --id <definition_id> --params '{"device_id":"abc123"}'
# Or let the script prompt you interactively from the workflow's parameter schema
../../scripts/python.sh scripts/trigger_workflow.py --id <definition_id>
On success the script prints an execution ID. Capture it — you need it to monitor and to fetch results.
Poll until the execution reaches a terminal state:
../../scripts/python.sh scripts/monitor_execution.py --execution-id <execution_id>
# Tune the cadence for long-running workflows
../../scripts/python.sh scripts/monitor_execution.py --execution-id <execution_id> --interval 10 --timeout 600
Status updates go to stderr; the final result goes to stdout, so you can pipe the result while still watching progress.
Shortcut:
trigger_workflow.py --waittriggers and polls in one step. Usemonitor_execution.pydirectly when you triggered earlier, from the console, or from another tool.
../../scripts/python.sh scripts/get_execution_results.py --execution-id <execution_id>
../../scripts/python.sh scripts/get_execution_results.py --execution-id <execution_id> --json
This is a single fetch — use it after monitor_execution.py reports a terminal state, or any time you want the current status and output without polling.
When an execution ends in Failed or NonRecoverable:
--json to see the output and any error detail:
../../scripts/python.sh scripts/get_execution_results.py --execution-id <execution_id> --json
fusion execution-log repo, not the per-execution scripts. See references/execution-log-queries.md.references/throttling.md.All scripts add common/scripts to sys.path and import from the shared auth module. monitor_execution.py and trigger_workflow.py reuse fetch_results and the terminal-status set from get_execution_results.py, so they stay in sync on the API response shape.
| Script | Purpose | Key flags |
|---|---|---|
trigger_workflow.py | Execute a workflow with params; optionally wait | --id DEF_ID (required), --params JSON, --wait, --timeout SECS, --json (needs --params or --autofill) |
monitor_execution.py | Poll an execution until terminal/timeout | --execution-id ID (required), --interval SECS, --timeout SECS, --json |
get_execution_results.py | Fetch one execution's status and output | --execution-id ID (required), --json |
../../scripts/python.sh scripts/trigger_workflow.py --id <def_id> --params '{"k":"v"}'
../../scripts/python.sh scripts/trigger_workflow.py --id <def_id> # Interactive prompts
../../scripts/python.sh scripts/trigger_workflow.py --id <def_id> --params '{}' --wait --timeout 120
Parameters come from --params (a JSON string) or interactive prompts derived from the workflow's parameter schema, with type coercion for integers, booleans, arrays, and objects. The execute endpoint returns the execution ID as a bare string or an object; the script handles both shapes.
../../scripts/python.sh scripts/monitor_execution.py --execution-id <exec_id>
../../scripts/python.sh scripts/monitor_execution.py --execution-id <exec_id> --interval 10 --timeout 600 --json
Defaults: --interval 5, --timeout 300. Prints status updates to stderr and the final result to stdout. Exits 0 only on a successful terminal state (Succeeded or Completed); non-zero on any other terminal state or timeout, so CI can react.
../../scripts/python.sh scripts/get_execution_results.py --execution-id <exec_id>
../../scripts/python.sh scripts/get_execution_results.py --execution-id <exec_id> --json
Single fetch. Reads resources[0] from the API envelope for the execution's status and output.
Triggering an unreleased workflow. A disabled definition will not execute. Confirm Status: enabled (step 1) before triggering, and release it via the deployment skill if needed.
Missing required parameters. When triggered via API (not the console UI), parameters are not prompted by the platform. Pass every required field in --params. Empty params are the most common failure cause.
Assuming success without checking status. A returned execution ID means the run started, not that it succeeded. Always confirm the terminal status with monitor_execution.py or get_execution_results.py.
Too-short timeout. Long workflows (loops over many devices, paginated API calls) can exceed the 120s/300s defaults. Raise --timeout and --interval for these — a timeout does not cancel the execution; it just stops polling.
Malformed --params JSON. The value must be valid JSON (double-quoted keys/strings). {'k':'v'} is not valid JSON and will raise a parse error before the workflow is triggered.
Treating ActionRequired as still-running. ActionRequired is terminal for polling — the workflow is paused for human input and will not advance on its own. Resolve the input request in the Fusion console; it will not clear from these scripts.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/authoringDiscover 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.
/deploymentImport, 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).
/foundry-redirectTRIGGER when the user asks to "build a Foundry app", "create a Foundry app", mentions manifest.yml, or needs a UI page/extension, serverless function, collection, or a custom API integration from a third-party API (Okta, ServiceNow, Jira, etc.) built. DO NOT TRIGGER for a standalone Fusion workflow that only wires together existing actions. This skill declines Foundry-app requests and points to the crowdstrike-falcon-foundry plugin, so the redirect works even without plugin hooks; it yields to the real Foundry plugin when that plugin is also installed.
/lookup-filesManage Falcon Next-Gen SIEM lookup files (CSV/JSON/TXT) for CQL match() queries. TRIGGER when user asks to create, list, update, or delete lookup files, or needs help with CQL match() function. DO NOT TRIGGER for Fusion workflows, action discovery, or workflow deployment — use the workflows/authoring/deployment skills.
/setupConfigure CrowdStrike Falcon API credentials for the fusion-skills plugin. TRIGGER when user asks to set up credentials, configure API access, or runs into authentication errors.
/workflowsOrchestrates the full Falcon Fusion workflow lifecycle from discovery through deployment and execution. TRIGGER when user asks to "create a Fusion workflow", "build a Fusion playbook", "automate CrowdStrike actions", or mentions Fusion workflows without specifying a sub-task. DO NOT TRIGGER when user is working in a Foundry app context, mentions manifest.yml, or asks to "build a Foundry app" — use foundry-skills instead.
npx claudepluginhub crowdstrike/fusion-skills --plugin crowdstrike-falcon-fusionOther plugins' skills for the same job