ai-agent-compliance-controls
Skill31 starsChanged 18 days agoMITView on GitHub
Use when mapping AI agent operations to SOC 2, ISO 27001, HIPAA, audit logs, control testing, attestations, and compliance evidence, including drill-cadence evidence, approval-completeness (PI1.1) gap checks, and signed agent-memory erasure proofs.
In this repository172 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- 00-meta-initializationSkill
- chwezi-dev-engineSkill
- ai-agent-commercial-operationsSkill
- ai-agent-governance-and-limitsSkill
- ai-agent-multi-agent-coordinationSkill
- ai-agent-observability-evaluationSkill
- ai-agent-runtime-architectureSkill
- ai-agent-safety-and-red-teamSkill
- ai-agent-tooling-and-hitlSkill
- ai-analyticsSkill
- ai-app-architectureSkill
- ai-cost-and-meteringSkill
- ai-economic-value-engineSkill
- ai-evaluationSkill
- ai-feature-rollout-and-experimentationSkill
- ai-feature-specSkill
- ai-incident-responseSkill
- ai-llm-integrationSkill
- ai-model-gatewaySkill
- ai-observability-and-debuggingSkill
- ai-opportunity-canvasSkill
- ai-prompt-engineeringSkill
- ai-rag-patternsSkill
- ai-securitySkill
- ai-web-appsSkill
- coding-agent-optimizationSkill
- openai-agents-sdkSkill
- android-developmentSkill
- api-design-firstSkill
- distributed-systems-patternsSkill
- ecommerce-platform-audit-requirementsSkill
- graphql-patternsSkill
- microservices-architectureSkill
- system-architecture-designSkill
- validation-contractSkill
- database-design-engineeringSkill
- database-reliabilitySkill
- mysql-engineeringSkill
- postgresql-engineeringSkill
- cicd-pipelinesSkill
- cloud-architectureSkill
- deployment-release-engineeringSkill
- docker-developmentSkill
- infrastructure-as-codeSkill
- kubernetes-platformSkill
- observability-monitoringSkill
- reliability-engineeringSkill
- execution-plan-scriptsSkill
- accounting-engineSkill
- accounting-finance-controllerSkill
- electronic-fiscal-taxingSkill
- multicurrency-and-fxSkill
- avalonia-desktop-developmentSkill
- frontend-architectureSkill
- frontend-performanceSkill
- image-compressionSkill
- nextjs-app-routerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Default to read-only analysis.
- Distinctive: line 36
When required telemetry, evidence, execution, network access, or write authority is unavailable, return a partial result with each …
- Very specific: line 81
Read this SKILL.md first.
- Distinctive: line 88
Keep routing explicit: name which reference files were used when the work depends on absorbed material.
- Distinctive: line 90
Prefer concrete contracts, checklists, tables, schemas, runbooks, and decision records over broad summaries.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Agent Compliance Controls
Operating contract
Inputs
| Input | Required | Purpose |
| Domain evidence | yes | system boundary, applicable frameworks, data classes, control owners, agent actions, and available evidence |
Outputs
- Produce: control matrix, test procedures, exceptions, evidence index, and remediation owners.
Skill-specific outputs:
- A concrete deliverable matched to the request: architecture, implementation plan, audit, policy, runbook, UX flow, test strategy, or operating model.
- The selected consolidated reference files and any assumptions, risks, evidence requirements, or follow-up actions that affect execution.
Capability and permission boundaries
Default to read-only analysis. Read only scoped records; redact secrets and regulated data. Writes, execution, network calls, production configuration, customer communication, billing changes, and delegation require explicit authority and an identified owner. Never widen tenant, time-window, or system scope implicitly.
Degraded mode
When required telemetry, evidence, execution, network access, or write authority is unavailable, return a partial result with each unassessed item labelled, preserve the safest existing state, and state the evidence or approval needed to continue. Never convert missing evidence into a pass.
Decision rules
| Condition | Action |
| Scope, owner, or threshold is missing | Stop the affected decision and request it |
| Evidence is incomplete but read-only analysis is safe | Produce a qualified partial result and gap list |
| A mutation exceeds authority or tenant boundary | Block it and route for approval |
| Evidence meets the stated threshold | Issue the output with provenance and owner |
Anti-Patterns
- Treating absent evidence as success. Fix: mark the check unassessed and name the missing source.
- Expanding one tenant or workflow to all tenants. Fix: enforce supplied scope at every query and action.
- Performing a production write during analysis. Fix: emit a reviewed change plan until authority is explicit.
- Reporting a metric without population, window, or source. Fix: attach all three.
- Hiding a failed threshold inside an average. Fix: report failure slices and the remediation owner.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
<!-- dual-compat-start -->Use When
- Design compliance controls for agent actions, logs, approvals, evidence, and access boundaries.
- Map agent operations to SOC 2, ISO 27001, HIPAA, or control testing requirements.
- Prepare control evidence and audit-ready narratives for agentic AI systems.
- Prove kill-switch, red-team, eval-drift, and restoration drills ran on cadence with signed pass/fail evidence (
references/ai-agent-drill-evidence-and-cadence/). - Prove every irreversible agent action had a prior, authorised, linked approval and emit the SOC 2 PI1.1 gap register (
references/ai-agent-approval-audit-completeness/). - Prove a data-subject erasure removed all agent memory tiers, vectors, replicas, and subprocessor copies, with a signed proof-of-erasure pack (
references/ai-agent-memory-erasure-proof/).
Do Not Use When
- The work is not AI-specific or agentic-AI-specific.
- A narrower retained AI parent skill fits the request better.
Required Inputs
- Product, tenant, user, data, risk, and operational context relevant to the AI workflow.
- Target artifact: design, implementation plan, audit, test strategy, UX flow, commercial policy, or runbook.
- Constraints from security, privacy, reliability, billing, support, and compliance stakeholders when relevant.
Workflow
- Read this SKILL.md first.
- Load references/routing.md to select the absorbed child reference that matches the task.
- Load only the selected child reference files needed for the current request.
- Produce execution-oriented output with assumptions, risks, evidence, and next actions where relevant.
Quality Standards
- Keep routing explicit: name which reference files were used when the work depends on absorbed material.
- Preserve tenant isolation, auditability, cost controls, safety gates, and operational evidence when they matter.
- Prefer concrete contracts, checklists, tables, schemas, runbooks, and decision records over broad summaries.
Anti-Patterns
- Loading every absorbed reference by default.
- Treating AI-specific billing, compliance, safety, or UX concerns as generic SaaS work without checking AI failure modes.
- Hiding retired skill names; old slugs must remain discoverable through references/routing.md.
References
- references/routing.md maps retired child skill slugs to their consolidated reference folders.
- Load references/eu-ai-act-and-iso-42001-agent-overlay.md when a feature may be EU AI Act high-risk or a customer asks for ISO/IEC 42001 alignment: classification, Arts. 9-15/19/72/73 mapped to existing controls, application dates.
- Load references/ai-agent-drill-evidence-and-cadence/entrypoint.md when turning drills into audit evidence: drill registry, minimum cadence, overdue paging, signed drill packs. Drill scenario design stays in
ai-agent-safety-and-red-teamandai-incident-response. - Load references/ai-agent-approval-audit-completeness/entrypoint.md when an auditor asks for proof that irreversible actions were approved before execution: gap-detection job, backfill detection, PI1.1 pack.
- Load references/ai-agent-memory-erasure-proof/entrypoint.md when an erasure request touches agent-derived memory: cascade verification job, residue probes, signed proof pack.
- Load references/continuous-control-monitoring.md when proving controls stayed effective across an audit window: declared-vs-observed drift checks, compliance deploy gate, framework edition register, LLM provider re-verification.
Consolidated Child References
- Load references/routing.md to map retired AI child skill slugs to their reference modules.
Evidence Produced
| Category | Artifact | Format | Example |
| Security | Agent control-to-evidence matrix | Markdown/YAML | control owner, test procedure, result, exception, and review date |
<!-- dual-compat-end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

