Lookup Files logo

Lookup Files

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

Overview

PublisherCrowdStrike
Repositoryfusion-skills
Skill namelookup-files
Stars
29
Forks
3
Bundled files
10
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 10 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by CrowdStrike on GitHub. Read the source before you install it.

Installation

Install the Lookup Files AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-files
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lookup Files in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lookup Files on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lookup Files is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Lookup Files AI skill do?

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.

Why use Lookup Files on TypingMind?

Because you install it once and use it with any model. Lookup Files is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lookup Files in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-files. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Lookup Files?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lookup Files?

As many as you like. As long as a model supports skills, you can use Lookup Files with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lookup Files AI skill free?

Yes. It is published on GitHub by CrowdStrike under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇