Logo Setup

Setup

Tổ chức
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.

Tổng quan

Nhà phát hànhCrowdStrike
Kho mãfusion-skills
Tên kỹ năngsetup
Sao
29
Bản fork
3
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được CrowdStrike công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Setup không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Setup làm được gì?

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.

Vì sao nên dùng Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/CrowdStrike/fusion-skills/tree/main/skills/setup. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Setup có miễn phí không?

Có. Kỹ năng này được CrowdStrike phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇