Audit readiness

From okou-ai/okou-skills · View interactive version

Audit readiness is an AI agent skill from the GitHub repository okou-ai/okou-skills. Prepare audit workpapers, control tests, samples, evidence, deficiencies, and remediation tracking.

How to use this skill

Skill file

SOX 404 Testing Lifecycle

End-to-End Phases

  1. Scoping: Determine which accounts and processes carry enough risk to warrant control coverage
  2. Risk evaluation: Assess the probability and magnitude of potential misstatement for each in-scope account
  3. Control mapping: Document the specific controls that mitigate each identified risk
  4. Effectiveness testing: Evaluate whether controls are properly engineered (design) and consistently executed (operation)
  5. Deficiency assessment: Judge the severity of any control gaps uncovered during testing
  6. Management reporting: Formalize the overall ICFR assessment and disclose any material weaknesses

Determining Which Accounts Are In Scope

An account enters scope when it carries a non-remote probability of containing a misstatement that is material on its own or in combination with others.

Size-based indicators:

Risk-based indicators:

Financial Statement Assertions by Account Category

| Account Category | Primary Assertions to Address |

|---|---|

| Revenue | Occurrence, Completeness, Measurement, Period allocation |

| Trade receivables | Existence, Valuation (reserve adequacy), Ownership rights |

| Inventory | Existence, Valuation, Completeness |

| Property & equipment | Existence, Valuation, Completeness, Ownership rights |

| Trade payables | Completeness, Measurement, Existence |

| Accrued obligations | Completeness, Valuation, Measurement |

| Shareholders' equity | Completeness, Measurement, Presentation |

| Close & reporting process | Presentation, Measurement, Completeness |

Design vs. Operating Effectiveness

Design effectiveness asks: Is the control architected to intercept or surface a material misstatement in the targeted assertion?

Operating effectiveness asks: Has the control actually functioned as intended across the entire period under review?

Sampling Methodologies

Statistical Random Sampling

Applicability: Standard approach for high-volume, transaction-level controls.

Steps:

  1. Define the universe: every transaction subject to the control during the test period
  2. Assign a sequential identifier to each population item
  3. Apply a random-number generator to draw the sample
  4. Confirm every item had an equal selection probability (no systematic exclusion)

Strengths: Statistically defensible, free of selection bias

Limitations: May not capture high-risk outliers; requires a complete population listing

Risk-Directed (Judgmental) Sampling

Applicability: Complements random sampling by targeting items with elevated risk characteristics; serves as the primary method for small or heterogeneous populations.

Targeting criteria:

Strengths: Focuses testing effort on highest-risk items

Limitations: Not statistically representative; must document the selection rationale

Unstructured (Haphazard) Sampling

Applicability: Situations where a numbered population is unavailable and items are relatively uniform.

Steps:

  1. Select items without a deliberate pattern
  2. Distribute selections across the entire test period
  3. Guard against unconscious tendencies (gravitating toward top-of-list, round figures, etc.)

Strengths: Simple, requires no tooling

Limitations: Not statistically valid; vulnerable to unintentional bias

Interval-Based (Systematic) Sampling

Applicability: Sequential populations where uniform period coverage is desired.

Steps:

  1. Compute the selection interval: total population count divided by target sample size
  2. Pick a random starting point within the first interval
  3. Select every Nth item from that starting point forward

Illustration: 1,000-item population, 25-item sample -> interval of 40. Random start at item 12. Selections: 12, 52, 92, 132 ...

Strengths: Guarantees even distribution across the population

Limitations: Periodic patterns in the data could skew results

Sample Size Reference Table

| Control Cadence | Approximate Population | Lower-Risk Sample | Moderate-Risk Sample | Higher-Risk Sample |

|---|---|---|---|---|

| Annual | 1 | 1 | 1 | 1 |

| Quarterly | 4 | 2 | 2 | 3 |

| Monthly | 12 | 2 | 3 | 4 |

| Weekly | ~52 | 5 | 8 | 15 |

| Daily | ~250 | 20 | 30 | 40 |

| Per-transaction (under 250) | < 250 | 20 | 30 | 40 |

| Per-transaction (250+) | 250+ | 25 | 40 | 60 |

Conditions that warrant larger samples:

Workpaper & Evidence Standards

Required Workpaper Sections

  1. Control profile:
  1. Test blueprint:
  1. Execution record:
  1. Overall conclusion:
  1. Accountability:

What Constitutes Adequate Evidence

Acceptable:

Not sufficient on its own:

File Organization Convention

ICFR Testing/
  [Fiscal Year]/
    Scoping & Risk Assessment/
    Revenue Process/
      Control Matrix
      Walkthrough Narrative
      Individual Test Workpapers
      Evidence Attachments
    Purchase-to-Pay Process/
    Payroll Process/
    Financial Close Process/
    Treasury Process/
    Capital Assets Process/
    IT General Controls/
    Organization-Level Controls/
    Aggregation & Conclusions/
      Deficiency Evaluation Workpaper
      Management ICFR Assessment

Deficiency Severity Framework

Simple Deficiency

A gap exists when a control's design or execution does not enable personnel to prevent or detect misstatements in the ordinary course of their responsibilities.

Evaluation dimensions:

Significant Deficiency

A deficiency (or cluster of deficiencies) that falls short of material-weakness severity but is consequential enough to require governance-body attention.

Hallmarks:

Material Weakness

A deficiency (or cluster of deficiencies) creating a reasonable possibility that a material financial-statement misstatement will escape prevention or detection.

Strong indicators:

Aggregation Analysis

Individually minor gaps may be severe in combination:

  1. Collect all deficiencies affecting the same process or assertion
  2. Evaluate whether their combined effect could permit a material misstatement
  3. Consider whether a weakness in a compensating control amplifies other gaps
  4. Document the aggregation logic and the resulting severity classification

Remediation Protocol

For every identified gap:

  1. Root-cause diagnosis: Determine why the control failed (design flaw, execution lapse, resource constraint, training gap, system limitation)
  2. Corrective action plan: Define specific steps to restore effectiveness (redesign, additional staffing, enhanced training, system configuration change, added review layer)
  3. Target completion date: Set a realistic but firm deadline
  4. Accountable owner: Assign a named individual responsible for execution
  5. Validation procedure: Specify how and when the remediated control will be re-tested to confirm it is operating effectively

Control Taxonomy

IT General Controls (ITGCs)

Infrastructure-level controls ensuring that application controls and automated processes function reliably.

Logical access governance:

Change governance:

Operational continuity:

Manual (Human-Performed) Controls

Controls relying on individual judgment, typically involving review, approval, or verification activities.

Representative controls:

Attributes to verify during testing:

Automated (System-Enforced) Controls

Controls embedded in application logic that execute without human intervention.

Representative controls:

Testing approach:

IT-Dependent Manual Controls

Manual review or approval activities that depend on the completeness and accuracy of system-produced data.

Representative controls:

Testing approach:

Organization-Level Controls

Broad governance mechanisms that set the tone and operating environment for the entire control framework.

Representative controls:

Significance in evaluation:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.