Payroll Compliance Auditor

Run a full payroll audit in under 10 minutes. Catches the errors that cost companies $845 per violation.

3,891 stars
Complexity: easy

About this skill

The Payroll Compliance Auditor skill enables AI agents to perform rapid and thorough payroll audits. It leverages the IRS 20-factor test for worker classification, cross-references FLSA rules for overtime calculations, and reviews federal, state, and local tax withholding accuracy. This skill is designed to catch critical errors that can lead to significant financial penalties and legal exposure. Users can initiate a full payroll audit, or specific checks for worker classification, overtime, or tax withholding. The skill identifies misclassification risks, estimates potential dollar-amount exposures, and generates essential compliance checklists. It also produces audit-ready reports, making it an invaluable tool for businesses facing or preparing for regulatory reviews by the Department of Labor (DOL) or state agencies. This skill helps organizations proactively manage payroll compliance, reduce the risk of fines (e.g., $845 per violation), and ensure fair and legal compensation practices. It streamlines a complex, time-consuming process into an efficient, AI-driven assessment.

Best use case

This skill is primarily used by businesses, HR departments, and finance teams to proactively ensure their payroll practices comply with federal and state regulations. It helps avoid costly penalties associated with worker misclassification, overtime violations, and incorrect tax withholdings, making it ideal for companies of all sizes seeking to mitigate compliance risks.

Run a full payroll audit in under 10 minutes. Catches the errors that cost companies $845 per violation.

A comprehensive report detailing compliance status, identified risks with estimated financial exposure, and actionable recommendations for ensuring legal payroll practices.

Practical example

Example input

Run a payroll compliance audit for Acme Corp. We have 75 employees across California, New York, and Texas. Pay frequency is biweekly.

Example output

Payroll Audit Summary for Acme Corp:
- Worker Classification: Medium risk identified (2 potential 1099 misclassifications, estimated exposure: $12,500).
- Overtime Compliance: Minor discrepancies found for CA employees.
- Tax Withholding: Compliant across all states.
- Audit-ready report and quarterly checklist generated for review.

When to use this skill

  • Before a scheduled Department of Labor (DOL) or state agency audit.
  • Quarterly or annually as part of routine internal compliance checks.
  • When onboarding a significant number of new employees or contractors.
  • When expanding business operations into new states or regions.

When not to use this skill

  • As a replacement for certified legal or accounting advice from human experts.
  • For real-time payroll processing or daily transaction management.
  • Without providing sufficient company-specific data for analysis.
  • When facing highly complex or unique legal situations requiring bespoke counsel.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/afrexai-payroll-audit/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/1kalin/afrexai-payroll-audit/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/afrexai-payroll-audit/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Payroll Compliance Auditor Compares

Feature / AgentPayroll Compliance AuditorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

Run a full payroll audit in under 10 minutes. Catches the errors that cost companies $845 per violation.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Payroll Compliance Auditor

Run a full payroll audit in under 10 minutes. Catches the errors that cost companies $845 per violation.

## What It Does
- Classifies workers (W-2 vs 1099) using the IRS 20-factor test
- Audits overtime calculations against FLSA rules
- Checks tax withholding accuracy (federal, state, local)
- Flags misclassification risk with dollar-amount exposure estimates
- Generates quarterly compliance checklists
- Produces audit-ready reports for DOL or state agency reviews

## How to Use

Tell your agent:

**Full payroll audit:**
"Run a payroll compliance audit for [company]. We have [X] employees across [states]. Pay frequency is [weekly/biweekly/monthly]."

**Worker classification check:**
"Check if these roles should be W-2 or 1099: [list roles with descriptions]."

**Overtime audit:**
"Audit overtime compliance. Our employees work [schedule]. We're in [state]. Current OT policy: [describe]."

**Tax withholding review:**
"Review tax withholding setup for employees in [states]. We use [payroll provider]."

## Audit Framework

### 1. Worker Classification (IRS 20-Factor Test)
Score each worker across three categories:
- **Behavioral Control** (6 factors): Instructions, training, integration, personal services, hiring assistants, work hours
- **Financial Control** (5 factors): Business expenses, investment, profit/loss opportunity, market availability, method of payment
- **Relationship Type** (4 factors): Written contracts, benefits, permanency, key services

**Risk levels:**
- 0-4 factors toward employee → Low risk (likely contractor)
- 5-9 factors → Medium risk (review needed)
- 10+ factors → High risk (likely misclassified)

**Penalty exposure per misclassified worker:**
- Back employment taxes: 15.3% of wages
- FLSA overtime liability: up to 3 years back pay
- Benefits liability: retirement, health, PTO
- IRS penalties: $50-$260 per W-2 failure
- State penalties vary: $5K-$25K per violation (CA, NY, MA highest)

### 2. Overtime Compliance (FLSA + State)
Check against federal AND state rules (state wins when more generous):

| Rule | Federal (FLSA) | California | New York | Washington |
|------|---------------|------------|----------|------------|
| OT threshold | 40 hrs/week | 8 hrs/day OR 40/week | 40 hrs/week | 40 hrs/week |
| OT rate | 1.5x | 1.5x (2x after 12 hrs/day) | 1.5x | 1.5x |
| Salary exemption | $58,656/yr (2026) | $66,560/yr | $62,400/yr (NYC) | $67,724.80/yr |
| 7th day rule | None | 1.5x first 8 hrs, 2x after | None | None |

**Common violations:**
- Averaging hours across two weeks (illegal under FLSA)
- Not paying OT on bonuses/commissions
- Misclassifying non-exempt as exempt
- Rounding errors exceeding 7-minute threshold
- Auto-deducting meal breaks not actually taken

### 3. Tax Withholding Accuracy
Verify against current tables:

**Federal:**
- 2026 FICA: 6.2% SS (wage base $174,900) + 1.45% Medicare
- Additional Medicare: 0.9% above $200K single / $250K married
- FUTA: 6.0% first $7,000 (5.4% credit = 0.6% effective)

**State cross-checks:**
- SUI rates (experience-rated — verify annual notice)
- SDI/PFL (CA, NJ, NY, WA, MA, CT, OR, CO, MD)
- Local taxes (NYC, Philadelphia, San Francisco, etc.)
- Reciprocity agreements (employees in different state than work)

### 4. Quarterly Compliance Checklist

**Monthly:**
- [ ] Reconcile payroll register to GL
- [ ] Verify new hire reporting (within 20 days)
- [ ] Check garnishment calculations
- [ ] Review PTO accrual accuracy

**Quarterly:**
- [ ] File Form 941 (federal) by last day of following month
- [ ] File state unemployment reports
- [ ] Reconcile YTD withholdings to pay stubs
- [ ] Review contractor payments approaching $600 threshold
- [ ] Audit benefit deductions against enrollment

**Annual:**
- [ ] W-2 distribution by January 31
- [ ] 1099-NEC filing by January 31
- [ ] ACA reporting (1095-C) by March 2
- [ ] Update salary exemption thresholds
- [ ] Review state minimum wage changes
- [ ] Workers' comp audit preparation

### 5. Audit Report Format

```
PAYROLL COMPLIANCE AUDIT REPORT
Company: [Name]
Period: [Q1/Q2/Q3/Q4 YYYY]
Employees: [Count]
States: [List]
Audit Date: [Date]

EXECUTIVE SUMMARY
Overall Risk Score: [Low/Medium/High/Critical]
Issues Found: [Count]
Estimated Exposure: $[Amount]

FINDINGS
[F-001] [Category] - [Severity]
Description: [What's wrong]
Exposure: $[Amount]
Remediation: [Fix]
Deadline: [Date]

RECOMMENDATIONS
1. [Priority action]
2. [Secondary action]
3. [Long-term improvement]
```

## Cost of Getting It Wrong

| Violation | Average Penalty |
|-----------|----------------|
| Misclassification (per worker) | $12,000-$25,000 |
| FLSA overtime (per employee) | $1,000-$10,000 + back pay |
| Late W-2/1099 filing | $50-$580 per form |
| Failure to deposit taxes | 2%-15% of deposit |
| Willful failure | $100K+ fine + criminal |

The DOL recovered $274M in back wages in 2024. Average investigation finds $1,150 per employee owed.

## Who This Is For
- HR teams without dedicated payroll compliance staff
- Growing companies expanding to new states
- Businesses using contractors heavily (tech, construction, healthcare)
- Anyone who just got a DOL audit letter

---

*Built by [AfrexAI](https://afrexai-cto.github.io/context-packs/) — AI context packs for business operations. Full compliance automation: [$47 Professional Services Pack](https://afrexai-cto.github.io/context-packs/).*

*Calculate what payroll errors are costing you: [AI Revenue Calculator](https://afrexai-cto.github.io/ai-revenue-calculator/)*

*Set up your own compliance agent in 5 minutes: [Agent Setup Wizard](https://afrexai-cto.github.io/agent-setup/)*

Related Skills

Pharmacy Compliance Agent

3891
from openclaw/skills

You are a pharmacy regulatory compliance specialist. Help pharmacists, pharmacy managers, and compliance officers navigate DEA, Board of Pharmacy, USP, DSCSA, and PBM requirements.

HIPAA Compliance for AI Agents

3891
from openclaw/skills

Generate HIPAA compliance checklists, risk assessments, and audit frameworks for healthcare organizations deploying AI agents.

Security

Funeral Home Operations & Compliance

3891
from openclaw/skills

You are a funeral home operations and compliance agent. Help funeral directors, mortuary owners, and deathcare professionals with FTC Funeral Rule compliance, state licensing, preneed trust management, cremation regulations, pricing strategy, and operational KPIs.

Business Operations

Food Safety & HACCP Compliance Agent

3891
from openclaw/skills

You are a food safety compliance specialist. Help businesses build, audit, and maintain HACCP plans and FDA/USDA food safety programs.

Food Safety & Compliance

Export Compliance & Trade Controls

3891
from openclaw/skills

Analyze products, destinations, and end-users against US export control regulations (EAR, ITAR, OFAC sanctions). Generate classification recommendations, license requirements, and compliance checklists.

Regulatory Compliance

Environmental Compliance Manager

3891
from openclaw/skills

Assess, track, and maintain environmental regulatory compliance across EPA, state agencies, and industry-specific requirements. Built for manufacturing, construction, energy, logistics, and any business with environmental obligations.

Regulatory Compliance

Davis-Bacon & Prevailing Wage Compliance

3891
from openclaw/skills

Federal construction compliance agent. Covers Davis-Bacon Act, Related Acts, state prevailing wage laws, and DOL Wage Determinations.

Compliance & Legal

Compliance & Audit Readiness Engine

3891
from openclaw/skills

Your AI compliance officer. Guides startups and scale-ups through SOC 2, ISO 27001, GDPR, HIPAA, and PCI DSS — from zero to audit-ready. No consultants needed.

Security

Compliance Audit Generator

3891
from openclaw/skills

Run internal compliance audits against major frameworks without hiring a consultant.

Security

Childcare & Daycare Compliance Agent

3891
from openclaw/skills

Licensing, safety, staffing, and operational compliance for childcare centers, family daycare homes, and early learning programs in the US.

Ad Compliance Examples

3891
from openclaw/skills

## Example 1: General Product Ad

Agent Security Auditor

3891
from openclaw/skills

Scans ERC-8004 agents for security vulnerabilities and generates comprehensive security reports.