/lc-advanced-skills:org-documentationfrom lc-advanced-skills
Generates complete architecture and operations documentation for LimaCharlie organizations, covering sensors, D&R rules, AI agents, extensions, access control, and runbooks as markdown files.
Ships in lc-advanced-skills. 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.
Generate complete, wiki-ready architecture and operations guides for one or more LimaCharlie organizations. Supports single org, multiple orgs by name or OID, or all accessible orgs.
Prerequisites: Run
/init-lcto initialize LimaCharlie context.
All LimaCharlie operations use the limacharlie CLI directly:
limacharlie <noun> <verb> --oid <oid> --output yaml [flags]
For command help and discovery: limacharlie <command> --ai-help
| Rule | Wrong | Right |
|---|---|---|
| CLI Access | Call MCP tools or spawn api-executor | Use Bash("limacharlie ...") directly |
| Output Format | --output json | --output yaml (more token-efficient) |
| Filter Output | Pipe to jq/yq | Use --filter JMESPATH to select fields |
| Timestamps | Calculate epoch values | Use date +%s or date -d '7 days ago' +%s |
| OID | Use org name | Use UUID (call limacharlie org list if needed) |
| Secrets | Include values in docs | Only document secret names, NEVER values |
This skill generates a complete set of markdown documentation files for a LimaCharlie organization, suitable for upload to a GitHub wiki, MkDocs site, or Confluence. The output covers:
Identify the target organization(s). The user may specify:
First, list all accessible orgs to resolve names to OIDs:
limacharlie org list --output yaml
Resolving org identifiers:
[0-9a-f-]{36}), use it directly as the OIDname field from org listorg listAsk where to write the output:
./docs/<org-name>/./docs/ with subdirectories per org: ./docs/<org-name>/
Confirm with the user.Check for optional GitHub repo creation: Ask if they want the docs pushed to a new GitHub repo.
Spawn one org-doc-collector sub-agent per organization to gather the full configuration inventory. For multiple orgs, spawn ALL agents in a SINGLE message for parallel execution.
Single org:
Task(
subagent_type="lc-advanced-skills:org-doc-collector",
prompt="Collect full configuration inventory for organization '<org-name>' (OID: <oid>)."
)
Multiple orgs (spawn ALL in parallel in one message):
Task(
subagent_type="lc-advanced-skills:org-doc-collector",
prompt="Collect full configuration inventory for organization '<org-1-name>' (OID: <oid-1>)."
)
Task(
subagent_type="lc-advanced-skills:org-doc-collector",
prompt="Collect full configuration inventory for organization '<org-2-name>' (OID: <oid-2>)."
)
// ... one per org, all in the same message
Each agent returns a structured YAML document with all sensors, rules, agents, extensions, etc.
For each organization, generate a complete set of documentation files under <output-dir>/<org-name>/. Use the templates below as the structure — populate them with the actual data from that org's collector agent.
If documenting multiple orgs, also generate a top-level README.md index at <output-dir>/README.md that links to each org's documentation:
# LimaCharlie Organization Documentation
| Organization | OID | Docs |
|--------------|-----|------|
| <org-1-name> | `<oid-1>` | [View docs](<org-1-name>/README.md) |
| <org-2-name> | `<oid-2>` | [View docs](<org-2-name>/README.md) |
Files to generate:
| File | Content |
|---|---|
README.md | Main entry point with badges, Mermaid overview, navigation flowchart |
architecture.md | System topology, data flow diagrams for each pipeline |
sensors.md | EDR sensors, extension sensors, tags, health monitoring |
detection-rules.md | D&R rules by category with chaining diagram and pie chart |
ai-agents.md | Agent teams, pipeline flows, budgets, secrets mapping |
data-pipeline.md | Extensions, cloud adapters, outputs, lookups, payloads |
access-control.md | API keys, secrets, installation keys, SOPs, rotation checklist |
runbooks/common-admin-tasks.md | Day-to-day CLI operations |
runbooks/incident-response.md | How the SOC pipeline handles incidents |
runbooks/updating-docs.md | Export script, CI workflow, review cadence |
If the user requested GitHub repo creation:
gh repo create <account>/<repo-name> --privateIf one org's collector agent fails:
# <Org-Name> Organization — Architecture & Operations Guide




Complete operational reference for the **<org-name>** LimaCharlie organization.
> [!IMPORTANT]
> **OID**: Always use `<oid>` (never the org name) in all CLI commands.
> All commands require `--output yaml`. Timestamps in API params are epoch **seconds** (10 digits).
***
## Architecture at a Glance
<!-- Mermaid flowchart showing: Data Sources → D&R Engine → AI Agent Teams → Outputs -->
<!-- Adapt based on what actually exists in the org -->
***
## Where Do I Start?
> New to LimaCharlie? Start with the [Quickstart Guide](https://docs.limacharlie.io/1-getting-started/quickstart/) and [Core Concepts](https://docs.limacharlie.io/1-getting-started/core-concepts/).
<!-- Mermaid decision flowchart linking to each doc file -->
***
## Documentation Map
| | Document | Description |
|---|----------|-------------|
| **Core** | [Architecture Overview](architecture.md) | System topology and data flow |
| **Core** | [Sensors & Endpoints](sensors.md) | EDR, extensions, cloud adapters |
| **Core** | [Detection & Response Rules](detection-rules.md) | Rule catalog by category |
| **Core** | [AI Agents & Automation](ai-agents.md) | Agent teams and workflows |
| **Core** | [Data Pipeline](data-pipeline.md) | Extensions, outputs, lookups |
| **Core** | [Access Control](access-control.md) | Keys, secrets, SOPs |
| **Runbook** | [Common Admin Tasks](runbooks/common-admin-tasks.md) | Day-to-day operations |
| **Runbook** | [Incident Response](runbooks/incident-response.md) | SOC pipeline and manual IR |
| **Runbook** | [Updating Docs](runbooks/updating-docs.md) | Automation and review |
***
## System Overview
<!-- Table of capabilities: EDR Coverage, SOC agents, BAS, Intel, etc. -->
<!-- Only include rows for capabilities that actually exist -->
***
## Key Resources
| Resource | Access |
|----------|--------|
| LimaCharlie Web UI | `https://app.limacharlie.io` |
| CLI Auth Check | `limacharlie auth whoami --output yaml` |
| LimaCharlie Docs | [docs.limacharlie.io](https://docs.limacharlie.io) |
Structure:
graph TB with subgraphs for Data Sources, D&R Engine, AI Agent Layer, Outputs, Managed Rule Packs. Only include subgraphs for components that actually exist.flowchart per pipeline:
> [!TIP] calloutStructure:
> [!NOTE] for security redaction of IPs> [!WARNING] for offline sensors<details> (they're always a long list)<details>> [!WARNING] calloutStructure:
flowchart LR showing feedback loops between telemetry, rules, agents, lookupspie chart<details> for categories with 5+ rules> [!CAUTION] warning that disabling them stops automation<details>> [!WARNING] listing all disabled rules awaiting reviewStructure:
> [!IMPORTANT] about shared Anthropic key dependencyflowchart showing the pipeline (for teams with chained agents)<details><details>> [!TIP] calloutsStructure:
> [!WARNING] for missing output destinations<details>> [!CAUTION] calloutStructure:
<details>, > [!CAUTION] about extension keys> [!IMPORTANT] about Anthropic key, table of names only> [!NOTE] callout> [!TIP] about zero-downtime rotationSections for: Sensor Management, D&R Rule Management, AI Agent Management, Case Management, Extension Operations, LCQL Queries, Lookup Tables, Troubleshooting Quick Reference table.
Each section has CLI commands and links to relevant LC docs.
Structure:
flowchart with color-coded outcomes (green=resolved, red=containment, yellow=manual)> [!NOTE] callout> [!CAUTION] with disable commandsflowchart LRStructure:
<details> — bash script that exports all config to YAML files<details>> [!CAUTION] for sensitive data, > [!NOTE] for formattingUse ONLY these verified links. Do NOT guess or construct URLs.
https://docs.limacharlie.io/1-getting-started/quickstart/https://docs.limacharlie.io/1-getting-started/core-concepts/https://docs.limacharlie.io/2-sensors-deployment/https://docs.limacharlie.io/2-sensors-deployment/installation-keys/https://docs.limacharlie.io/2-sensors-deployment/sensor-tags/https://docs.limacharlie.io/2-sensors-deployment/adapters/https://docs.limacharlie.io/2-sensors-deployment/adapters/types/azure-event-hub/https://docs.limacharlie.io/2-sensors-deployment/adapters/types/microsoft-defender/https://docs.limacharlie.io/2-sensors-deployment/endpoint-agent/payloads/https://docs.limacharlie.io/3-detection-response/https://docs.limacharlie.io/3-detection-response/tutorials/writing-testing-rules/https://docs.limacharlie.io/3-detection-response/false-positives/https://docs.limacharlie.io/3-detection-response/unit-tests/https://docs.limacharlie.io/3-detection-response/managed-rulesets/soteria/edr/https://docs.limacharlie.io/3-detection-response/managed-rulesets/soteria/aws/https://docs.limacharlie.io/3-detection-response/managed-rulesets/soteria/m365/https://docs.limacharlie.io/8-reference/detection-logic-operators/https://docs.limacharlie.io/8-reference/response-actions/https://docs.limacharlie.io/4-data-queries/https://docs.limacharlie.io/5-integrations/extensions/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/cases/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/reliable-tasking/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/integrity/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/exfil/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/sensor-cull/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/dumper/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/artifact/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/binlib/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/lookup-manager/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/payload-manager/https://docs.limacharlie.io/5-integrations/extensions/limacharlie/yara-manager/https://docs.limacharlie.io/5-integrations/extensions/third-party/velociraptor/https://docs.limacharlie.io/5-integrations/extensions/third-party/hayabusa/https://docs.limacharlie.io/5-integrations/extensions/third-party/plaso/https://docs.limacharlie.io/5-integrations/extensions/third-party/atomic-red-team/https://docs.limacharlie.io/5-integrations/extensions/third-party/yara/https://docs.limacharlie.io/5-integrations/extensions/third-party/zeek/https://docs.limacharlie.io/5-integrations/extensions/third-party/pagerduty/https://docs.limacharlie.io/5-integrations/extensions/third-party/twilio/https://docs.limacharlie.io/5-integrations/extensions/third-party/govee/https://docs.limacharlie.io/5-integrations/outputs/https://docs.limacharlie.io/5-integrations/outputs/destinations/webhook/https://docs.limacharlie.io/5-integrations/outputs/destinations/bigquery/https://docs.limacharlie.io/5-integrations/api-integrations/virustotal/https://docs.limacharlie.io/5-integrations/api-integrations/greynoise/https://docs.limacharlie.io/5-integrations/services/replay/https://docs.limacharlie.io/7-administration/access/api-keys/https://docs.limacharlie.io/7-administration/config-hive/https://docs.limacharlie.io/7-administration/config-hive/lookups/https://docs.limacharlie.io/7-administration/config-hive/secrets/https://docs.limacharlie.io/7-administration/config-hive/dr-rules/https://docs.limacharlie.io/8-reference/endpoint-commands/https://docs.limacharlie.io/8-reference/permissions/https://docs.limacharlie.io/8-reference/sensor-selector-expressions/https://docs.limacharlie.io/9-ai-sessions/https://docs.limacharlie.io/9-ai-sessions/dr-sessions/https://docs.limacharlie.io/6-developer-guide/sdk-overview/All generated documentation MUST use these GitHub-compatible features:
graph TB with subgraphsflowchart TD or flowchart LRpie chartflowchart TD with clickable nodes@ in Mermaid edge labels — it breaks the parser. Use mention: prefix instead (e.g., |"mention: malware-analyst"| not |"@malware-analyst"|)> [!CAUTION] — Destructive/irreversible actions (emergency shutdown, deleting keys)> [!WARNING] — Needs attention (offline sensors, review queues, missing outputs)> [!IMPORTANT] — Key dependencies (Anthropic key, OID format)> [!TIP] — Helpful shortcuts (design decisions, troubleshooting, replay thresholds)> [!NOTE] — Supplementary info (security redactions, formatting standards)Use <details><summary> for:
---) between major sectionsThe templates above are designed for a fully-featured org with EDR sensors, AI agents, BAS pipeline, intel pipeline, and managed rule packs. For simpler orgs:
ai-agents.md, simplify architecture diagrams, remove agent-related sections from runbooksAlways generate documentation proportional to the org's actual complexity. Don't create empty sections or placeholder content.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
limacharlie, documentation-generation, architecture-docs, runbooks, soc
npx claudepluginhub refractionpoint/lc-ai --plugin lc-advanced-skills16 skills in this plugin
/adapter-assistantComplete adapter lifecycle assistant for LimaCharlie. Supports External Adapters (cloud-managed), Cloud Sensors (SaaS/cloud integrations), and On-prem USP adapters. Dynamically researches adapter types from local docs and GitHub usp-adapters repo. Creates, validates, deploys, and troubleshoots adapter configurations. Handles parsing rules (Grok, regex), field mappings, credential setup, and multi-adapter configs. Use when setting up new data sources (Okta, S3, Azure Event Hub, syslog, webhook, etc.), troubleshooting ingestion issues, or managing adapter deployments./doc-updaterDeploy and manage a daily AI agent that automatically updates GitHub documentation for a LimaCharlie organization. The agent collects org config, diffs against previous state, analyzes changes with full case/session context, renders Jinja2 templates, and pushes annotated updates to a GitHub repo. Templates are read from the lc-ai repo or a user-provided custom repo — no payloads needed. Use for "deploy doc updater", "set up automatic documentation", "install doc-updater agent", "update docs agent"./fp-pattern-finderAutomatically detect false positive patterns in detections using deterministic analysis. Fetches historic detections for a time window, runs pattern detection script to identify noisy patterns (single-host concentration, identical command-lines, service accounts, same hash, temporal periodicity, etc.), generates narrow FP rules for each pattern, and presents for user approval before deployment. Use for bulk FP tuning, detection noise analysis, or automated alert fatigue reduction./graphic-outputGenerate interactive HTML dashboards and visualizations from LimaCharlie data using Jinja2 templates and D3.js charts. Creates professional, self-contained HTML reports with pie charts, bar charts, line graphs, gauges, sortable tables, and responsive layouts. Supports MSSP multi-tenant dashboards, single-org details, sensor health reports, detection analytics, and billing summaries. Integrates with reporting, sensor-health, and detection-engineering skills. Built with strict data accuracy guardrails - NEVER fabricates, estimates, or infers data. Use for "visual report", "dashboard", "HTML output", "interactive charts", "export HTML", "generate visualization", "graphical report".
/init-cases-to-slackSet up automated Slack notifications for LimaCharlie case events. Creates a Python playbook, D&R rules, API key, and secrets so that case creations, resolutions, severity upgrades, and closures post rich messages to a Slack channel. Usage - /init-cases-to-slack <org_name>/init-feedbackSet up interactive feedback channels for LimaCharlie ext-feedback. Subscribes to the extension, configures channels (Web, Slack, Telegram, Microsoft Teams, Email), creates required Tailored Outputs and secrets, and optionally creates a sample D&R rule that requests human approval before containment. Usage - /init-feedback <org_name>Other plugins' skills for the same job