/lc-fundamentals:iacfrom lc-fundamentals
Manages LimaCharlie multi-tenant configurations via git-based Infrastructure as Code with ext-git-sync. Covers repo structure, YAML configs, sync push/pull, and global vs tenant-specific rules.
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 manage LimaCharlie configurations using git-based Infrastructure as Code, compatible with the ext-git-sync extension.
my-lc-iac/
├── org-manifest.yaml # Friendly name -> OID mapping
├── hives/ # Global configs (all tenants)
│ ├── dr-general.yaml # D&R rules
│ ├── fp.yaml # False positive rules
│ ├── outputs.yaml # Output destinations
│ ├── extensions.yaml # Extensions to enable
│ ├── integrity.yaml # FIM rules
│ ├── artifact.yaml # Artifact collection
│ ├── exfil.yaml # Exfil monitoring
│ ├── resources.yaml # Resources/payloads
│ └── installation_keys.yaml # Sensor install keys
├── orgs/ # Per-tenant configs
│ └── <oid>/
│ ├── index.yaml # Includes global + custom
│ └── custom/ # Tenant-specific overrides
│ ├── rules.yaml
│ └── fim.yaml
└── exports/ # ext-git-sync exports
All config files use version 3 format:
version: 3
hives:
dr-general:
rule-name:
data:
detect:
event: NEW_PROCESS
op: contains
path: event/COMMAND_LINE
value: "-enc"
respond:
- action: report
name: encoded-powershell
usr_mtd:
enabled: true
expiry: 0
tags: []
Maps friendly names to OIDs (ext-git-sync requires OID folder names):
version: 1
orgs:
acme-corp:
oid: 7e41e07b-c44c-43a3-b78d-41f34204789d
description: "Acme Corporation - Production"
added: "2025-11-30"
References global configs via relative includes, plus custom overrides:
version: 3
include:
- ../../hives/extensions.yaml
- ../../hives/dr-general.yaml
- ../../hives/fp.yaml
- ../../hives/outputs.yaml
- ../../hives/integrity.yaml
# Custom configs (uncomment as needed)
# - custom/rules.yaml
limacharlie extension subscribe --name ext-git-sync --oid <oid>
cat > /tmp/git-sync-config.yaml << 'EOF'
repo_url: "[email protected]:your-org/your-repo.git"
branch: "main"
conf_root: "orgs/<oid>/index.yaml"
ssh_key_source: "secret"
ssh_key_secret_name: "git-sync-ssh-key"
EOF
limacharlie extension config-set --name ext-git-sync --input-file /tmp/git-sync-config.yaml --oid <oid>
Required fields: repo_url (NOT repository), branch, conf_root, ssh_key_source, ssh_key_secret_name.
limacharlie secret set --key git-sync-ssh-key --input-file /tmp/ssh-key.txt --oid <oid>
limacharlie extension list --oid <oid> --output yaml
limacharlie secret list --oid <oid> --output yaml
limacharlie extension config-get --name ext-git-sync --oid <oid> --output yaml
limacharlie org errors --oid <oid> --output yaml
limacharlie sync push --config-file ./orgs/<oid>/index.yaml --oid <oid> \
--hive-dr-general --hive-fp --outputs --integrity --artifact --exfil \
--resources --extensions --installation-keys
Avoid --force — it deletes cloud resources not present in the local config.
limacharlie sync pull --oid <oid>
# List existing rules
limacharlie dr list --oid <oid> --output yaml
# Get a specific rule
limacharlie dr get --key <rule-name> --oid <oid> --output yaml
Add the fetched rule to hives/dr-general.yaml (global) or orgs/<oid>/custom/rules.yaml (tenant-specific).
| Config | Global File | Custom File | Sync Flag |
|---|---|---|---|
| D&R Rules | hives/dr-general.yaml | custom/rules.yaml | --hive-dr-general |
| FP Rules | hives/fp.yaml | custom/fp.yaml | --hive-fp |
| Outputs | hives/outputs.yaml | custom/outputs.yaml | --outputs |
| Extensions | hives/extensions.yaml | - | --extensions |
| FIM | hives/integrity.yaml | custom/fim.yaml | --integrity |
| Artifact Collection | hives/artifact.yaml | - | --artifact |
| Exfil Monitoring | hives/exfil.yaml | - | --exfil |
| Resources | hives/resources.yaml | - | --resources |
| Installation Keys | hives/installation_keys.yaml | - | --installation-keys |
| Issue | Solution |
|---|---|
repo_url is required | Use repo_url, not repository |
ssh_key is required | Verify secret exists: limacharlie secret list |
conf_root not found | Use full path: orgs/<oid>/index.yaml |
| SSH auth failure | Check deploy key in GitHub, verify public key |
| Sync runs but no changes | Verify branch matches repo's default branch |
| Include path not found | Check relative path from index.yaml location |
hive://secret/<name>--dry-run on sync push before actual deploymentWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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