/ckb:audit [framework[,framework...] | all]from CKB · Code Knowledge Backend
Runs compliance audits against 20 regulatory frameworks using CKB's deterministic checks, then triages findings for applicability and false positives.
Ships in CKB · Code Knowledge Backend. 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.
Run a CKB-augmented compliance audit optimized for minimal token usage.
$ARGUMENTS - Optional: framework(s) to audit (default: auto-detect from repo context). Examples: "gdpr", "gdpr,pci-dss,hipaa", "all"
CKB already ran deterministic checks across 20 regulatory frameworks, mapped every finding to a specific regulation article, and assigned confidence scores. The LLM's job is ONLY what CKB can't do: assess whether findings are real compliance risks or false positives given the repo's actual purpose, and prioritize remediation by business impact.
Privacy: gdpr, ccpa, iso27701 AI: eu-ai-act Security: iso27001, nist-800-53, owasp-asvs, soc2, hipaa Industry: pci-dss, dora, nis2, fda-21cfr11, eu-cra Supply chain: sbom-slsa Safety: iec61508, iso26262, do-178c Coding: misra, iec62443
CKB maps code patterns to regulation articles using AST + regex + tree-sitter. It is structurally correct but contextually blind:
"${CLAUDE_PLUGIN_ROOT}/scripts/ckb" audit compliance --framework=$ARGUMENTS --format=json --min-confidence=0.7 2>/dev/null
For large repos, scope to a specific path to reduce noise:
"${CLAUDE_PLUGIN_ROOT}/scripts/ckb" audit compliance --framework=$ARGUMENTS --scope=src/api --format=json --min-confidence=0.7 2>/dev/null
If no framework specified, pick based on repo context:
From the JSON output, extract:
score, verdict (pass/warn/fail)coverage[] — per-framework scores with passed/warned/failed/skipped check countsfindings[] — with check, severity, file, startLine, message, suggestion, confidence, CWEchecks[] — per-check status and summarysummary — total findings by severity, files scannedNote:
Early exit: If verdict=pass and all framework scores >= 90, write a one-line summary and stop.
Do NOT read every flagged file. Group findings by root cause first:
## [COMPLIANT|NEEDS REMEDIATION|NON-COMPLIANT] — CKB score: [N]/100
[One sentence: what frameworks were audited and overall posture]
### Critical findings (must remediate)
1. **[framework]** `file:line` Art. [X] — [issue + remediation in one sentence]
2. ...
### Not applicable (false positives from context)
[List findings CKB flagged but that don't apply to this repo, with one-line reason]
### Cross-framework deduplication
[N findings deduplicated to M root causes]
### Framework scores
| Framework | Score | Status | Checks |
|-----------|-------|--------|--------|
| [name] | [N] | [pass/warn/fail] | [passed]/[total] |
If fully compliant: just the header + framework scores. Nothing else.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
compliance-audit, regulatory-frameworks, ckb, gdpr, hipaa, pci-dss, soc2, iso27001
2 skills in this plugin
npx claudepluginhub simplyliz/ckb --plugin ckbOther plugins' skills for the same job