skill

Sox Testing

Generate SOX sample selections, testing workpapers, and control assessments. Use when planning quarterly or annual SOX 404 testing, pulling a sample for a control (revenue, P2P, ITGC, close), building a testing workpaper template, or evaluating and classifying a control deficiency.

Anthropic4.80+ installsVetted

About

# SOX Compliance Testing

> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md).

**Important**: This command assists with SOX compliance workflows but does not provide audit or legal advice. All testing workpapers and assessments should be reviewed by qualified financial professionals before use in audit documentation.

Generate sample selections, create testing workpapers, document control assessments, and provide testing templates for SOX 404 internal controls over financial reporting.

## Usage

``` /sox <control-area> <period> ```

### Arguments

- `control-area` — The control area to test: - `revenue-recognition` — Revenue cycle controls (order-to-cash) - `procure-to-pay` or `p2p` — Procurement and AP controls (purchase-to-pay) - `payroll` — Payroll processing and compensation controls - `financial-close` — Period-end close and reporting controls - `treasury` — Cash management and treasury controls - `fixed-assets` — Capital asset lifecycle controls - `inventory` — Inventory valuation and management controls - `itgc` — IT general controls (access, change management, operations) - `entity-level` — Entity-level and monitoring controls - `journal-entries` — Journal entry processing controls - Any specific control ID or name - `period` — The testing period (e.g., `2024-Q4`, `2024`, `2024-H2`)

## Workflow

### 1. Identify Controls to Test

Based on the control area, identify the key controls. Present the control matrix:

| Control # | Control Description | Type | Frequency | Key/Non-Key | Risk | Assertion | |-----------|-------------------|------|-----------|-------------|------|-----------| | [ID] | [Description] | Manual/Automated/IT-Dependent | Daily/Weekly/Monthly/Quarterly/Annual | Key | High/Medium/Low | [CEAVOP] |

**Control types:** - **Automated:** System-enforced controls with no manual intervention - **Manual:** Controls performed by personnel with judgment - **IT-dependent manual:** Manual controls that rely on system-generated data

**Assertions (CEAVOP):** - **C**ompleteness — All transactions are recorded - **E**xistence/Occurrence — Transactions actually occurred - **A**ccuracy — Amounts are correctly recorded - **V**aluation — Assets/liabilities are properly valued - **O**bligations/Rights — Entity has rights to assets, obligations for liabilities - **P**resentation/Disclosure — Properly classified and disclosed

### 2. Determine Sample Size

Calculate sample sizes based on control frequency and risk:

| Control Frequency | Population Size (approx.) | Recommended Sample | |------------------|--------------------------|-------------------| | Annual | 1 | 1 (test the instance) | | Quarterly | 4 | 2 | | Monthly | 12 | 2-4 (based on risk) | | Weekly | 52 | 5-15 (based on risk) | | Daily | ~250 | 20-40 (based on risk) | | Per-transaction | Varies | 25-60 (based on risk and volume) |

Adjust for: - **Risk level:** Higher risk controls require larger samples - **Prior year results:** Controls with prior deficiencies need larger samples - **Reliance:** Controls relied upon by external auditors may need larger samples

### 3. Generate Sample Selection

Select samples from the population using the appropriate method:

**Random selection** (default for transaction-level controls): - Generate random numbers to select specific items from the population - Ensure coverage across the full period

**Systematic selection** (for periodic controls): - Select items at fixed intervals with a random start point - Ensure representation across all sub-periods

**Targeted selection** (supplement to random, for risk-based testing): - Select items with specific risk characteristics (high dollar, unusual, period-end) - Document rationale for targeted selections

Present the sample:

``` SAMPLE SELECTION Control: [Control ID] — [Description] Period: [Testing period] Population: [Count] items, $[Total value] Sample size: [N] items Selection method: [Random/Systematic/Targeted]

| Sample # | Transaction Date | Reference/ID | Amount | Selection Basis | |----------|-----------------|--------------|--------|-----------------| | 1 | [Date] | [Ref] | $X,XXX | Random | | 2 | [Date] | [Ref] | $X,XXX | Random | | ... | ... | ... | ... | ... | ```

### 4. Create Testing Workpaper

Generate a testing template for each control:

``` SOX CONTROL TESTING WORKPAPER ============================== Control #: [ID] Control Description: [Full description of the control activity] Control Owner: [Role/title — to be filled by tester] Control Type: [Manual/Automated/IT-Dependent Manual] Frequency: [How often the control operates] Key Control: [Yes/No] Relevant Assertio

Install

Run this command

git clone https://github.com/anthropics/knowledge-work-plugins && cp -r knowledge-work-plugins/finance/skills/sox-testing ~/.claude/skills/

Works with

claude appclaude codeclaude apicursorcodexwindsurfclinezed

Manual steps

Clone the repository and copy the `finance/skills/sox-testing` folder into your Claude skills directory. Compatible with Claude Code, Cursor, Codex, and any Agent Skills-compatible agent.

View source
License: Apache-2.0By Anthropic

Frequently asked questions

What is the Sox Testing skill?

Generate SOX sample selections, testing workpapers, and control assessments. Use when planning quarterly or annual SOX 404 testing, pulling a sample for a control (revenue, P2P, ITGC, close), building a testing workpaper template, or evaluating and classifying a control deficiency.

How do I install Sox Testing?

Run this in your terminal:

git clone https://github.com/anthropics/knowledge-work-plugins && cp -r knowledge-work-plugins/finance/skills/sox-testing ~/.claude/skills/
Which AI tools does Sox Testing work with?

It works with claude_app, claude_code, claude_api, cursor, codex, windsurf, cline, zed.

Who made Sox Testing?

Anthropic, released under the Apache-2.0 license.

Is Sox Testing free?

Yes, it is free to use under the Apache-2.0 license.

Related assets

More curated picks in Finance & Accounting.

All Sox Testing alternatives →
skillclaude_appclaude_codeclaude_api
git clone https://github.com/microsoft/azure-skills && cp -r azure-skills/.github/plugins/azure-cost/skills/cost-analysis ~/.claude/skills/
Cost Analysis
Analyze actual Azure spend, bill changes, and AKS or AI costs. WHEN: "Azure cost breakdown", "most expensive resources", "why did my bill increase", "…0+
skillclaude_appclaude_codeclaude_api
git clone https://github.com/microsoft/azure-skills && cp -r azure-skills/skills/azure-compute ~/.claude/skills/
Azure Compute
Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, li…0+
skillclaude_appclaude_codeclaude_api
git clone https://github.com/microsoft/azure-skills && cp -r azure-skills/skills/azure-app-onboard ~/.claude/skills/
Azure App Onboard
End-to-end orchestrator: from a business idea, app idea, or existing app to running Azure deployment with cost estimates and pre-deploy approval. Anal…0+
skillclaude_appclaude_codeclaude_api
git clone https://github.com/microsoft/azure-skills && cp -r azure-skills/skills/azure-resource-lookup ~/.claude/skills/
Azure Resource Lookup
List, find, and show Azure resources across subscriptions or resource groups. Handles prompts like "list the websites in my subscription", "list my we…0+
skillclaude_appclaude_codeclaude_api
git clone https://github.com/microsoft/azure-skills && cp -r azure-skills/.github/plugins/azure-cost/skills/cost-governance ~/.claude/skills/
Cost Governance
Govern Azure costs with budgets, alerts, tags, and policy restrictions. WHEN: "Azure budget health", "configured budget overrun", "list Azure budgets"…0+
skillclaude
Generates professional PDF invoices with line items, tax, totals, branding.
Invoice Generator Skill
Generates professional PDF invoices with line items, tax, totals, branding.0+

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Finance & Accounting