/lc-fundamentals:platform-configfrom lc-fundamentals
Manages LimaCharlie platform configuration including Hive config store, outputs, extensions, lookups, secrets, YARA rules, API keys, and permissions. Use the dedicated CLI shortcuts before falling back to generic Hive operations.
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 work with LimaCharlie's configuration layer — Hive, outputs, extensions, lookups, secrets, YARA rules, API keys, and permissions.
Hive provides a single CRUD API for all configuration records. Each record has an envelope (name, enabled flag, metadata) with JSON data.
Reach for the shortcut command before the generic hive command — it's safer (no chance of a wrong --hive-name) and the help text is type-specific. The shortcut name does not always match the underlying hive name; never construct a hive name from the shortcut.
| Shortcut command | Underlying hive name |
|---|---|
limacharlie dr | dr-general (also dr-managed, dr-service) |
limacharlie fp | fp |
limacharlie lookup | lookup |
limacharlie secret | secret |
limacharlie yara | yara |
limacharlie cloud-adapter | cloud_sensor ← name mismatch |
limacharlie external-adapter | external_adapter |
limacharlie playbook | playbook |
limacharlie sop | sop |
limacharlie ai-agent | ai_agent |
limacharlie ai-skill | ai_skill |
limacharlie ai-memory | ai_memory (partial-merge writes per --memory-name) |
limacharlie extension config-* | extension_config |
limacharlie search saved-* | query |
If unsure of a hive name, run limacharlie hive list-types --output yaml for the authoritative list.
Only fall back to these when there's no shortcut for the type you need:
# List records in a hive
limacharlie hive list --hive-name <hive_type> --oid <oid> --output yaml
# Get a record
limacharlie hive get --hive-name <hive_type> --key <name> --oid <oid> --output yaml
# Set a record
limacharlie hive set --hive-name <hive_type> --key <name> --input-file /tmp/data.yaml --oid <oid> --output yaml
# Delete a record
limacharlie hive delete --hive-name <hive_type> --key <name> --confirm --oid <oid>
# Enable/disable a record
limacharlie hive enable --hive-name <hive_type> --key <name> --oid <oid>
limacharlie hive disable --hive-name <hive_type> --key <name> --oid <oid>
Stream telemetry to external destinations.
# List outputs
limacharlie output list --oid <oid> --output yaml
# Create output (write config to file first)
cat > /tmp/output.yaml << 'EOF'
name: my-syslog
module: syslog
for: detect
dest_host: siem.example.com:514
EOF
limacharlie output create --input-file /tmp/output.yaml --oid <oid> --output yaml
# Delete output
limacharlie output delete --name <name> --confirm --oid <oid>
Each output subscribes to one or more streams: event, detect, audit, deployment.
Optional capabilities enabled per-org.
# List subscribed extensions
limacharlie extension list --oid <oid> --output yaml
# List ALL available extensions (marketplace — subscribed and unsubscribed)
limacharlie extension list-available --oid <oid> --output yaml
# Subscribe to an extension
limacharlie extension subscribe --name <ext-name> --oid <oid>
# Unsubscribe
limacharlie extension unsubscribe --name <ext-name> --oid <oid>
# Rotate an extension's API key
limacharlie extension rekey --name <ext-name> --oid <oid>
# List all extension configs
limacharlie extension config-list --oid <oid> --output yaml
# Get extension config
limacharlie extension config-get --name <ext-name> --oid <oid> --output yaml
# Set extension config
limacharlie extension config-set --name <ext-name> --input-file /tmp/config.yaml --oid <oid>
# Delete extension config
limacharlie extension config-delete --name <ext-name> --confirm --oid <oid>
# Get extension config schema
limacharlie extension schema --name <ext-name> --oid <oid> --output yaml
# Make extension request (invoke an action)
limacharlie extension request --name <ext-name> --action <action> --oid <oid> --output yaml
limacharlie extension request --name <ext-name> --action <action> --data '<json>' --oid <oid> --output yaml
Use list-available to discover what extensions exist before subscribing. Use list to check what's already subscribed in an org.
Several web UI features are configured as extension configs:
| Web UI Feature | Extension Name |
|---|---|
| Artifact Collection Rules | ext-artifact |
| File & Registry Integrity Monitoring | ext-integrity |
| EPP / Defender Integration | ext-epp |
| Exfil Watch | ext-exfil |
limacharlie extension config-get --name <ext> --oid <source>data: section to a filelimacharlie extension config-set --name <ext> --input-file <file> --oid <target>limacharlie hive enable --hive-name extension_config --key <ext> --oid <target>The target org must already be subscribed to the extension.
Key-value dictionaries queryable at runtime in D&R rules for enrichment and detection logic. Referenced in rules via the lookup operator with resource: hive://lookup/<name>.
# List lookups
limacharlie lookup list --oid <oid> --output yaml
# Get a lookup
limacharlie lookup get --key <name> --oid <oid> --output yaml
# Set a lookup
limacharlie lookup set --key <name> --input-file /tmp/lookup.yaml --oid <oid> --output yaml
# Delete a lookup
limacharlie lookup delete --key <name> --confirm --oid <oid>
Lookups support three data formats in their payload:
| Format | Description | Use Case |
|---|---|---|
lookup_data | Direct JSON { "key": { metadata } } | Structured data with per-key metadata |
newline_content | Keys separated by newlines (empty metadata) | Simple blocklists/allowlists |
yaml_content | YAML string with dictionary keys and metadata | Human-readable configs |
When a D&R rule uses op: lookup, the value at path is looked up in the referenced resource. If the key exists, the rule matches and the metadata dictionary for that key is returned. The metadata is accessible in suppression keys via the .mtd namespace.
Gotcha: lookups return the metadata dict {} on match — if the key has no metadata, you get an empty dict. The match itself is the meaningful signal, not the returned value.
Gotcha: the .mtd key name for hive://lookup/my-list is .mtd.my_list (hyphens become underscores).
The Lookup Manager extension (ext-lookup-manager) auto-refreshes lookups every 24 hours from remote sources (URLs or ARLs). Pre-configured public lookups are available from the lc-public-lookups GitHub repo, including Tor exit nodes, AlienVault IP reputation, and more.
hives:
lookup:
my-blocklist:
data:
lookup_data:
8.8.8.8: {}
1.1.1.1: { category: dns }
usr_mtd:
enabled: true
expiry: 0
tags: [blocklist]
Secure credential storage. Referenced via hive://secret/<name>.
# List secrets (shows names only, not values)
limacharlie secret list --oid <oid> --output yaml
# Set a secret
limacharlie secret set --key <name> --oid <oid>
# (prompts for value, or use --input-file)
# Delete a secret
limacharlie secret delete --key <name> --confirm --oid <oid>
YARA in LimaCharlie has two concepts: sources (where rules come from) and rules (compiled rule sets).
# List YARA sources
limacharlie yara sources-list --oid <oid> --output yaml
# Add a YARA source
limacharlie yara source-add --name <name> --source-file /tmp/source.yaml --oid <oid> --output yaml
# Get a YARA source
limacharlie yara source-get --name <name> --oid <oid> --output yaml
# Delete a YARA source
limacharlie yara source-delete --name <name> --oid <oid>
# List compiled YARA rules
limacharlie yara rules-list --oid <oid> --output yaml
# Add a YARA rule
limacharlie yara rule-add --name <name> --sources-file /tmp/rule.yar --oid <oid> --output yaml
# Delete a YARA rule
limacharlie yara rule-delete --name <name> --oid <oid>
# Scan a sensor with a YARA rule
limacharlie yara scan --sid <sid> --rule-file /tmp/rule.yar --oid <oid> --output yaml
# List API keys
limacharlie api-key list --oid <oid> --output yaml
# Create an API key
limacharlie api-key create --name <name> --permissions <perm1,perm2> --oid <oid> --output yaml
# Delete an API key
limacharlie api-key delete --key-hash <hash> --confirm --oid <oid>
# Check current auth
limacharlie auth whoami --output yaml
# Check specific permission (MUST include --oid)
limacharlie auth whoami --oid <oid> --check-perm ai_agent.operate --output yaml
# Show all permissions
limacharlie auth whoami --show-perms --oid <oid> --output yaml
IMPORTANT: --check-perm without --oid always returns has_perm: false.
# List accessible orgs
limacharlie org list --output yaml
# Get org info
limacharlie org info --oid <oid> --output yaml
# Get org usage stats
limacharlie org stats --oid <oid> --output yaml
# Check org errors
limacharlie org errors --oid <oid> --output yaml
# Get billing details
limacharlie billing details --oid <oid> --output yaml
# Get invoice URL
limacharlie billing invoice-url --oid <oid> --output yaml
Manage uploaded logs, memory dumps, and other forensic data.
# List artifacts
limacharlie artifact list --oid <oid> --output yaml
# List by type
limacharlie artifact list --type velociraptor --oid <oid> --output yaml
# Download an artifact
limacharlie artifact download --id <artifact_id> --output-path <path> --oid <oid>
Python scripts that run in LimaCharlie's serverless execution environment with full SDK access. Triggered by D&R rules, the API, feedback responses, or other extensions.
# List playbooks
limacharlie playbook list --oid <oid> --output yaml
# Get a playbook
limacharlie playbook get --key <name> --oid <oid> --output yaml
# Create/update a playbook
limacharlie playbook set --key <name> --input-file /tmp/playbook.yaml --oid <oid> --output yaml
# Delete a playbook
limacharlie playbook delete --key <name> --confirm --oid <oid>
# Enable/disable
limacharlie playbook enable --key <name> --oid <oid>
limacharlie playbook disable --key <name> --oid <oid>
Playbook data contains a python field with the script source code. Requires the ext-playbook extension to be subscribed.
# List SOPs
limacharlie sop list --oid <oid> --output yaml
# Get SOP details
limacharlie sop get --key <name> --oid <oid> --output yaml
SOPs guide how tasks are performed. Before running operations, check if relevant SOPs exist.
# Push local config to cloud
limacharlie sync push --config-file <path> --oid <oid>
# Pull cloud config to local
limacharlie sync pull --oid <oid>
Avoid --force on push unless certain — it deletes cloud resources not present in the local config file.
| Gotcha | Detail |
|---|---|
REST API usr_mtd REPLACES entirely | Hive metadata updates via API replace the full metadata object, they don't merge. Always read current state first. |
--check-perm needs --oid | limacharlie auth whoami --check-perm X without --oid always returns has_perm: false |
| Secret values are write-only | secret list shows names only, you cannot read back secret values |
| Prefer dedicated CLI over hive | Use limacharlie dr, limacharlie fp, limacharlie lookup etc. instead of generic limacharlie hive when available |
| Extension config = web UI features | Artifact collection, FIM, EPP, exfil are all extension configs, not separate APIs |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
limacharlie, hive-config, edr-configuration, security-platform
npx claudepluginhub refractionpoint/lc-ai --plugin lc-fundamentals13 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)./casesWorking with LimaCharlie Cases — CRUD, lifecycle management, entities, telemetry references, notes, tags, merging, export, and bulk operations. Use when managing cases, adding evidence, updating case status, or querying the case queue./cloud-securityLimaCharlie Cloud Security (CNAPP) — cloud findings triage, security-graph pivoting and queries, attack paths, CIEM identity analysis, inventory, data security, CAASM, compliance, and MSSP fleet views. Use when investigating cloud risk, pivoting between cloud resources and identities, walking attack paths, connecting cloud assets to endpoint sensors, or triaging cloud security findings./d-and-r-rulesWorking with Detection & Response rules in LimaCharlie — AI-assisted generation, validation, unit testing, historical replay, deployment, FP rules, stateful rules, behavioral detection patterns, suppression, alternate detection targets, and response actions. Use when creating, testing, modifying, or managing D&R rules, false positive rules, or understanding detection patterns./exfil-event-collectionManaging which events EDR sensors send to LimaCharlie — event collection rules, watch rules, performance rules, throughput management, Afterburner mode, and IR mode. Use when configuring which events sensors collect, troubleshooting throughput issues, managing high-volume sensors, or understanding why events are missing.Other plugins' skills for the same job