Lookup Filesのロゴ

Lookup Files

組織
CrowdStrike
lookup-files

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

概要

公開者CrowdStrike
リポジトリfusion-skills
スキル名lookup-files
スター
29
フォーク
3
同梱ファイル
10
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 10個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    CrowdStrikeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルLookup FilesをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-files
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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/lookup-files .claude/skills/lookup-files
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでLookup Filesを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にLookup Filesを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Lookup Filesは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Falcon Next-Gen SIEM Lookup Files

Your role here is Falcon Next-Gen SIEM lookup file specialist.

You manage lookup files that feed CQL match() enrichment. Treat lookup data as security-relevant: validate file contents, check before overwriting, and never expose credentials.

Required steps:

  1. List before creating — run list_lookups.py --search "<name>" to check for a duplicate. Importing an existing name overwrites it silently.
  2. Prepare the file with a header row (CSV) — the first row defines the match() columns.
  3. Upload, then verify with get_lookup.py before using the file in a CQL query.

Don't: Overwrite a lookup file without confirming it exists, exceed the rate limit (5 uploads / 30s), or log credentials.

Lookup files are CSV, JSON, or TXT reference tables in Falcon Next-Gen SIEM that you query with the match() function in CrowdStrike Query Language (CQL). Common uses: IP blocklists, user risk scores, asset inventories, and IOC reference tables.

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/lookup-files"; Codex, Copilot CLI, Cursor, and Antigravity use the folder they loaded this SKILL.md from (e.g. ~/.agents/skills/lookup-files). The wrapper bootstraps its own Python venv.

Prerequisites

  • Python 3.13+ with crowdstrike-falconpy installed (pip install crowdstrike-falconpy)
  • CrowdStrike API credentials with the NGSIEM Lookup Files scope (read/write)
  • Access to a CID with Falcon Next-Gen SIEM enabled

Required API Scopes

The NGSIEM Lookup Files scope, with read and/or write access:

Use caseReadWriteEnables
Browse / download onlyYes—List, search, download
Full usageYesYesAbove plus create, update, delete

Credentials

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 (for CI and overrides).
  2. TOML profile file ~/.cache/crowdstrike-falcon-fusion/credentials.toml (profile chosen by FALCON_PROFILE or the file's default key).

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

The scripts share auth via common/scripts/auth.py, which exposes get_ngsiem_client() for Next-Gen SIEM operations. Test credentials:

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

Core Workflow

Step 1 — List (check for duplicates)

bash
../../scripts/python.sh scripts/list_lookups.py --list
../../scripts/python.sh scripts/list_lookups.py --search "blocklist"

Step 2 — Prepare the file

CSV needs a header row; the first column is typically the match key:

csv
ip,category,source,added_date
10.0.0.1,c2,threat-intel,2026-01-15
192.168.1.100,scanner,internal-scan,2026-02-01

See assets/example-ip-blocklist.csv and assets/example-user-risk.csv for reference formats, and references/lookup-file-formats.md for the full format rules.

Step 3 — Upload

bash
../../scripts/python.sh scripts/create_lookup.py --file blocklist.csv --name "ip-blocklist.csv"

Step 4 — Verify

bash
../../scripts/python.sh scripts/get_lookup.py --name "ip-blocklist.csv"
../../scripts/python.sh scripts/list_lookups.py --search "blocklist" --json

Step 5 — Use in CQL

Reference the file with the match() function (run in Falcon Next-Gen SIEM):

match(file="ip-blocklist.csv", column=ip, field=src_ip, include=category)

column= is a header in the lookup CSV (ip); field= is the event field (src_ip). Do not swap them — putting the event field in column= matches a non-existent column and returns nothing. See references/cql-match-function.md for full syntax and examples.

Step 6 — Update

Replace the content while keeping the same filename:

bash
../../scripts/python.sh scripts/update_lookup.py --name "ip-blocklist.csv" --file updated-blocklist.csv

Update is content-only — it does not carry labels. The PATCH endpoint (/ngsiem-content/entities/lookupfiles/v1, wrapped by both this script and the Fusion "Update lookup file" workflow action) accepts only search_domain, filename, and file. It has no labels parameter, so any labels a file had in the Next-Gen SIEM UI are not preserved across an update — the UI manages labels through a separate API that the REST update path doesn't touch. If a lookup file needs labels, set them in the console after updating, or keep label-bearing files out of automated update workflows.

Step 7 — Delete

bash
../../scripts/python.sh scripts/delete_lookup.py --name "ip-blocklist.csv" --confirm

Lookup Files from Workflows

A Fusion pattern (the built-in "Introduction to Lookup file actions" playbook) automates lookup file creation from email: a Monitored Mailbox trigger extracts a CSV attachment, "Get lookup file metadata" checks existence, and "Create/Overwrite lookup file" writes it. To build that workflow, use the workflows orchestrator skill in this plugin — the lookup file actions surface via action_search.py --search "lookup" in the authoring skill. This skill handles the lookup files themselves, not the workflow that drives them.

Script Reference

ScriptPurposeKey flags
list_lookups.pyList and search lookup files--list, --search, --domain, --json
get_lookup.pyDownload a lookup file--name, --output, --domain
create_lookup.pyUpload a new lookup file--file, --name, --json
update_lookup.pyReplace lookup file content--name, --file, --json
delete_lookup.pyDelete a lookup file--name, --domain, --confirm, --json
verify_lookup.pyVerify a lookup resolves via CQL match() (upload, match a known row, delete)--file, --name, --column, --keep, --json

All scripts import shared auth from common/scripts/auth.py via get_ngsiem_client(). Create/list/get/update/delete need the NGSIEM Lookup Files scope (read/write). verify_lookup.py is a maintainer verification tool and additionally needs the NGSIEM scope (read/write) to run the CQL match() query; regular lookup use does not.

Common Pitfalls

ProblemFix
CSV header missingThe first row MUST be column names — match() references them by name
match() returns no resultsColumn names are case-sensitive; verify they match the header exactly
Upload rate limitedWait 30 seconds between batches of 5 uploads
Wrong search domainKeep the default --domain all when listing, getting, or deleting: create_lookup.py uploads to the global namespace, which a narrower domain such as falcon doesn't search
Duplicate name overwrites silentlyAlways list_lookups.py --search before create_lookup.py
"File not found" on get/update/deleteConfirm the exact filename with list_lookups.py --search
CSV parse error on uploadEnsure UTF-8 encoding and comma delimiters

Reading Guide

DocumentWhen to read
references/cql-match-function.mdWriting CQL queries that use lookup files
references/lookup-file-formats.mdPreparing CSV/JSON/TXT files for upload

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Lookup Files」では何ができますか?

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

TypingMindでLookup Filesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Lookup Filesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにLookup Filesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-filesを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Lookup Filesを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Lookup Filesは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもLookup Filesを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Lookup Files」は無料ですか?

はい。CrowdStrikeがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇