Logo di Lookup Files

Lookup Files

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

Panoramica

AutoreCrowdStrike
Repositoryfusion-skills
Nome della skilllookup-files
Stelle
29
Fork
3
File inclusi
10
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 10 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da CrowdStrike su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Lookup Files in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-files
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Lookup Files in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Lookup Files non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Lookup Files non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Lookup Files su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Lookup Files è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Lookup Files in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/CrowdStrike/fusion-skills/tree/main/skills/lookup-files. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Lookup Files?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Lookup Files?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Lookup Files: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Lookup Files è gratuita?

Sì. È pubblicata su GitHub da CrowdStrike con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇