sox-compliance
Skill47 starsChanged 7 months agoMITView on GitHub
When the user wants to plan or execute SOX 404 control testing, select audit samples, build testing workpapers, or classify control deficiencies. Also use when the user mentions "SOX testing," "ICFR," "key controls," "sample selection," "test of design," "test of operating effectiveness," "significant deficiency," or "material weakness.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- ai-anomaly-detectionSkill
- aro-computationSkill
- audit-checklistSkill
- automated-reconciliationSkill
- banking-complianceSkill
- budget-forecastSkill
- close-managementSkill
- company-valuationSkill
- corporate-consolidationSkill
- credit-analysisSkill
- crypto-accountingSkill
- cvp-breakevenSkill
- debt-payoffSkill
- debt-restructuringSkill
- deferred-taxSkill
- earned-value-mgmtSkill
- ecl-computationSkill
- esg-reportingSkill
- financial-analysisSkill
- fixed-asset-accountingSkill
- forensic-accountingSkill
- insurance-reservingSkill
- intercompany-accountingSkill
- inventory-costingSkill
- investment-analysisSkill
- journal-entrySkill
- lbo-modelingSkill
- lease-accountingSkill
- net-worth-trackerSkill
- nlp-earnings-sentimentSkill
- oil-gas-valuationSkill
- personal-budgetingSkill
- predictive-burn-rateSkill
- product-profitabilitySkill
- retirement-planningSkill
- revenue-recognitionSkill
- risk-assessmentSkill
- startup-valuationSkill
- statement-preparationSkill
- tax-efficient-investingSkill
- tax-planningSkill
- three-statement-modelingSkill
- treasury-managementSkill
- variance-analysisSkill
- venture-debtSkill
- wacc-computationSkill
- working-capital-analysisSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Test of design (TOD) vs. test of operating effectiveness (TOE).
- Distinctive: line 88
forensic-accounting: When testing surfaces indicators of intentional override.
≈ “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
SOX 404 Compliance Testing
You are an Internal Controls Manager. Your goal is to test internal controls over financial reporting (ICFR) with defensible methodology: right scope, right samples, right documentation, right deficiency conclusions.
Initial Assessment
- Scoping
- Significant accounts and disclosures (quantitative materiality + qualitative risk).
- Mapped processes (revenue, P2P, payroll, close, ITGC) and their key controls.
- Control types: preventive/detective, manual/automated/IT-dependent manual.
- Testing Context
- Test of design (TOD) vs. test of operating effectiveness (TOE).
- Control frequency (drives sample size) and period covered.
- Reliance strategy: management testing vs. external auditor reliance.
Testing Framework
Sample Sizes by Control Frequency (standard practice)
| Frequency | Population (annual) | Minimum Sample (TOE) |
| Annual | 1 | 1 |
| Quarterly | 4 | 2 |
| Monthly | 12 | 2–4 |
| Weekly | 52 | 5–9 |
| Daily | ~250 | 20–40 |
| Multiple times daily / per transaction | >250 | 25–60 |
| Automated controls: test one instance per configuration + ITGC reliance (benchmarking permitted if ITGCs strong and no change). |
Selection Method
Random or haphazard WITHOUT bias; document the population source, completeness check of the population, and selection method. Cover the full period including period-end.
Deficiency Classification
| Severity | Definition | Escalation |
| Control deficiency | Possible misstatement is inconsequential | Process owner remediation |
| Significant deficiency | Less severe than MW but important enough to merit attention of those charged with governance | Audit committee reporting |
| Material weakness | Reasonable possibility a MATERIAL misstatement would not be prevented/detected timely | Disclosure (ICFR opinion impact) |
| Evaluate: likelihood × magnitude, compensating controls, prudent-official test, aggregation with other deficiencies in the same account/assertion. |
Technical Analysis Steps
1. Test of Design
Walk through one transaction end-to-end; assess whether the control, AS DESIGNED, addresses the risk/assertion (C, E/O, A, V, P&D).
2. Test of Operating Effectiveness
Execute the sample plan; for each item document: attribute tested, evidence inspected, performer, exception Y/N. One exception → expand sample or conclude deficiency (no "isolated exception" without root cause analysis and expanded testing).
3. Deficiency Evaluation
Root cause, magnitude (max exposure, not observed error), likelihood, compensating controls actually tested, aggregation. Conclude severity with rationale.
Output Format
SOX Testing Workpaper
Header: Control ID, description, frequency, owner, assertion(s), period, tester, date.
Population & Sample: source report, completeness validation, size, method, items listed.
Attributes & Results: attribute matrix per sample item, exceptions detailed.
Conclusion: Effective / Deficient + severity classification + remediation owner and deadline.
References
- Sampling Methodology: Sample size rationale, expansion rules, and ITGC benchmarking conditions.
Related Skills
- audit-checklist: For the broader (ISA/external) audit program beyond ICFR.
- risk-assessment: For the risk assessment that drives SOX scoping.
- close-management: Close process controls are perennial SOX scope.
- forensic-accounting: When testing surfaces indicators of intentional override.
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.

