compliance-deploy
Guided deployment of a compliance framework's case-reviewer agent (and optionally a starter rule subset) to a LimaCharlie org. Walks through LC API-key creation with scoped permissions, Anthropic secret staging, agent hive record sync, and trigger D&R rule installation. Use when the user asks to deploy, install, or set up compliance for PCI, HIPAA, CMMC, NIST 800-53, SOC 2, ISO 27001, or CIS v8 in a given org. Examples - "deploy PCI compliance to org XYZ", "install the HIPAA compliance agent", "set up CMMC compliance on my test org".
What this skill does
# Compliance Deployment (Guided)
Walks the user through deploying a compliance framework's case-reviewer agent to a LimaCharlie organization. Human-in-the-loop at each sensitive step (API key creation, secret staging, rule deployment) — this skill does NOT silently modify an org.
Gap analysis is handled entirely by the `compliance-gap` skill (interactive, output to chat). There is no backend gap-analyzer agent to deploy.
## When to invoke
- User wants to deploy the case-reviewer agent to an org for the first time
- User wants to add a framework's D&R / FIM / artifact / exfil rules to an org that already has a reviewer deployed
- User wants to refresh (re-sync) a framework's deployment after updating the implementation doc
If the user only wants to EXPLORE coverage interactively, redirect to `compliance-gap` or `compliance-lookup` — those don't require deployment.
## Argument parsing
Expected: `<framework> [--oid <oid>] [--with-rules|--no-rules]`
- `--with-rules` — also deploy a starter subset of the framework's D&R / FIM / artifact / exfil rules (5–10 representative rules per kind). Useful for a demo.
- `--no-rules` (default) — deploy only the reviewer agent and leave rule selection to the user
## Locating bundled assets
All framework reference docs and reviewer manifests ship inside this plugin under `${CLAUDE_PLUGIN_ROOT}/compliance/<framework>/`. Throughout this skill, paths written as `compliance/<framework>/...` resolve to `${CLAUDE_PLUGIN_ROOT}/compliance/<framework>/...` — read and `--config-file` files through that prefix.
If `${CLAUDE_PLUGIN_ROOT}` is not set, derive the plugin root from this skill's base directory (`<base>/../..`), or fall back to:
```bash
find / -path "*/lc-compliance/.claude-plugin/plugin.json" 2>/dev/null | head -1 | xargs dirname | xargs dirname
```
## Pre-flight checklist
Before touching the org, confirm:
1. The plugin's bundled framework directory at `${CLAUDE_PLUGIN_ROOT}/compliance/<framework>/` exists — verify `agent/` and the impl doc both exist.
2. The org has `ext-cases` subscribed (required for case_created triggers):
```bash
limacharlie --oid <oid> extension list --output yaml | grep ext-cases
```
If not subscribed, stop and tell the user to subscribe via the web UI or `limacharlie extension subscribe` before continuing.
3. The user has an Anthropic API key on hand. Ask them to paste it OR confirm it's already at `hive://secret/anthropic-key` in the target org.
## Workflow
### Step 1 — Create a scoped LC API key
Required permissions for the case reviewer:
```
org.get,sensor.list,sensor.get,dr.list,insight.det.get,insight.evt.get,
investigation.get,investigation.set,ext.request,ext.list,org_notes.read,
sop.get,sop.get.mtd,ai_agent.operate
```
Create the key and atomically store its value as a secret with `--store-secret`. The secret name must equal the key name (`<framework>-compliance-reviewer`), and `--store-secret` creates it **enabled**:
```bash
limacharlie --oid <oid> api-key create \
--name <framework>-compliance-reviewer \
--permissions <comma-separated-list> \
--store-secret <framework>-compliance-reviewer
```
This writes the key value to `hive://secret/<framework>-compliance-reviewer` (updated via etag if it already exists), so the `api_key` field never has to be captured and re-stored manually.
> **Fallback (manual two-step)**: if `--store-secret` is unavailable, capture the `api_key` field from the JSON output and stage it as the secret in Step 2 alongside the Anthropic key.
### Step 2 — Stage the Anthropic secret
`limacharlie hive set` reads the record body from stdin (or from `--input-file`). It does NOT accept a `--data` flag — passing `--data '<json>'` fails with `No such option: --data`. Pipe the JSON instead:
```bash
# Anthropic API key
printf '{"secret": "%s"}' "<sk-ant-...>" | \
limacharlie --oid <oid> hive set \
--hive-name secret \
--key anthropic-key
```
Use `printf` rather than `echo` so the value is passed literally (no surprise interpretation of backslashes in keys). Quote the placeholder so shell expansion doesn't mangle long keys.
(If you used the Step 1 fallback, also stage the LC API key here with the same `printf ... | limacharlie hive set --hive-name secret --key <framework>-compliance-reviewer` pattern.)
If the Anthropic secret already exists at `anthropic-key`, skip the command above. Confirm beforehand with:
```bash
limacharlie --oid <oid> hive get --hive-name secret --key anthropic-key 2>/dev/null \
&& echo "anthropic-key already staged — skipping" \
|| echo "anthropic-key not present — must stage"
```
### Step 3 — Deploy the reviewer manifest
```bash
limacharlie --oid <oid> sync push \
--config-file ${CLAUDE_PLUGIN_ROOT}/compliance/<framework>/agent/<framework>-compliance-reviewer.yaml \
--hive-ai-agent --hive-dr-general
```
### Step 4 — If `--with-rules`, deploy a starter rule subset
Read `${CLAUDE_PLUGIN_ROOT}/compliance/<framework>/recommended-rules.yaml` and pick ~5 D&R rules, ~3 FIM rules, ~1 artifact rule, ~1 exfil rule as a starter set. Extract those specific blocks from `${CLAUDE_PLUGIN_ROOT}/compliance/<framework>/<framework>-limacharlie-implementation.md`. Push each kind through its proper API path (mirror `compliance-baseline-deploy` Step 6 — don't use legacy `sync push --integrity` / `--artifact` / `--exfil` flags, they silently no-op on modern orgs):
```bash
# D&R rules — sync push
limacharlie --oid <oid> sync push --config-file /tmp/starter-dr.yaml --hive-dr-general
# FIM, artifact, exfil — extension config-set (include usr_mtd.enabled: true in input file)
limacharlie --oid <oid> extension config-set --name ext-integrity --input-file /tmp/starter-fim.yaml
limacharlie --oid <oid> extension config-set --name ext-artifact --input-file /tmp/starter-artifact.yaml
limacharlie --oid <oid> extension config-set --name ext-exfil --input-file /tmp/starter-exfil.yaml
```
For ext-exfil specifically, MERGE the new rules into the existing `data.exfil_rules.list` map (preserve `default-chrome`, `default-linux`, etc.) — read current state with `extension config-get --name ext-exfil` first.
Prompt the user to confirm which rules to include — DON'T assume. Starter-subset intent is partial coverage for demos / smoke tests, not a production rollout.
### Step 5 — Tag in-scope sensors
Remind the user to tag their in-scope sensors with the framework's scope tag so the reviewer's scope check recognizes them:
| Framework | Expected scope tags |
|---|---|
| pci-dss | `cde`, `pci-scope`, `card-data`, `pci-dss` |
| hipaa | `ephi-host`, `hipaa-scope`, `phi-host`, `covered-entity` |
| cmmc | `cui`, `cui-host`, `cmmc-scope`, `dib-host` |
| nist-800-53 | `fisma-scope`, `fedramp-scope`, `federal-system`, `nist-scope` |
| soc2 | `soc2-scope` (or leave unset — SOC 2 defaults to in-scope when rules carry the soc2 tag) |
| iso-27001 | `isms-scope`, `iso-scope`, `iso-27001-scope`, `soa-included` |
| cis-v8 | `cis-scope`, `cis-v8-scope`, plus optional `cis-ig1`/`cis-ig2`/`cis-ig3` for tier |
Example:
```bash
limacharlie --oid <oid> tag add --sid <cde-sensor-sid> -t cde
```
### Step 6 — Post-deploy verification
Run a sanity check to prove the agent record landed:
```bash
limacharlie --oid <oid> hive get \
--hive-name ai_agent --key <framework>-compliance-reviewer --output yaml
limacharlie --oid <oid> dr list --namespace general --output yaml \
| grep <framework>
```
The agent hive record should return a populated `data:` block. The `dr list` output should show the trigger rule (`<framework>-compliance-reviewer-trigger`).
### Step 7 — Tell the user what's next
Summarize:
- The case reviewer is deployed. It fires on every `case_created` event and classifies in-scope cases against the framework's controls.
- For gap analysis, invoke the `compliance-gap` skill in your session — no deployment required.
- For control-specific lookups, invoke the `compliance-lookup` skill.
## EvidenceRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.