/sdlc-documentation:20-ai-agent-soc2-control-packfrom sdlc-documentation
Maps L1+ AI agents to SOC 2 trust-services controls with implementation evidence, sampling, testing, exceptions, and owner assignment. Use alongside ISO 27001 or HIPAA control packs for those frameworks.
Ships in sdlc-documentation. 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.
Read when SKILL.md points to them.
| Artefact | Source or provider | Required? | Missing-input behaviour |
|---|---|---|---|
| Target sources: AI_Agent_Feature_PRD_Spec.md, Action_Catalogue_Spec.md, AI_Agent_Architecture_Spec.md, AI_Agent_SLO_Doc.md, AI_Agent_Runbook.md, AI_Agent_Eval_Spec.md, AI_Agent_Red_Team_Test_Plan.md, AI_Agent_Responsible_AI_Addendum.md, AI_Agent_ADR_Catalogue.md, AI_Agent_Compliance_Policy_Pack.md, AI_Agent_Evidence_Pack_Spec.md, parent SOC 2 control matrix (if exists). | Project owner, approved workspace artefacts, or accountable control owner | Yes | Stop dependent claims; list the missing item, owner, and consequence. For review checks, record not assessed. |
| Scope, audience, baseline/version, and accountable decision owner | Requester or project context | Yes | Ask for or record the gap; do not infer authority or scope. |
Default to read-only. Read and search access to the supplied artefacts are required. Editing is limited to an explicitly authorised requested draft or project files. Execute validation only when authorised; publishing, signature, certification, production mutation, destructive action, spending, and risk acceptance require explicit authority.
When files, tools, network, rendering, fonts, execution, or evidence are unavailable, return the narrowest useful qualified draft or finding set. Name every unavailable check and its consequence; an unassessed check is never a pass. Preserve evidence already gathered and provide the exact next verification step.
| Condition | Action | Failure or risk avoided |
|---|---|---|
| A control is applicable but evidence or test procedure is absent | Record a gap; do not claim control effectiveness | Unsupported assurance |
| Control, owner, evidence, sampling, and test all align | Mark the row ready for independent assessment | Framework checkbox compliance |
not assessed and never convert it into a pass.| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| AI Agent SOC 2 Control Pack | Accountable reviewer, control owner, auditor, or release authority | Every applicable TSC criterion shall have an agent-specific implementation requirement, an evidence row, an evidence-frequency value, and a test procedure. Every irreversible-action-class control shall name the human-final-decision evidence. Every monitoring criterion shall name the SLI from the agent SLO doc. Every control narrative shall be readable by an AICPA auditor in under three minutes. |
| Gap and decision record | Accountable owner and downstream reviewer | Every gap has status, impact, owner, next action, and no unsupported pass or approval. |
| Evidence | Contents | Acceptance condition |
|---|---|---|
| AI Agent SOC 2 Control Pack evidence record | Source identifiers, scope/version, decisions, checks, exceptions, and approval state | A reviewer can reproduce each material conclusion from named sources. |
| Validation record | Check, result (pass, fail, or not assessed), evidence location, date, and actor | No required check is omitted or silently treated as passed. |
28-anti-ai-slop during authoring and 29-ai-slop-audit at major checkpoints and release.not assessed, state impact, and block dependent claims.adequate, secure, or user-friendly. Fix: Replace each with an observable criterion, threshold, and evidence source.Example: if a control is applicable but evidence or test procedure is absent, record a gap; do not claim control effectiveness. Record the evidence and result in the validation record; this avoids unsupported assurance.
The SOC 2 auditor walks the Trust Services Criteria row by row. For an agentic SaaS, the parent SaaS control narrative is insufficient because every TSC row has agent-specific implementation depth the auditor will ask about: the agent service principal's access (CC6), agent action monitoring (CC7), agent change management (CC8), agent availability SLI (A1), processing integrity of agent output (PI1), confidentiality of tool-output (C1), and privacy of agent-handled personal data (P1–P8).
This skill produces the control pack: one row per applicable TSC criterion, naming the agent-specific implementation, the evidence the auditor will accept, the frequency, the test procedure, and the auditor walkthrough script. The software-dev pass owns the collector that produces the evidence; this pack defines what the collector must produce and the format the auditor will read.
| Attribute | Value |
|---|---|
| Inputs | Agent PRD, Action Catalogue, Agent Architecture, Agent SLO, Agent Runbook, Agent Eval, Agent Red-Team, Responsible-AI Addendum, ADR Catalogue, Policy Pack, Evidence Pack Spec |
| Output | AI_Agent_SOC2_Control_Pack.md + soc2-controls/*.md |
| Standards | AICPA TSP 100 (2017, 2022 revisions); SOC 2 Type II attest engagement |
For each TSC category, declare in-scope or out-of-scope with reasoning:
Walk every applicable criterion and declare the agent-specific implementation. Default treatment:
| TSC | Agent-specific extension |
|---|---|
| CC1 Control Environment | Agent governance owner named; policy pack signed; ADR catalogue current |
| CC2 Communication | Agent disclosures (user, tenant admin); Responsible-AI public paragraph |
| CC3 Risk Assessment | Agent-feature risk register row per feature; reversibility classification rubric applied |
| CC4 Monitoring | Agent SLI burn-rate alerts active; intervention rate trended; quarterly audit-log review |
| CC5 Control Activities | Approval-event control; kill-switch control; supervision-policy control |
| CC6 Logical Access | Agent service-principal access reviewed quarterly; per-tenant scope verified; tool allow-list enforced |
| CC7 System Operations | Agent-incident playbooks; anomaly detection on irreversible-action rate, intervention rate, cost-per-run, cross-tenant tool routing |
| CC8 Change Management | Planner / catalogue / supervisor / kill-switch changes through CAB; red-team smoke required; ADR required |
| CC9 Risk Mitigation | Agent insurance / vendor risk; provider sub-processor change protocol |
| A1 Availability | Agent-task availability SLI; capacity for peak agent runs; failover for orchestrator |
| C1 Confidentiality | Tool-output isolation; cross-tenant routing prevention; memory tier confidentiality; redaction in audit log |
| PI1 Processing Integrity | Action audit log integrity (hash-chain); reproduce-script evidence; eval coverage |
| P1–P8 Privacy | DPIA addendum; consent capture for agent processing; right-to-erasure on agent memory; sub-processor notice for model provider |
For each criterion, declare:
agent_access_review_Qn.csv).Refer to references/ai-agent-soc2-control-matrix-template.md for the canonical evidence table.
For each criterion, declare the auditor's test:
| Population | Default sample |
|---|---|
| Approval events (irreversible actions) | 25 events stratified across features, or full population if < 25 |
| Kill-switch drills | full population (typically quarterly = 4) |
| Action-catalogue change PRs | 25 PRs stratified across features, or full population |
| Access reviews | 1 review per quarter, full population of agent service principals |
| Memory-erasure requests | full population |
| Red-team CRITICAL findings | full population; HIGH/MEDIUM by sample |
| Eval gate failures | full population during the audit window |
| Incident postmortems (SEV1/SEV2) | full population |
Write a 1-page walkthrough script per major area: agent governance, action audit log, kill-switch drill, approval-event flow, evidence-pack assembly. Each script names the demoer role, the system, the click path, and the artefact the auditor will leave with.
AI_Agent_SOC2_Control_Pack.md sections: 1) Scope, 2) Agent-Specific Control Extensions, 3) Evidence Inventory, 4) Test Procedures, 5) Sampling Protocols, 6) Auditor Walkthrough Scripts, 7) Cross-Refs (to policy pack, evidence pack spec, runbook), 8) Sign-off Ledger.
logic.prompt, README.md, references/ai-agent-soc2-control-matrix-template.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job