Setup 标志

Setup

组织
CrowdStrike
setup

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

概览

发布者CrowdStrike
代码仓库fusion-skills
技能名称setup
星标数
29
复刻数
3
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 CrowdStrike 发布于 GitHub。请在安装前查看源内容。

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/setup
  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/setup .claude/skills/setup
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Falcon Fusion Credential Setup

Your role here is credential setup assistant.

You configure the Falcon API credentials every other skill depends on. These credentials grant workflow and SIEM access to a live CID.

Required steps:

  1. Check whether credentials already resolve (Step 1). If they do, you are done.
  2. If not, ask whether the user keeps the credentials in 1Password. If they do, write a profile of op:// references (Step 2a). Otherwise, create the credentials file from the template (Step 2b) and ask the user to paste their ID and secret into it using their own editor.
  3. Verify connectivity (Step 3).

Don't:

  • Ask the user to type or paste their client secret into the chat. It would land in the conversation transcript. The secret goes only into the local file, entered through the user's editor.
  • Print, echo, or repeat a secret you happen to see in the file.
  • Search 1Password yourself (op item list, op item get). Ask the user for the item name instead. op item get without a jq filter also prints the secret values.
  • Suggest export FALCON_CLIENT_SECRET=... for interactive use — it leaks the secret into shell history. (Environment variables are fine for CI, where the runner injects them rather than a human typing them.)

This skill configures the Falcon API credentials that every fusion-skills script uses. Credentials are stored in a per-profile TOML file at ~/.cache/crowdstrike-falcon-fusion/credentials.toml (multi-cloud capable), and the secret is entered through the user's own editor (or kept in 1Password and referenced from the file) — never through the chat.

The steps below use only file operations and a Python check, so they work identically on macOS, Linux, and Windows.

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

Step 1 — Check for existing credentials

First check, without running any script, whether there's anything to test: does ~/.cache/crowdstrike-falcon-fusion/credentials.toml exist, or are FALCON_CLIENT_ID and FALCON_CLIENT_SECRET set? Check the variables without printing their values. If neither is the case, nothing is configured. Go straight to Step 2a, and don't run the self-test, because it would only report the missing credentials as an error.

Otherwise, run the auth self-test:

bash
../../scripts/python.sh ../../common/scripts/auth.py
  • "Authentication successful" for both clients → credentials are configured. Report success and stop.
  • An error about missing credentials (for example, the file exists but has no usable profile) → continue to Step 2a.
  • An authentication failure (creds present but rejected) → the values are wrong; go to Step 2a or 2b and have the user correct them.

Step 2a — Offer 1Password

Before writing the template, ask: "Do you keep your Falcon API client ID and secret in 1Password, or want to?" If they don't, or aren't sure, skip to Step 2b.

If they do, the profile holds 1Password secret references instead of the values. References aren't secrets, so you can write the file yourself and the user doesn't need to edit it. Build the references from the user's answers. Don't call op to look up or search for the item: every call is slow and may need its own approval, and the self-test in Step 3 verifies the references anyway.

  1. Check that the 1Password CLI is installed with op --version. It's fast and doesn't touch the account, so it needs no approval. If op isn't found, offer to install it, and run the install only after the user agrees:

    bash
    brew install 1password-cli     # macOS
    winget install 1password-cli   # Windows

    On Linux, 1Password's apt and yum repositories need setup first, so point the user to the 1Password CLI install guide instead. If the user declines, use Step 2b. After installing, have the user open the 1Password app and turn on Settings > Developer > Integrate with 1Password CLI. Without it, op can't use the app's sign-in.

  2. Ask whether they already have a 1Password item for the API client. If not, walk them through creating one:

    1. In the Falcon console, go to Support and resources > Client Management > Create API client. Name it something specific, such as "Falcon Fusion skills", so it isn't mistaken for another client and reused with broader scopes. Grant Workflow (read and write) and, for the lookup-files skill, NGSIEM Lookup Files (read and write). The secret is shown only once, so keep the page open.
    2. In the 1Password app, create an API Credential item with the same name as the API client (for example, "Falcon Fusion skills"). Paste the client ID into username and the client secret into credential, and save.

    They paste both values into 1Password, never into the chat.

  3. Ask for the item's name, its vault, and which cloud they're on (US-1, US-2, EU-1, US-3, or GovCloud). The CLI can name a vault differently from the app. In a 1Password Business account, the personal vault the app shows as "Employee" is Private to op, so use Private for it.

  4. Build the references as op://<vault>/<item>/username and op://<vault>/<item>/credential. On a Login item instead of an API Credential item, the secret field is password.

  5. If ~/.cache/crowdstrike-falcon-fusion/credentials.toml doesn't exist, write it with that profile. If it does, add the profile as a new section and leave the existing ones alone. For example:

    toml
    default = "us-2"
    
    [us-2]
    client_id = "op://Private/Falcon Fusion skills/username"
    client_secret = "op://Private/Falcon Fusion skills/credential"

    Set base_url only on clouds other than US-1, US-2, and EU-1 (see the template in Step 2b). Apply the same chmod as in Step 2b, then go to Step 3. Tell the user that 1Password will ask them to authorize the CLI when the self-test runs, and that the prompt can take several seconds to appear.

If the self-test reports that a vault, item, or field doesn't exist, ask the user to run the reference-listing command in Keeping the secret in 1Password in their own terminal and paste its output, which contains only op:// paths. Then fix the profile. RequestDelegatedSession: cannot setup session means the 1Password app needs them to sign in to their account again.

See Keeping the secret in 1Password for how auth.py reads the references.

Step 2b — Create the credentials file and have the user fill it in

Create ~/.cache/crowdstrike-falcon-fusion/credentials.toml only if it does not already exist (never overwrite existing profiles). Write this template with the Write tool:

toml
# CrowdStrike Falcon API credentials for fusion-skills.
# Fill in client_id and client_secret below, then save this file.
# Either can be a 1Password reference instead, e.g. "op://Private/Falcon Fusion skills/credential".
#
# Create an API client in the Falcon console:
#   Support and resources -> Client Management -> Create API client
# Required scopes (names as shown in the console):
#   Workflow             read/write   - workflow authoring & deployment
#   NGSIEM Lookup Files   read/write   - lookup-file operations (lookup-files skill only)
# Maintainers only (not needed for regular skill use):
#   NGSIEM                read/write   - CQL match() verification of a lookup
#                                        (verify_lookup.py / verify-workflows.sh --lookup-dir)

default = "us-2"

[us-2]
client_id = ""
client_secret = ""
# base_url is optional on US-1, US-2, and EU-1: FalconPy discovers the region.
# Set it for any other cloud, such as US-3 or GovCloud.
base_url = "https://api.us-2.crowdstrike.com"

# Add more clouds as needed (change `default` above to switch):
# [us-1]
# client_id = ""
# client_secret = ""
# base_url = "https://api.crowdstrike.com"
#
# [us-3]
# client_id = ""
# client_secret = ""
# base_url = "https://api.us-3.crowdstrike.com"
#
# [eu-1]
# client_id = ""
# client_secret = ""
# base_url = "https://api.eu-1.crowdstrike.com"
#
# [us-gov-1]
# client_id = ""
# client_secret = ""
# base_url = "https://api.laggar.gcw.crowdstrike.com"

After creating the file, restrict its permissions (skip on Windows, where the user profile directory is already access-controlled):

bash
chmod 700 ~/.cache/crowdstrike-falcon-fusion
chmod 600 ~/.cache/crowdstrike-falcon-fusion/credentials.toml

Then tell the user, in your own words:

I created your credentials file at ~/.cache/crowdstrike-falcon-fusion/credentials.toml. Open it in your editor, paste your client ID and client secret into the us-2 section (on any other cloud, such as US-3 or GovCloud, also set base_url), and save. Then tell me to verify — don't paste the secret here.

Offer to open the file for them. Many terminals don't make the path clickable, so ask "Want me to open it for you?" and, if yes, run the opener for their OS:

bash
# macOS
open ~/.cache/crowdstrike-falcon-fusion/credentials.toml
# Linux
xdg-open ~/.cache/crowdstrike-falcon-fusion/credentials.toml
# Windows
explorer.exe %USERPROFILE%\.cache\crowdstrike-falcon-fusion\credentials.toml

Pick the command for the user's platform (check uname / the OS if unsure). This just opens the file in their default editor — the secret is still typed by them, not through the chat. Do not ask them to paste the secret into the chat.

Step 3 — Verify connectivity

Once the user says they have saved the file, re-run the self-test:

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

A successful run prints where the credentials came from (environment variables or a named profile, marked "(1Password)" when it used op:// references), the resolved base URL, a masked client ID, and "Authentication successful" for both the Workflows and Next-Gen SIEM clients. If it fails, the client ID, secret, or base URL is wrong. If the source isn't the one the user expects, a FALCON_CLIENT_ID/FALCON_CLIENT_SECRET left in the environment is outranking the profile. Otherwise, ask the user to correct the file and re-run. If the values are right and it still reports "could not obtain token", the network may be re-signing TLS traffic; see TLS-inspecting proxies.

Keeping the secret in 1Password

If the user keeps API secrets in 1Password and can't store them in plain text, client_id and client_secret can each hold a 1Password secret reference instead of the value (the same works for FALCON_CLIENT_ID and FALCON_CLIENT_SECRET).

Have the user create an API Credential item in the 1Password app (for example, "Falcon Fusion skills"), put the client ID in its username field and the client secret in its credential field, and then reference both fields in the profile:

toml
[us-2]
client_id = "op://Private/Falcon Fusion skills/username"
client_secret = "op://Private/Falcon Fusion skills/credential"

auth.py reads each op:// value with the 1Password CLI and keeps the results in memory only. The user needs op installed and signed in. Both references are read in one op call, so 1Password asks for approval at most once per script run. A reference takes the form op://<vault>/<item>/<field>; see secret reference syntax. Plain values keep working as before.

Building a workflow runs many scripts, so in a long session those approvals add up. To approve once per session instead, the user can start the assistant under op run with the references in environment variables. op run resolves them at launch, and the scripts then read plain values without calling op:

bash
FALCON_CLIENT_ID="op://Private/Falcon Fusion skills/username" \
FALCON_CLIENT_SECRET="op://Private/Falcon Fusion skills/credential" \
op run -- claude

Substitute the assistant's own command for claude. The tradeoff: the resolved secrets are in the environment of the assistant and every process it starts for the whole session.

The CLI's vault and field names can differ from what the app shows (a vault the app labels "Employee" may be Private to op, and a Login item names its secret field password rather than credential). Have the user print the exact references with this command, which shows no secret values. Don't run op item get without the jq filter, because that prints them:

bash
op item get "<item name>" --format json | jq -r '.fields[].reference'

If op fails with RequestDelegatedSession: cannot setup session, the 1Password app needs the user to sign in to their account again.

TLS-inspecting proxies

On a network that intercepts and re-signs TLS traffic, the self-test fails with "could not obtain token" even though the credentials are correct. Point the profile at the organization's CA bundle (a PEM file):

toml
[us-2]
ca_bundle = "~/certs/corporate-ca.pem"

auth.py exports it as REQUESTS_CA_BUNDLE for that run, replacing any REQUESTS_CA_BUNDLE inherited from the shell, since a stale one left over from another tool is a common cause of this failure. The self-test's CA bundle line shows the bundle in use and where it came from, for example ~/certs/corporate-ca.pem (profile ca_bundle, overrides REQUESTS_CA_BUNDLE).

If the plugin's Python setup can't reach public PyPI on the same network, set PIP_INDEX_URL (or UV_DEFAULT_INDEX for uv) to the organization's package mirror and run ../../scripts/setup-python-venv.sh again.

Credential resolution order

auth.py resolves credentials from the first source that supplies both an ID and a secret:

  1. Environment variables — FALCON_CLIENT_ID, FALCON_CLIENT_SECRET, and the optional FALCON_BASE_URL. Intended for CI, where the runner injects them.
  2. TOML profile file — ~/.cache/crowdstrike-falcon-fusion/credentials.toml, using the profile named by FALCON_PROFILE or the file's default key.

Either source can use op:// references (see Keeping the secret in 1Password).

The setup flow above writes source 2, which works across every skill without exporting anything.

Multiple clouds (profiles)

Add more [profile] sections to the TOML file (for example us-2 or eu-1) and change the default key, or select one per run:

bash
FALCON_PROFILE=eu-1 ../../scripts/python.sh ../../common/scripts/auth.py

Each cloud has its own API client, so with 1Password, use one API Credential item per cloud with the cloud in its name (for example, "Falcon Fusion skills (EU-1)") and point each profile at its own item. A run reads only the selected profile's references.

Required API scopes

The API client needs the Workflow scope (read/write) for workflow authoring and deployment. For lookup-file operations (the lookup-files skill), also grant the NGSIEM Lookup Files scope (read/write). Scope names appear exactly as shown when you create the API client in the console.

Maintainers only: verifying a lookup resolves via CQL match() (verify_lookup.py or verify-workflows.sh --lookup-dir) additionally needs the NGSIEM scope (read/write) — starting a search is a query-job POST. Regular use of the skills does not require it.

常见问题

Setup AI 技能有什么作用?

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

为什么在 TypingMind 中使用 Setup?

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

如何在 TypingMind 中安装 Setup?

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

哪些 AI 模型可以使用 Setup?

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

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

数量不限。只要模型支持技能,您就可以搭配 Setup 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Setup AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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