Skill Tracer
Skills › Knowledge Work Plugins › sox-testing

sox-testing

skill · 218 lines · Apache-2.0 · finance/skills/sox-testing/SKILL.md

The facts

Its description

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.

The description the agent reads to decide when to use it.

From its settingsline 3

When it starts

The agent sees only the name sox-testing and a description about generating SOX sample selections, testing workpapers, and control assessments. It would pick this skill when someone is planning quarterly or annual SOX 404 testing, pulling a sample for a control, building a testing workpaper, or evaluating and classifying a control deficiency.

Things a person might say (the model's guesses)

  • “We're kicking off Q4 SOX testing — pull a sample for our revenue recognition controls.”
  • “Can you build a testing workpaper template for our procure-to-pay controls?”
  • “We found an exception in the ITGC access review — is that a significant deficiency or a material weakness?”

A model's summary of when it is used.

A model's reading

What it takes when started

<control area> [period]

What to type after its name when you start it.

From its settingsline 4

What it leads to

Other skills this one hands off to, calls, requires or offers instead, as a model read them.

A model's reading

Licence

Apache-2.0, from finance/LICENSE

The terms its author shares it under, which let it be shown here.

From the repositorylicence text

The text

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1---
2name: sox-testing
3description: 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.
4argument-hint: "<control area> [period]"
5---
6
7# SOX Compliance Testing
8
9> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md).
11**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.
13Generate sample selections, create testing workpapers, document control assessments, and provide testing templates for SOX 404 internal controls over financial reporting.

SOX Compliance Testing

If you see unfamiliar placeholders or need to check which tools are connected, see 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.

Raw lines 1 to 14
Names a skill audit-support :3
15## Usage
17```
18/sox <control-area> <period>
19```

Usage

/sox <control-area> <period>
Raw lines 15 to 20
21### Arguments
23- `control-area` — The control area to test:
24 - `revenue-recognition` — Revenue cycle controls (order-to-cash)
25 - `procure-to-pay` or `p2p` — Procurement and AP controls (purchase-to-pay)
26 - `payroll` — Payroll processing and compensation controls
27 - `financial-close` — Period-end close and reporting controls
28 - `treasury` — Cash management and treasury controls
29 - `fixed-assets` — Capital asset lifecycle controls
30 - `inventory` — Inventory valuation and management controls
31 - `itgc` — IT general controls (access, change management, operations)
32 - `entity-level` — Entity-level and monitoring controls
33 - `journal-entries` — Journal entry processing controls
34 - Any specific control ID or name
35- `period` — The testing period (e.g., `2024-Q4`, `2024`, `2024-H2`)

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)
Raw lines 21 to 36
37## Workflow
39### 1. Identify Controls to Test
41Based on the control area, identify the key controls. Present the control matrix:
43| Control # | Control Description | Type | Frequency | Key/Non-Key | Risk | Assertion |
44|-----------|-------------------|------|-----------|-------------|------|-----------|
45| [ID] | [Description] | Manual/Automated/IT-Dependent | Daily/Weekly/Monthly/Quarterly/Annual | Key | High/Medium/Low | [CEAVOP] |
47**Control types:**
48- **Automated:** System-enforced controls with no manual intervention
49- **Manual:** Controls performed by personnel with judgment
50- **IT-dependent manual:** Manual controls that rely on system-generated data
52**Assertions (CEAVOP):**
53- **C**ompleteness — All transactions are recorded
54- **E**xistence/Occurrence — Transactions actually occurred
55- **A**ccuracy — Amounts are correctly recorded
56- **V**aluation — Assets/liabilities are properly valued
57- **O**bligations/Rights — Entity has rights to assets, obligations for liabilities
58- **P**resentation/Disclosure — Properly classified and disclosed

1. Identify Controls to Test

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

Control #Control DescriptionTypeFrequencyKey/Non-KeyRiskAssertion
[ID][Description]Manual/Automated/IT-DependentDaily/Weekly/Monthly/Quarterly/AnnualKeyHigh/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):

  • Completeness — All transactions are recorded
  • Existence/Occurrence — Transactions actually occurred
  • Accuracy — Amounts are correctly recorded
  • Valuation — Assets/liabilities are properly valued
  • Obligations/Rights — Entity has rights to assets, obligations for liabilities
  • Presentation/Disclosure — Properly classified and disclosed
Raw lines 39 to 59
60### 2. Determine Sample Size
62Calculate sample sizes based on control frequency and risk:
64| Control Frequency | Population Size (approx.) | Recommended Sample |
65|------------------|--------------------------|-------------------|
66| Annual | 1 | 1 (test the instance) |
67| Quarterly | 4 | 2 |
68| Monthly | 12 | 2-4 (based on risk) |
69| Weekly | 52 | 5-15 (based on risk) |
70| Daily | ~250 | 20-40 (based on risk) |
71| Per-transaction | Varies | 25-60 (based on risk and volume) |
73Adjust for:
74- **Risk level:** Higher risk controls require larger samples
75- **Prior year results:** Controls with prior deficiencies need larger samples
76- **Reliance:** Controls relied upon by external auditors may need larger samples

2. Determine Sample Size

Calculate sample sizes based on control frequency and risk:

Control FrequencyPopulation Size (approx.)Recommended Sample
Annual11 (test the instance)
Quarterly42
Monthly122-4 (based on risk)
Weekly525-15 (based on risk)
Daily~25020-40 (based on risk)
Per-transactionVaries25-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
Raw lines 60 to 77
78### 3. Generate Sample Selection
80Select samples from the population using the appropriate method:
82**Random selection** (default for transaction-level controls):
83- Generate random numbers to select specific items from the population
84- Ensure coverage across the full period
86**Systematic selection** (for periodic controls):
87- Select items at fixed intervals with a random start point
88- Ensure representation across all sub-periods
90**Targeted selection** (supplement to random, for risk-based testing):
91- Select items with specific risk characteristics (high dollar, unusual, period-end)
92- Document rationale for targeted selections
94Present the sample:
96```
97SAMPLE SELECTION
98Control: [Control ID] — [Description]
99Period: [Testing period]
100Population: [Count] items, $[Total value]
101Sample size: [N] items
102Selection method: [Random/Systematic/Targeted]
104| Sample # | Transaction Date | Reference/ID | Amount | Selection Basis |
105|----------|-----------------|--------------|--------|-----------------|
106| 1 | [Date] | [Ref] | $X,XXX | Random |
107| 2 | [Date] | [Ref] | $X,XXX | Random |
108| ... | ... | ... | ... | ... |
109```

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          |
| ...      | ...             | ...          | ...    | ...             |
Raw lines 78 to 110
111### 4. Create Testing Workpaper
113Generate a testing template for each control:
115```
116SOX CONTROL TESTING WORKPAPER
117==============================
118Control #: [ID]
119Control Description: [Full description of the control activity]
120Control Owner: [Role/title — to be filled by tester]
121Control Type: [Manual/Automated/IT-Dependent Manual]
122Frequency: [How often the control operates]
123Key Control: [Yes/No]
124Relevant Assertion(s): [CEAVOP]
125Testing Period: [Period]
127TEST OBJECTIVE:
128To determine whether [control description] operated effectively throughout the testing period.
130TEST PROCEDURES:
1311. [Step 1 — What to inspect, examine, or re-perform]
1322. [Step 2 — What evidence to obtain]
1333. [Step 3 — What to compare or verify]
1344. [Step 4 — How to evaluate completeness of performance]
1355. [Step 5 — How to assess timeliness of performance]
137EXPECTED EVIDENCE:
138- [Document type 1 — e.g., signed approval form]
139- [Document type 2 — e.g., system screenshot showing review]
140- [Document type 3 — e.g., reconciliation with preparer sign-off]
142TEST RESULTS:
144| Sample # | Ref | Procedure 1 | Procedure 2 | Procedure 3 | Result | Exception? | Notes |
145|----------|-----|-------------|-------------|-------------|--------|------------|-------|
146| 1 | | Pass/Fail | Pass/Fail | Pass/Fail | Pass/Fail | Y/N | |
147| 2 | | Pass/Fail | Pass/Fail | Pass/Fail | Pass/Fail | Y/N | |
149EXCEPTIONS NOTED:
150| Sample # | Exception Description | Root Cause | Compensating Control | Impact |
151|----------|----------------------|------------|---------------------|--------|
152| | | | | |
154CONCLUSION:
155[ ] Effective — Control operated effectively with no exceptions
156[ ] Effective with exceptions — Control operated effectively; exceptions are isolated
157[ ] Deficiency — Control did not operate effectively
158[ ] Significant Deficiency — Deficiency is more than inconsequential
159[ ] Material Weakness — Reasonable possibility of material misstatement not prevented/detected
161Tested by: ________________ Date: ________
162Reviewed by: _______________ Date: ________
163```

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 Assertion(s): [CEAVOP]
Testing Period: [Period]

TEST OBJECTIVE:
To determine whether [control description] operated effectively throughout the testing period.

TEST PROCEDURES:
1. [Step 1 — What to inspect, examine, or re-perform]
2. [Step 2 — What evidence to obtain]
3. [Step 3 — What to compare or verify]
4. [Step 4 — How to evaluate completeness of performance]
5. [Step 5 — How to assess timeliness of performance]

EXPECTED EVIDENCE:
- [Document type 1 — e.g., signed approval form]
- [Document type 2 — e.g., system screenshot showing review]
- [Document type 3 — e.g., reconciliation with preparer sign-off]

TEST RESULTS:

| Sample # | Ref | Procedure 1 | Procedure 2 | Procedure 3 | Result | Exception? | Notes |
|----------|-----|-------------|-------------|-------------|--------|------------|-------|
| 1        |     | Pass/Fail   | Pass/Fail   | Pass/Fail   | Pass/Fail | Y/N    |       |
| 2        |     | Pass/Fail   | Pass/Fail   | Pass/Fail   | Pass/Fail | Y/N    |       |

EXCEPTIONS NOTED:
| Sample # | Exception Description | Root Cause | Compensating Control | Impact |
|----------|----------------------|------------|---------------------|--------|
|          |                      |            |                     |        |

CONCLUSION:
[ ] Effective — Control operated effectively with no exceptions
[ ] Effective with exceptions — Control operated effectively; exceptions are isolated
[ ] Deficiency — Control did not operate effectively
[ ] Significant Deficiency — Deficiency is more than inconsequential
[ ] Material Weakness — Reasonable possibility of material misstatement not prevented/detected

Tested by: ________________  Date: ________
Reviewed by: _______________  Date: ________
Raw lines 111 to 164
165### 5. Provide Common Control Templates
167Based on the control area, provide pre-built test step templates:
169**Revenue Recognition:**
170- Verify sales order approval and authorization
171- Confirm delivery/performance evidence
172- Test revenue recognition timing against contract terms
173- Verify pricing accuracy to contract/price list
174- Test credit memo approval and validity
176**Procure to Pay:**
177- Verify purchase order approval and authorization limits
178- Confirm three-way match (PO, receipt, invoice)
179- Test vendor master data change controls
180- Verify payment approval and segregation of duties
181- Test duplicate payment prevention controls
183**Financial Close:**
184- Verify account reconciliation completeness and timeliness
185- Test journal entry approval and segregation of duties
186- Verify management review of financial statements
187- Test consolidation and elimination entries
188- Verify disclosure checklist completion
190**ITGC:**
191- Test user access provisioning and de-provisioning
192- Verify privileged access reviews
193- Test change management approval and testing
194- Verify batch job monitoring and exception handling
195- Test backup and recovery procedures

5. Provide Common Control Templates

Based on the control area, provide pre-built test step templates:

Revenue Recognition:

  • Verify sales order approval and authorization
  • Confirm delivery/performance evidence
  • Test revenue recognition timing against contract terms
  • Verify pricing accuracy to contract/price list
  • Test credit memo approval and validity

Procure to Pay:

  • Verify purchase order approval and authorization limits
  • Confirm three-way match (PO, receipt, invoice)
  • Test vendor master data change controls
  • Verify payment approval and segregation of duties
  • Test duplicate payment prevention controls

Financial Close:

  • Verify account reconciliation completeness and timeliness
  • Test journal entry approval and segregation of duties
  • Verify management review of financial statements
  • Test consolidation and elimination entries
  • Verify disclosure checklist completion

ITGC:

  • Test user access provisioning and de-provisioning
  • Verify privileged access reviews
  • Test change management approval and testing
  • Verify batch job monitoring and exception handling
  • Test backup and recovery procedures
Raw lines 165 to 196
197### 6. Document Control Assessment
199Classify any identified deficiencies:
201**Deficiency:** A control does not allow management or employees to prevent or detect misstatements on a timely basis. Consider:
202- Likelihood of misstatement
203- Magnitude of potential misstatement
204- Whether compensating controls exist
206**Significant Deficiency:** A deficiency (or combination) that is less severe than a material weakness but important enough to merit attention by those responsible for oversight.
208**Material Weakness:** A deficiency (or combination) such that there is a reasonable possibility that a material misstatement will not be prevented or detected on a timely basis.

6. Document Control Assessment

Classify any identified deficiencies:

Deficiency: A control does not allow management or employees to prevent or detect misstatements on a timely basis. Consider:

  • Likelihood of misstatement
  • Magnitude of potential misstatement
  • Whether compensating controls exist

Significant Deficiency: A deficiency (or combination) that is less severe than a material weakness but important enough to merit attention by those responsible for oversight.

Material Weakness: A deficiency (or combination) such that there is a reasonable possibility that a material misstatement will not be prevented or detected on a timely basis.

Raw lines 197 to 209
210### 7. Output
212Provide:
2131. Control matrix for the selected area
2142. Sample selections with methodology documentation
2153. Testing workpaper templates with pre-populated test steps
2164. Results documentation template
2175. Deficiency evaluation framework (if exceptions are identified)
2186. Suggested remediation actions for any noted deficiencies

7. Output

Provide:

  1. Control matrix for the selected area
  2. Sample selections with methodology documentation
  3. Testing workpaper templates with pre-populated test steps
  4. Results documentation template
  5. Deficiency evaluation framework (if exceptions are identified)
  6. Suggested remediation actions for any noted deficiencies
Raw lines 210 to 218

From anthropics/knowledge-work-plugins at 2574e29, 2026-10-27. Skills read by DeepSeek V4.1 Flash on 2026-11-04. Summary and techniques by Claude Opus 5.5 on 2026-11-06.