audit-compliance

audit-compliance is a skill for Claude Code from controlplane-com/ai-plugin. It costs 50 tokens per session (1,967 once invoked), scanned A, original, MIT.

A guide to the append-only record of changes made to Control Plane resources, including who made each change and when.

In plain words
What is it for?
Use it to search audit events, investigate changes, support security monitoring, and let workloads write custom audit events for compliance processes.
Why use it?
It helps answer change-history and compliance questions, while distinguishing automatic platform records from events written by your own applications.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cpln plugin — 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to search audit events, investigate changes, support security monitoring, and let workloads write custom audit events for compliance processes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/controlplane-com/ai-plugin/audit-compliance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add controlplane-com/ai-plugin --skill audit-compliance
Clone the repo
git clone --depth 1 https://github.com/controlplane-com/ai-plugin

Made for: Claude Code.

Or install cpln, the plugin that ships this one along with the rest of its 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for audit-compliance

README.md
[![agentmods](https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/audit-compliance/github.svg)](https://agentmods.dev/skills/controlplane-com/ai-plugin/audit-compliance)
Your own site
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/audit-compliance"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/audit-compliance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for audit-compliance

Your own site · 80×15
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/audit-compliance"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/audit-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,967 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 88
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01967
Opus 5.5 $0.00020 $0.00787
Sonnet 5.5 $0.00010 $0.00393
Haiku 4.5 $0.00005 $0.00197

Measured 1mo ago against content hash 31acc29ce1c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit-compliance scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Content-Type: application/json" \
plugins/cpln/skills/audit-compliance/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit Trail & Compliance

Tool availability: create_audit_context, edit_audit_context, and get_permissions need ?toolsets=full.

Every mutation on every Control Plane resource — via Console, CLI, API, Terraform, Pulumi, or MCP — is recorded automatically in an append-only, tamper-proof audit trail; nothing to configure. Most tasks are answering "who changed what, when" with mcp__cpln__query_audit_events. Custom audit contexts exist for one purpose only: letting your own workloads write their own audit events.

The model

Events live in audit contexts (org-scoped namespaces):

Context Origin Holds
cpln — built-in, one per org builtin every platform mutation, automatically
custom — user-created default only events your workloads POST to it
  • Platform events go only to cpln; custom contexts never receive them — querying one returns only what workloads wrote.
  • The origin value default means "user-created", not "default for the org".
  • No audit context can be deleted — there is no delete in the API, CLI, MCP, or Console, and terraform destroy only removes the context from Terraform state; events are append-only. The built-in cpln context can't be edited either. Creating a context is permanent.

Event anatomy

Each event carries id, eventTime / postedTime / receivedTime, requestId, context (org, audit-context name, location, gvcAlias, podId, remoteIp, eventSource), subject (name, email), resource (id, type, name, data — the resource snapshot), action.type (create / edit / delete / exec), and result (status, message).

Secret snapshots are scrubbed: resource.data for a secret never includes the payload, so the audit trail itself stores no secret values.

Querying events

MCP — query_audit_events

// all workload mutations in the last 24h
{ "kind": "workload", "org": "my-org", "since": "24h" }

// who changed a specific secret in the last 30 days
{ "kind": "secret", "name": "db-password", "since": "30d" }

// several policies in one call (merged, newest-first)
{ "kind": "policy", "names": ["admin", "readonly"], "since": "7d" }

// everything one subject touched across all secrets
{ "kind": "secret", "subject": "[email protected]", "since": "30d" }

// a custom context — kind matches the resource.type your workload wrote
{ "kind": "order", "context": "my-app-audit", "since": "7d" }

// a past window — relative from/to mean "that long ago from now"
{ "kind": "workload", "org": "my-org", "from": "3mo", "to": "1mo" }

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 31acc29ce1c5
  2. 1mo ago Changed b623f632140c
  3. 2mo ago Changed · -25 lines 334e201abab8
  4. 3mo ago First seen · 129 lines · 50 tokens per session scan A 8b5b70da056e

Subscribe to this mod's changes

audit-compliance is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 1,967 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

audit-compliance compared with skills from other repositories

audit-compliance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-compliancecontrolplane-com/ai-pluginSkill12yesterdayMITA50Claude Code
fto-triageanthropics/claude-for-legalSkill10k2d agoApache-2.0A81Claude Code
legal-holdanthropics/claude-for-legalSkill10k2d agoApache-2.0A68Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA49Claude Code
terms-of-servicegenspark-ai/genofficeSkill13kyesterdayApache-2.0A32Claude Code, Codex
regulatory-research-fallbackHKUDS/OpenSpaceSkill8.1k20d agoMITA20Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.8k8d agoApache-2.0A57Claude Code, Codex