agentleFS
mdmiller5933mdmiller5933/agentic-it-ops/skills/query-crowdstrike-falcon/SKILL.md

query-crowdstrike-falcon

Skill0 starsChanged 3 months agoMITView on GitHub

Query Contoso CrowdStrike Falcon for hosts, alerts, Spotlight vulnerabilities, host groups, and prevention/sensor-update policies via the US-2 REST API. Use when the user asks about Falcon, CrowdStrike, "is this device in CrowdStrike", sensor version, containment, RFM, detections, alerts, Spotlight CVEs, or Falcon host groups. This API client is read-only (no contain, RTR, Intel, Discover, or policy writes). Vulnerability KPI scoring stays in analyze-vulnerability-kpis; Rapid7 remains the leadership workbook source.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read-only Falcon API for Contoso (https://api.us-2.crowdstrike.com).

    line 8
  2. Distinctive:

    Prefer moving this record into Keeper later via the retrieve-keeper-secret skill.

    line 11
  3. Very specific:

    Look the device up by serial first, then exact hostname.

    line 21
  4. Very specific:

    Run the bundled helper with any Python 3 (py -3):

    line 24
  5. Distinctive:

    Read-only. If the user asks to contain, lift containment, hide a host, change a policy, run RTR, or close an alert, say this client cannot …

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Query CrowdStrike Falcon

Read-only Falcon API for Contoso (https://api.us-2.crowdstrike.com). Credentials live in C:\temp\temp\env.local (Client ID / Secret / Base URL) or FALCON_CLIENT_ID + FALCON_CLIENT_SECRET + optional FALCON_BASE_URL. Never print the secret or bearer token. Prefer moving this record into Keeper later via the retrieve-keeper-secret skill; do not copy the env file into the skill folder.

Verified 2026-08-19: OAuth succeeds; this client can read Hosts, Alerts, Spotlight, prevention/sensor-update policies, host groups, and custom IOCs. Contain, hide, tag, alert status updates, RTR, Intel, Discover, users, firewall policy, and sensor installer download all return 403 scope not permitted. Do not attempt those writes.

Workflow

  1. Look the device up by serial first, then exact hostname. After the WKS rename, Falcon hostnames are usually WKS-<serial>. Prefix wildcards work (hostname:'WKS-*'); mid-string *SERIAL* does not.
  2. Run the bundled helper with any Python 3 (py -3):
scripts/falcon-query.py
py -3 "<this skill's folder>\scripts\falcon-query.py" auth
py -3 "<this skill's folder>\scripts\falcon-query.py" host SN0046
py -3 "<this skill's folder>\scripts\falcon-query.py" summary
py -3 "<this skill's folder>\scripts\falcon-query.py" alerts --hostname WKS-SN0042 --limit 20
py -3 "<this skill's folder>\scripts\falcon-query.py" alerts --filter "type:'ldt'+status:'new'" --limit 20
py -3 "<this skill's folder>\scripts\falcon-query.py" spotlight --hostname WKS-SN0026 --limit 20
  1. Summarize sensor health: status (normal/contained), reduced_functionality_mode, agent_version, last seen, applied prevention policy name, group names.
  2. For detections, do not treat status:'new' as EPP detections. Most of those rows are product:automated-lead-context / type:signal with null severity. Use type:'ldt' or severity:>=50, and filter hosts with device.hostname:'...' (plain hostname: returns 0).
  3. Spotlight is instance-heavy (~80k open). Always keep a severity+status filter and a limit. Join to other systems by serial (from the Hosts API) or hostname; Spotlight host_info has hostname, not serial. KPI scoring still belongs in analyze-vulnerability-kpis / Rapid7.

Guardrails

  • Read-only. If the user asks to contain, lift containment, hide a host, change a policy, run RTR, or close an alert, say this client cannot do it and stop.
  • Endpoint shell work stays in the screenconnect-remote-diagnostics skill. Intune FalconSensor package work stays on the Graph/Intune path.
  • Details: references/capabilities.md and references/fql.md inside this skill's folder.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.