AI-assisted financial audit workflows using Claude Skills
SaferSkills independently audited SkillsforAudit (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A comprehensive learning path for applying Anthropic's Claude Skills to financial audit workflows, designed for accounting professors, audit regulators, and practitioners.
🎓 Educational Purpose: This repository provides teaching materials and proof-of-concept demonstrations. It is not intended to replace professional judgment in actual audit engagements.
Build progressive understanding of Claude Skills by creating an end-to-end audit assistant that:
graph TD
A[Inline XBRL Financial Statement] --> B[Phase 3: Parse & Validate]
C[Audit Checklist JSON] --> D[Phase 2: Structure & Validate]
B --> E[Phase 4: Cross-Reference Engine]
D --> E
E --> F[Coverage Analysis]
F --> G[Phase 1: Generate Reports]
G --> H[Excel Workpapers]
G --> I[PowerPoint Presentations]
G --> J[PDF Audit Reports]
style A fill:#e1f5ff
style C fill:#e1f5ff
style E fill:#fff4e1
style G fill:#e8f5e9skills/
├── phase1_foundations/ # Basic Skills API usage
│ ├── 01_basic_pptx.py # PowerPoint generation
│ ├── 02_basic_xlsx.py # Excel workpaper templates
│ └── 03_code_execution_pattern.py # Code + Skills integration
│
├── phase2_structured_data/ # JSON/XML audit data models
│ ├── 04_audit_checklist_model.py # Define data structures
│ ├── 05_json_validation.py # Validate audit data
│ └── 06_checklist_to_excel.py # Generate workpapers from data
│
├── phase3_xbrl/ # XBRL parsing and validation
│ ├── 07_parse_ixbrl.py # Extract XBRL data
│ ├── 08_validate_ixbrl.py # Validation rules
│ └── 09_ixbrl_analytics.py # Analytical procedures
│
├── phase4_cross_reference/ # Link procedures to data
│ ├── 10_cross_reference_engine.py # Core linking logic
│ ├── 11_coverage_analysis.py # Audit gap identification
│ └── 12_traceability_report.py # Audit trail documentation
│
├── phase5_prototype/ # Integrated demonstration
│ └── prototype_audit_assistant.py # Complete workflow
│
├── sample_data/ # Example audit files
│ ├── sample_ixbrl/ # Inline XBRL filings
│ ├── audit_checklists/ # JSON audit programs
│ └── evidence/ # Sample audit evidence
│
└── AUDIT_SKILLS_ROADMAP.md # Detailed learning plan# Install required packages
pip install anthropic
# Set up your API key
export ANTHROPIC_API_KEY='your-key-here' # Linux/Mac
# or
set ANTHROPIC_API_KEY=your-key-here # Windowscd phase1_foundations
# Generate an audit presentation
python 01_basic_pptx.py
# Create an Excel bank reconciliation workpaper
python 02_basic_xlsx.py
# Use code execution with Skills for sampling calculations
python 03_code_execution_pattern.pycd phase2_structured_data
# Create sample audit checklist (JSON)
python 04_audit_checklist_model.py
# Validate the checklist structure
python 05_json_validation.py
# Generate Excel workpaper from checklist
python 06_checklist_to_excel.pyXBRL integration, cross-referencing, and complete prototype demonstrations.
Structured JSON representing:
Example structure:
{
"audit_engagement": {
"client": "Example Corp",
"period_end": "2024-12-31",
"sections": [
{
"section_id": "AS.2201",
"name": "Revenue Recognition",
"risk_level": "high",
"procedures": [
{
"procedure_id": "REV-001",
"description": "Test sales cutoff",
"status": "completed",
"xbrl_refs": ["us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax"],
"evidence_refs": ["WP-A1"],
"sign_off": {
"auditor": "Emily Rodriguez, CPA",
"date": "2025-02-15"
}
}
]
}
]
}
}All examples follow this pattern:
import anthropic
client = anthropic.Anthropic()
response = client.beta.messages.create(
model="claude-haiku-4-5-20251001",
max_tokens=4096,
betas=["code-execution-2025-08-25", "skills-2025-10-02", "files-api-2025-04-14"],
container={
"skills": [
{
"type": "anthropic",
"skill_id": "xlsx", # or "pptx", "pdf"
"version": "latest"
}
]
},
tools=[
{
"type": "code_execution_20250825",
"name": "code_execution"
}
],
messages=[{"role": "user", "content": "Your prompt here"}]
)
# Extract file_id and download
for block in response.content:
if hasattr(block, 'file_id') and block.file_id:
file_content = client.beta.files.retrieve_content(block.file_id)
with open('output.xlsx', 'wb') as f:
f.write(file_content)Focus areas:
See regulatory_documentation.md (forthcoming) for detailed compliance mapping.
| Phase | Status | Description |
|---|---|---|
| Phase 1 | ✅ Complete | Basic Skills API (PPTX, XLSX generation) |
| Phase 2 | ✅ Complete | Structured audit data (JSON checklists) |
| Phase 3 | ✅ Core Complete | XBRL parsing and validation |
| Phase 4 | ⏳ Planned | Cross-reference engine (procedures ↔ XBRL) |
| Phase 5 | ⏳ Planned | Integrated prototype demonstration |
We welcome contributions from educators, practitioners, and developers! See CONTRIBUTING.md for guidelines.
Ways to contribute:
This project is licensed under the MIT License - see the LICENSE file for details.
Educational Disclaimer: This software is for educational and research purposes only. Not intended to replace professional judgment in audit engagements. Users must comply with applicable professional standards.
Built with Claude by GenAICPA for the advancement of audit education and practice.
If you use this project in academic work, please cite:
@software{skills_for_audit_2025,
author = {GenAICPA},
title = {Skills for Audit: AI-Assisted Financial Audit Workflows},
year = {2025},
url = {https://github.com/GenAICPA/SkillsforAudit},
note = {Educational toolkit for Claude Skills in audit applications}
}⚠️ Important: Never commit real client data or API keys. See CONTRIBUTING.md for data privacy guidelines.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.