/lc-fundamentals:sensor-taskingfrom lc-fundamentals
Sends commands to EDR sensors for live response, data collection, and incident response. Covers direct tasking (online sensors), reliable tasking (offline/guaranteed delivery), response collection, and payload deployment.
Ships in lc-fundamentals. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
How to send commands to EDR sensors and collect responses. This covers the mechanics of tasking — for higher-level workflows like investigation or fleet operations, see composed skills.
Only EDR agents can receive tasks. Adapters and cloud sensors return UNSUPPORTED_FOR_PLATFORM.
Taskable sensors require BOTH:
windows, linux, macos, or chromeusp_adapter (code 9)# List only taskable sensors
limacharlie sensor list --selector "(plat==windows or plat==linux or plat==macos) and arch!=usp_adapter" --online --oid <oid> --output yaml
For online sensors. Response is returned inline.
limacharlie task send --sid <sid> --task <command> --oid <oid> --output yaml
| Command | Description |
|---|---|
os_processes | Running processes |
os_kill_process --pid <pid> | Kill a process |
os_modules --pid <pid> | Loaded modules |
netstat | Active network connections |
os_version | OS details |
os_users | System users |
os_services | Windows services |
os_drivers | Loaded drivers |
os_autoruns | Persistence mechanisms |
os_packages | Installed packages |
reg_list <path> | Registry values (Windows) |
dir_list <path> | Directory listing |
file_get <path> | Retrieve file contents |
mem_map --pid <pid> | Memory map of process |
mem_strings --pid <pid> | Strings from process memory |
find_strings | String search |
yara_scan --pid <pid> | YARA scan process |
yara_scan --filePath <path> | YARA scan file |
yara_scan --dirPath <path> | YARA scan directory |
run --shell-command <cmd> | Execute shell command |
deny_tree -p <process> | Kill process tree |
isolate_network | Network isolation |
rejoin_network | End network isolation |
For multiple online sensors (up to ~5):
limacharlie task send --sid <sid1> --task os_version --oid <oid> --output yaml &
limacharlie task send --sid <sid2> --task os_version --oid <oid> --output yaml &
wait
For offline sensors or fleet-wide operations. Tasks queue and execute when sensors come online. Requires the ext-reliable-tasking extension.
limacharlie task reliable-send \
--sid <sid> \
--command '<task_command>' \
--investigation-id '<unique_id>' \
--ttl <seconds> \
--oid <oid> --output yaml
Key parameters:
--sid: Target sensor (one per call — loop for multiple sensors)--command: Task command string (e.g., os_version, dir_list /tmp)--investigation-id: Appears in routing/investigation_id of responses (for collection)--ttl: Time-to-live in seconds (default: 604800 = 1 week)# Get sensor SIDs
limacharlie sensor list --selector 'plat==windows' --oid <oid> --filter '[].sid' --output yaml
# Loop and task each
for sid in <sid_list>; do
limacharlie task reliable-send --sid $sid --command 'os_version' --investigation-id 'inventory-2025-04' --ttl 86400 --oid <oid> --output yaml
done
# List pending tasks for a sensor
limacharlie task reliable-list --sid <sid> --oid <oid> --output yaml
# Cancel a task
limacharlie task reliable-delete --sid <sid> --task-id <task_id> --oid <oid>
Response is returned directly from limacharlie task send.
After reliable tasking, wait 2+ minutes, then query by investigation ID:
limacharlie ai generate-query --prompt "Find events where investigation_id contains '<investigation_id>' in the last 2 hours" --oid <oid> --output yaml
limacharlie search run --query "<generated>" --start <ts> --end <ts> --oid <oid> --output yaml
Create a D&R rule matching investigation_id before creating reliable tasks. Online sensors may respond within milliseconds — if the rule doesn't exist yet, responses are missed.
Order: D&R Rule first, then Reliable Task.
Scripts or binaries stored in LimaCharlie, deployable to sensors.
# List payloads
limacharlie payload list --oid <oid> --output yaml
# Upload a payload
limacharlie payload upload --name <name> --file <path> --oid <oid> --output yaml
# Download a payload
limacharlie payload download --name <name> --output-path <path> --oid <oid>
# Delete a payload
limacharlie payload delete --name <name> --confirm --oid <oid>
Deploy payloads via reliable tasking with the run command.
For tasks that need a synchronous response with a timeout:
limacharlie task request --sid <sid> --command '<task_command>' --timeout <seconds> --oid <oid> --output yaml
There are two ways to isolate a sensor from the network. They have critically different behavior:
isolate network (Persistent)Set via D&R rule response action. Persistent — sets a cloud flag so the sensor remains isolated even after reboot. Only allows traffic to the LimaCharlie cloud.
# In a D&R rule response
- action: isolate network
# To remove isolation
- action: rejoin network
segregate_network (Stateless)Sent via direct tasking. Stateless — resets on reboot. The sensor returns to normal networking after restart.
limacharlie task send --sid <sid> --task segregate_network --oid <oid> --output yaml
limacharlie task send --sid <sid> --task rejoin_network --oid <oid> --output yaml
Always prefer isolate network (D&R action) for reliable isolation. The segregate_network command is only useful for quick, temporary isolation where you want the sensor to rejoin automatically on reboot.
When isolated, the sensor blocks all network traffic except to the LimaCharlie cloud. You can still:
Sealing enables tamper-resistance, preventing direct modifications to the EDR sensor on the endpoint. Like isolation, the seal sensor command is stateless (resets on reboot), but the D&R action seal is persistent.
date -d '+7 days' +%s for TTL calculationssegregate_network resets on reboot — use D&R isolate network for persistent isolationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/adaptersWorking with LimaCharlie adapters — cloud sensors (SaaS integrations), external adapters (cloud-managed), and on-prem/USP adapters. Covers configuration, credential setup, parsing rules, validation, deployment, and troubleshooting. Use when setting up data sources, configuring adapters, or troubleshooting ingestion./appsAuthor and deploy LimaCharlie "apps" — self-contained AI-generated HTML mini-apps that render in a sandboxed iframe in the LimaCharlie web UI and call LimaCharlie APIs through a brokered, permission-scoped runtime (window.lc). Use when a user wants to create, edit, or understand a custom app/dashboard/tool embedded in the LimaCharlie console (the `app` hive)./npx claudepluginhub refractionpoint/lc-ai --plugin lc-fundamentalsOther plugins' skills for the same job