AI Act Compliance Report
Generate a compliance report for Regulation (EU) 2024/1689 (the EU AI Act). The report covers AI model inventory, risk classification, compliance checklist, and actionable recommendations.
When to use
Use this skill when the user asks to:
- Generate an AI Act compliance report
- Audit AI usage in the project
- Check AI Act compliance status
- Prepare documentation for regulators or auditors
- Classify AI systems by risk level
- Review AI literacy or transparency obligations
Step 1: Collect data
Run the data collection script:
node .claude/skills/ai-act-report/report.mjs --days 90 --output ai-act-report-data.json
This queries the OpenKBS Project API for AI usage statistics and scans the project for compliance artifacts. It outputs a JSON file with:
- AI model usage (vendor, model, request count, tokens, cost)
- Daily usage breakdown
- Available model catalog
- Compliance artifact scan results (skills, policies, disclosure components)
- List of project functions
Step 2: Analyze the project
Read the JSON output, then analyze the project code to determine:
What is AI used for? — Read the functions in functions/ and site/ to understand each AI use case. Examples: customer chatbot, content generation, data analysis, employee evaluation, recruitment screening, credit scoring.
Risk classification per Annex III — For each AI use case, determine if it falls into a high-risk category:
- Biometrics (remote identification, emotion recognition)
- Critical infrastructure (energy, transport, water management)
- Education (admission, grading, learning assessment)
- Employment (recruitment, CV screening, performance evaluation, promotion/termination decisions)
- Essential services (credit scoring, insurance pricing, social benefits)
- Law enforcement (evidence evaluation, risk assessment)
- Migration (visa assessment, border surveillance)
- Justice (legal research, sentencing tools)
If a use case does NOT fall into any Annex III category, classify it as minimal risk or limited risk (transparency only).
Compliance gap analysis — Check for each Article 21 requirement.
Step 3: Generate the report
Produce a Markdown document with this exact structure:
# AI Act Compliance Report
## Project: {project name or ID}
## Period: {start date} — {end date}
## Generated: {date}
---
### 1. AI System Inventory
| Vendor | Model | Requests | Input Tokens | Output Tokens | Cost (credits) |
|---|---|---|---|---|---|
| ... | ... | ... | ... | ... | ... |
**Total AI requests:** {N}
**Total cost:** {N} credits ({N} EUR)
**Models used:** {N} distinct models from {N} vendors
---
### 2. Risk Classification
| AI Use Case | Description | Risk Category | Annex III Reference | Justification |
|---|---|---|---|---|
| {function name} | {what it does} | Minimal / Limited / High-risk | {e.g., Annex III, pt. 4} | {why this classification} |
---
### 3. Compliance Checklist
| Requirement | Article | Status | Evidence |
|---|---|---|---|
| AI Literacy measures | Art. 4 | {status} | {what was found or missing} |
| No prohibited practices | Art. 5 | {status} | {AI Act Compliance Skill active / not found} |
| Activity logging / traceability | Art. 12 | {status} | {proxy logs available for N days} |
| Human oversight mechanisms | Art. 14, 26 | {status} | {approval workflow detected / not found} |
| Transparency / AI Disclosure | Art. 50 | {status} | {disclosure component found / not found} |
| Log retention >= 6 months | Art. 26(6) | {status} | {retention period} |
| Worker notification (if HR AI) | Art. 26(7) | {status or N/A} | {evidence} |
| AI Acceptable Use Policy | Best practice | {status} | {document found / not found} |
| AI Literacy Policy | Best practice | {status} | {document found / not found} |
Status values: Compliant / Partial / Non-compliant / N/A
---
### 4. Recommendations
Produce a prioritized checklist of actions:
- Critical: things that must be fixed before Aug 2, 2026
- Important: things that should be in place for full compliance
- Recommended: best practices that strengthen the compliance posture
---
### 5. Report Metadata
- **Tool:** ai-act-report v1.0.0
- **Data source:** OpenKBS AI Proxy usage logs
- **Classification method:** Automated data collection + AI-assisted code analysis
- **Regulation:** Regulation (EU) 2024/1689
- **Disclaimer:** This report is generated automatically and does not constitute legal advice. For binding compliance assessments, consult a qualified legal professional.
Save the report as AI-ACT-COMPLIANCE-REPORT.md in the project root (or a path the user specifies).
Step 4: Present to the user
After generating the report:
- Summarize the key findings (how many models, what risk level, what's missing)
- Highlight the most critical gaps
- Ask if they want to address any of the recommendations now
Important notes
- The report uses data from the OpenKBS AI Proxy. If the project uses AI models outside the proxy (e.g., direct API calls), those will NOT appear in the report. Mention this limitation.
- Risk classification is based on code analysis and may require human validation for edge cases.
- The cost conversion is: 100,000 credits = 1 EUR.
- The report should be regenerated periodically (recommended: quarterly) to maintain a documented compliance history.
- Do NOT generate fake or placeholder data. If data is unavailable, say so explicitly.
1---2name: ai-act-report3description: Generate an EU AI Act (Regulation 2024/1689) compliance report for the project. Collects AI usage data, scans for compliance artifacts, classifies risk per Annex III, and produces a structured Markdown report.4---56# AI Act Compliance Report78Generate a compliance report for Regulation (EU) 2024/1689 (the EU AI Act). The report covers AI model inventory, risk classification, compliance checklist, and actionable recommendations.910## When to use1112Use this skill when the user asks to:13- Generate an AI Act compliance report14- Audit AI usage in the project15- Check AI Act compliance status16- Prepare documentation for regulators or auditors17- Classify AI systems by risk level18- Review AI literacy or transparency obligations1920## Step 1: Collect data2122Run the data collection script:2324```bash25node .claude/skills/ai-act-report/report.mjs --days 90 --output ai-act-report-data.json26```2728This queries the OpenKBS Project API for AI usage statistics and scans the project for compliance artifacts. It outputs a JSON file with:29- AI model usage (vendor, model, request count, tokens, cost)30- Daily usage breakdown31- Available model catalog32- Compliance artifact scan results (skills, policies, disclosure components)33- List of project functions3435## Step 2: Analyze the project3637Read the JSON output, then analyze the project code to determine:38391. **What is AI used for?** — Read the functions in `functions/` and `site/` to understand each AI use case. Examples: customer chatbot, content generation, data analysis, employee evaluation, recruitment screening, credit scoring.40412. **Risk classification per Annex III** — For each AI use case, determine if it falls into a high-risk category:42 - Biometrics (remote identification, emotion recognition)43 - Critical infrastructure (energy, transport, water management)44 - Education (admission, grading, learning assessment)45 - **Employment** (recruitment, CV screening, performance evaluation, promotion/termination decisions)46 - Essential services (credit scoring, insurance pricing, social benefits)47 - Law enforcement (evidence evaluation, risk assessment)48 - Migration (visa assessment, border surveillance)49 - Justice (legal research, sentencing tools)5051 If a use case does NOT fall into any Annex III category, classify it as **minimal risk** or **limited risk** (transparency only).52533. **Compliance gap analysis** — Check for each Article 21 requirement.5455## Step 3: Generate the report5657Produce a Markdown document with this exact structure:5859```markdown60# AI Act Compliance Report61## Project: {project name or ID}62## Period: {start date} — {end date}63## Generated: {date}6465---6667### 1. AI System Inventory6869| Vendor | Model | Requests | Input Tokens | Output Tokens | Cost (credits) |70|---|---|---|---|---|---|71| ... | ... | ... | ... | ... | ... |7273**Total AI requests:** {N}74**Total cost:** {N} credits ({N} EUR)75**Models used:** {N} distinct models from {N} vendors7677---7879### 2. Risk Classification8081| AI Use Case | Description | Risk Category | Annex III Reference | Justification |82|---|---|---|---|---|83| {function name} | {what it does} | Minimal / Limited / High-risk | {e.g., Annex III, pt. 4} | {why this classification} |8485---8687### 3. Compliance Checklist8889| Requirement | Article | Status | Evidence |90|---|---|---|---|91| AI Literacy measures | Art. 4 | {status} | {what was found or missing} |92| No prohibited practices | Art. 5 | {status} | {AI Act Compliance Skill active / not found} |93| Activity logging / traceability | Art. 12 | {status} | {proxy logs available for N days} |94| Human oversight mechanisms | Art. 14, 26 | {status} | {approval workflow detected / not found} |95| Transparency / AI Disclosure | Art. 50 | {status} | {disclosure component found / not found} |96| Log retention >= 6 months | Art. 26(6) | {status} | {retention period} |97| Worker notification (if HR AI) | Art. 26(7) | {status or N/A} | {evidence} |98| AI Acceptable Use Policy | Best practice | {status} | {document found / not found} |99| AI Literacy Policy | Best practice | {status} | {document found / not found} |100101Status values: Compliant / Partial / Non-compliant / N/A102103---104105### 4. Recommendations106107Produce a prioritized checklist of actions:108- Critical: things that must be fixed before Aug 2, 2026109- Important: things that should be in place for full compliance110- Recommended: best practices that strengthen the compliance posture111112---113114### 5. Report Metadata115116- **Tool:** ai-act-report v1.0.0117- **Data source:** OpenKBS AI Proxy usage logs118- **Classification method:** Automated data collection + AI-assisted code analysis119- **Regulation:** Regulation (EU) 2024/1689120- **Disclaimer:** This report is generated automatically and does not constitute legal advice. For binding compliance assessments, consult a qualified legal professional.121```122123Save the report as `AI-ACT-COMPLIANCE-REPORT.md` in the project root (or a path the user specifies).124125## Step 4: Present to the user126127After generating the report:1281. Summarize the key findings (how many models, what risk level, what's missing)1292. Highlight the most critical gaps1303. Ask if they want to address any of the recommendations now131132## Important notes133134- The report uses data from the OpenKBS AI Proxy. If the project uses AI models outside the proxy (e.g., direct API calls), those will NOT appear in the report. Mention this limitation.135- Risk classification is based on code analysis and may require human validation for edge cases.136- The cost conversion is: 100,000 credits = 1 EUR.137- The report should be regenerated periodically (recommended: quarterly) to maintain a documented compliance history.138- Do NOT generate fake or placeholder data. If data is unavailable, say so explicitly.