Agent Native

lookup-files

Manages CSV, JSON, and TXT lookup files in Falcon Next-Gen SIEM for use with CQL match() queries.

by CrowdStrikeOfficial publisherNot reviewed

Identity proven by GitHub's verified organisation badge (CrowdStrike)

Agents
Claude Code
License
MIT (permissive)
Pin
35ff4e8pinned Oct 9, 2026
Context cost
about 1,900 tokenswhen the skill loads
GitHub stars
24on crowdstrike/fusion-skills
Scripts
6 scripts

What it does

“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.”
The author's description, from SKILL.md

Generated summary from the skill's own text

Manages CSV, JSON, and TXT lookup files in Falcon Next-Gen SIEM for use with CQL match() queries. The skill creates, lists, updates, deletes, and verifies lookup files that serve as reference tables for threat hunting, IP blocklists, user risk scores, and IOC enrichment. It handles credential setup via FalconPy, enforces validation before upload, and provides scripts to check for duplicates and verify successful deployment.

When to use it

  • Building or updating IP blocklists, user risk tables, or IOC reference data for CQL queries
  • Automating lookup file lifecycle management with create, update, delete operations
  • Verifying lookup files resolve correctly before using them in production CQL queries
  • Migrating reference data into Next-Gen SIEM from CSV or JSON sources

When not to

  • Deploying Fusion workflows or orchestrating lookup file actions from a playbook, use workflows skill instead
  • Managing Falcon console labels or metadata after lookup file creation, use console UI instead
  • Querying events without enrichment, match() function requires a lookup file reference

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add crowdstrike/fusion-skills --skill lookup-files

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install crowdstrike/fusion-skills lookup-files@35ff4e8252c4a68002640399c346a84e64f1ef5d

Installs the commit we checked (35ff4e8).

Copy by hand

Download the folder at 35ff4e8 and put it in .claude/skills/lookup-files for Claude Code and in .agents/skills/lookup-files for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at 35ff4e8

Claude Code plugin

/plugin install crowdstrike-falcon-foundry@claude-plugins-official

The publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.

Claude Code plugin

/plugin install crowdstrike-falcon-fusion@claude-plugins-official

The publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "lookup-files" by CrowdStrike.

Source, pinned to commit 35ff4e8252c4a68002640399c346a84e64f1ef5d:
https://github.com/crowdstrike/fusion-skills/tree/35ff4e8252c4a68002640399c346a84e64f1ef5d/skills/lookup-files

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/lookup-files/ for Claude Code and .agents/skills/lookup-files/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/crowdstrike/lookup-files

SKILL.md at the pin

---
name: lookup-files
description: >
  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.
version: 1.3.0
updated: 2026-10-01
tags: [falcon, ngsiem, siem, lookup-files, cql, threat-hunting]
author: CrowdStrike
license: MIT
compatibility: Claude Code >=1.0
allowed-tools: Bash(cd *), Bash(../../scripts/python.sh:*)
metadata:
  category: data-management
---

# 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 case | Read | Write | Enables |
|----------|:----:|:-----:|---------|
| Browse / download only | Yes | — | List, search, download |
| Full usage | Yes | Yes | Above 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

| Script | Purpose | Key flags |
|--------|---------|-----------|
| `list_lookups.py` | List and search lookup files | `--list`, `--search`, `--domain`, `--json` |
| `get_lookup.py` | Download a lookup file | `--name`, `--output`, `--domain` |
| `create_lookup.py` | Upload a new lookup file | `--file`, `--name`, `--json` |
| `update_lookup.py` | Replace lookup file content | `--name`, `--file`, `--json` |
| `delete_lookup.py` | Delete a lookup file | `--name`, `--domain`, `--confirm`, `--json` |
| `verify_lookup.py` | Verify 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

| Problem | Fix |
|---------|-----|
| CSV header missing | The first row MUST be column names — `match()` references them by name |
| `match()` returns no results | Column names are case-sensitive; verify they match the header exactly |
| Upload rate limited | Wait 30 seconds between batches of 5 uploads |
| Wrong search domain | Use `--domain falcon` for files queried in Next-Gen SIEM |
| Duplicate name overwrites silently | Always `list_lookups.py --search` before `create_lookup.py` |
| "File not found" on get/update/delete | Confirm the exact filename with `list_lookups.py --search` |
| CSV parse error on upload | Ensure UTF-8 encoding and comma delimiters |

## Reading Guide

| Document | When to read |
|----------|--------------|
| `references/cql-match-function.md` | Writing CQL queries that use lookup files |
| `references/lookup-file-formats.md` | Preparing CSV/JSON/TXT files for upload |

From crowdstrike/fusion-skills at 35ff4e8, shown as plain text under its license: MIT (permissive). The license text is in skills/lookup-files/SKILL.md.

View SKILL.md on GitHub at 35ff4e8

Files

11 files, 45 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at 35ff4e8
All 19 skills from CrowdStrike

More from CrowdStrike

  • ai-agents-development

    Build and deploy AI agents and knowledge bases in Foundry apps using the CLI.

    Claude Code, Codex, Cursor +3 · about 5.2K tokens · pinned 6 days ago

  • api-integrations

    This skill registers external APIs in Falcon Foundry by downloading the vendor's OpenAPI spec, adapting it for Foundry's requirements, and creating an API…

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 4.8K tokens · pinned 6 days ago

  • collections-development

    Guides designing and implementing JSON Schema collections for Falcon Foundry apps, including schema definition, CRUD patterns, FQL search syntax, and…

    Claude Code, Codex, Cursor +3 · about 4.4K tokens · pinned 6 days ago

  • debugging-workflows

    This skill provides systematic procedures for diagnosing and fixing Falcon Foundry CLI errors, deployment failures, function execution issues, and development…

    Claude Code, Codex, Cursor +3 · about 4.4K tokens · pinned 6 days ago

  • development-workflow

    Orchestrates the complete Foundry app lifecycle from requirements through scaffolding, building, and deployment.

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 5.1K tokens · pinned 6 days ago

  • e2e-testing

    This skill sets up end-to-end testing for Falcon Foundry applications using Playwright and the @crowdstrike/foundry-playwright library.

    Claude Code, Codex, Cursor +3 · about 5.1K tokens · pinned 6 days ago

All Security skills
  • claude-security

    Scans your repository for security issues using Claude, examines code changes or commits for vulnerabilities, and generates patch files to fix findings.

    by AnthropicOfficial publisher

    Claude Code · about 1K tokens · pinned 6 days ago

  • sensitive-logging-audit

    The skill helps audit and fix sensitive data leaks in Python SDK logging, exceptions, and telemetry by collecting candidate sinks, manually tracing values…

    by OpenAIOfficial publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 970 tokens · pinned 6 days ago

  • security-audit

    This skill guides security audits of codebases, APIs, and services by finding vulnerabilities that cross real trust boundaries.

    by CloudflareOfficial publisher

    Contains scripts

    Claude Code · about 5.4K tokens · pinned 6 days ago

  • assess-patch-risk

    This skill analyzes patch artifacts to assess their program impact, regression risk, and suitability for automated merging.

    by OpenAIOfficial publisher

    Codex · about 2.3K tokens · pinned 6 days ago

  • attack-path-analysis

    This skill analyzes security findings to build explicit attack paths from source to sink, calibrates severity, and decides whether each finding is reportable.

    by OpenAIOfficial publisher

    Codex · about 2.1K tokens · pinned 6 days ago

  • deep-security-scan

    Performs exhaustive, multi-pass security analysis across a repository or scoped directory by running repeated independent security scans and aggregating…

    by OpenAIOfficial publisher

    Codex · about 3.4K tokens · pinned 6 days ago

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use