Skip to content

Guide · Agent skill

How to use the SOC 2 Type II Audit Prep agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The soc2-audit-prep skill is an agent skill that makes your AI agent act like a demanding SOC 2 Type II auditor. It asks six pointed questions about your scope, control gaps during the observation period, mid-period changes, exception logging, evidence timing, and overlap with ISO 27001, then produces a structured readiness report. This guide is for engineering and compliance leads who want to install the skill, run it, and understand what it can and cannot do.

SOC 2 Type II Audit Prepalirezarezvani/claude-skills · MIT

Quick start

  1. 1Download the ZIP. Download the skill ZIP from this page and extract it so you have SKILL.md.
  2. 2Place the skill. Unzip into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder, or upload it in the Claude apps under Settings, Capabilities, Skills.
  3. 3Install the plugin paths. Make sure the compliance-os and ra-qm-team plugin directories and vendor scripts referenced by SKILL.md are installed. Confirm Python is available.
  4. 4Prepare JSON inputs. Create local JSON files for current state, control program, evidence log and scope, using the vendor playbook as the reference for their structure.
  5. 5Ask for a readiness check. Invoke the skill with the scope, for example /compliance-os:soc2-audit-prep payments platform, or describe the checkpoint in plain language.
  6. 6Run the scripts. Run the gap analyzer, control matrix builder, evidence tracker and, before month 10, the audit simulator, in the order the workflow lists.
  7. 7Review the report. Read the verdict, exception log and top three actions, then assign owners and dates for each.

What the skill makes the agent do

When the skill is active, the agent interrogates your SOC 2 Type II program rather than writing documentation for you. It works through six questions: what the scope is and which Trust Services Criteria (TSC) categories apply; whether any control skipped a cycle during the observation period; change-management evidence for controls added mid-period; where the exception log is and whether exceptions were assessed for materiality; sample evidence from the first month of observation; and the cross-walk to ISO 27001 and which evidence can be reused.

The output is a structured readiness report with observation-period status, exception log summary, evidence coverage by month, ISO 27001 reuse, audit firm readiness, a traffic-light verdict (ON-TRACK, NEEDS-ATTENTION or MATERIAL-RISK) and three recommended next actions.

The skill is a checklist and interrogation aid. It is not a substitute for an auditor or a compliance lawyer, and it does not produce an audit opinion.

Install the skill from the ZIP or the Claude apps

Option 1: download the ZIP from this page and unzip it into your personal skills folder, ~/.claude/skills/, or into a project's .claude/skills/ folder if you want the skill limited to one project.

Option 2: in the Claude apps, open Settings, go to Capabilities, and upload the skill under Skills.

The package contains a single file, SKILL.md. Its description begins with the command /compliance-os:soc2-audit-prep [scope].

Install the required scripts and plugin directory

The skill's workflow calls several Python scripts that live in referenced vendor paths. The SKILL.md refers to ${CLAUDE_PLUGIN_ROOT}/vendor/ra-qm-team/soc2-compliance/scripts/, and to the compliance-os and ra-qm-team plugin directories. Those must be installed for the workflow to run. Copying SKILL.md alone is not enough for the script steps.

Trigger the skill with natural requests

You can invoke the skill with the command form or by describing what you need. The skill's own guidance says to run it before observation starts (months 1-2), at the mid-period checkpoint (month 6), before the field test (month 10), after the report when planning the next cycle, after a scope change such as adding a TSC category, and after a major incident during the observation period.

Phrases that should match the skill include asking for a SOC 2 Type II readiness check, a mid-observation checkpoint, or a pre-field-test readiness review. Include the scope you care about so the report is labelled correctly.

  • "Run a SOC 2 Type II readiness check on our payments platform."
  • "We're at month 6 of our observation period. Do a mid-period checkpoint."
  • "Before the month 10 field test, challenge our SOC 2 evidence and exception log."
  • "We're adding Confidentiality to our SOC 2 scope. What do we need to check?"
/compliance-os:soc2-audit-prep <scope>

Prepare the input files

The workflow reads local JSON files that describe your current state, control program, evidence log and scope. The source does not define their exact schema, so check the vendor playbook referenced in SKILL.md before writing them. The skill does not verify evidence automatically; the agent reasons over the data you supply, so incomplete files produce an incomplete report.

  • current_state.json: current compliance state for the gap analysis
  • program.json: control program used to build the control matrix
  • evidence_log.json: evidence records used for continuous tracking
  • soc2_scope.json: scope used for the mock audit

Run the four workflow stages

The workflow runs in stages that match the observation timeline. Stage 1 is scoping and gap analysis before observation. Stage 2 builds the control matrix with the ISO 27001 cross-walk. Stage 3 tracks evidence continuously during observation. Stage 4 is a mock audit before the month 10 field test, which calls the audit_simulator.py script from a relative path outside the vendor folder.

python ${CLAUDE_PLUGIN_ROOT}/vendor/ra-qm-team/soc2-compliance/scripts/gap_analyzer.py current_state.json python ${CLAUDE_PLUGIN_ROOT}/vendor/ra-qm-team/soc2-compliance/scripts/control_matrix_builder.py program.json python ${CLAUDE_PLUGIN_ROOT}/vendor/ra-qm-team/soc2-compliance/scripts/evidence_tracker.py evidence_log.json python ../../skills/compliance-os/scripts/audit_simulator.py soc2_scope.json

Read the report and act on it

Start with the verdict. A red MATERIAL-RISK result or a yellow NEEDS-ATTENTION result should be read alongside the exception log and the per-control exception counts. The source notes that audit firms typically tolerate one or two exceptions per control, and treats three or more as a finding. Then work through the three recommended next actions, each with an owner and an observation-period timing.

  • Check control operation for skipped cycles: quarterly controls across all four quarters, monthly across all months, annual within the period.
  • Log each exception when it is discovered, with what, when, impact, remediation and owner.
  • Front-load evidence in the first month rather than assembling it in the last 30 days.

Safety notes on scripts and network

The skill runs Python scripts, so review them before running them on your machine, and run them only against files you are comfortable exposing to a local process. According to the listing, the skill does not use the network. Your evidence and control files stay local unless you share them yourself. Treat the report as internal working material: it is a readiness view, not an attestation, and should not be sent to an auditor as if it were one.

What people use it for

  • Scoping a first SOC 2 Type II cycle by deciding which TSC categories beyond Security to include.
  • Running a month 6 mid-observation checkpoint to find skipped control cycles while they can still be fixed.
  • Checking exception logs against the typical audit firm tolerance before the month 10 field test.
  • Finding evidence that can serve both a SOC 2 and an ISO 27001 audit, so one collection supports two reports.
  • Reviewing the evidence pool after a major incident during the observation period.

Frequently asked questions

How do I install the soc2-audit-prep skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings, Capabilities, Skills.

Is the soc2-audit-prep skill free to use?

The listing states the skill is licensed under MIT. Check the licence file in the source repository for the full terms before you use or redistribute it.

What do I need to run it?

You need Python, local JSON input files describing your current state, control program, evidence log and scope, and the referenced vendor scripts and plugin directories (compliance-os and ra-qm-team) installed. The listing says the skill runs scripts and does not use the network.

Does this skill replace a SOC 2 auditor?

No. It is a checklist and interrogation aid that gives guidance only. The report is not an auditor's attestation, and it cannot give a formal audit opinion.

Can it be used for SOC 2 Type I or other frameworks?

No, not as designed. The six questions are specific to Type II observation periods, so Type I or other frameworks are outside what this skill covers.

Does the skill check my evidence automatically?

Not according to the listing. The SKILL.md describes checks, but the agent still relies on the data you supply in your JSON files, so evidence gaps you do not record will not be detected.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits engineering or compliance leads preparing for a SOC 2 Type II audit, especially teams running a mid-period checkpoint or pursuing SOC 2 and ISO 27001 together. Teams that need a formal audit opinion, a Type I report, or automatic evidence verification should look elsewhere, or pair this skill with a qualified auditor and compliance counsel.

Download the skill