agentleFS
d-o-hubd-o-hub/github-template-ai-agents/.agents/skills/eu-ai-act-compliance/SKILL.md

eu-ai-act-compliance

Skill2 starsChanged 13 days agoMITView on GitHub

EU AI Act compliance logging and requirements. Use this skill when ensuring transparency, human oversight, and record-keeping per Regulation (EU) 2024/1689 — even if they just say "add compliance logging" or "make sure this is EU AI Act compliant". Not for security-code-auditor, privacy-first.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

EU AI Act Compliance

When to Use

  • User asks to ensure EU AI Act compliance for logging or transparency
  • Need to implement human oversight or record-keeping per Regulation (EU) 2024/1689
  • Even if they just say "add compliance logging" or "make sure this is EU AI Act compliant"

Quick Start

import { AIActLogger } from "./eu-ai-act-compliance";

const logger = new AIActLogger({
  systemId: "<PROJECT_ID>",
  providerName: "<ORG_NAME>",
  riskClassification: "limited_risk",
});

await logger.logOperation({
  operation: "ai_inference",
  inputData: { source: "user_request", hash: "sha256:abc123..." },
  outputData: { result: "example_result", confidence: 0.85 },
  humanOversight: { reviewerId: "user_123", decision: "approved", timestamp: new Date().toISOString() },
});

Core Concepts

ConceptArticleDescription
Automatic LoggingArt. 12Record events over system lifetime
TransparencyArt. 50Disclose AI interaction to users
Human OversightArt. 14Enable human intervention
Data GovernanceArt. 10Document training/validation data
RetentionArt. 19Keep logs minimum 6 months

Risk Classification

Limited Risk (Article 50)

Systems interacting with natural persons must:

  • Disclose AI interaction at first contact (Art. 50.1).
  • Mark synthetic content as AI-generated (Art. 50.2).

High Risk (Chapter III, Articles 8-17)

Systems in Annex III (recruitment, credit scoring, etc.) require:

  • Risk management (Art. 9) & Data governance (Art. 10).
  • Technical documentation (Art. 11) & Automatic logging (Art. 12).
  • Human oversight design (Art. 14) & CE marking (Art. 48).

Logging Requirements (Article 12)

interface AIActLogEntry {
  timestamp: string; // ISO 8601
  systemId: string;
  operation: string;
  inputData: { source: string; hash: string; description: string };
  outputData: { result: string; confidence?: number; explanation?: string };
  humanOversight?: { reviewerId: string; decision: "approved" | "rejected" | "modified"; timestamp: string };
  retentionUntil: string; // Min 6 months
}

Compliance Checklist

  • AI interaction disclosure implemented (Art. 50.1).
  • Synthetic content marking enabled (Art. 50.2).
  • Provider contact information published.
  • High-risk: Risk management & Data governance documented.
  • High-risk: Automatic logging & 6-month retention configured.

References

  • references/eu-ai-act-articles.md - Key article analysis

See Also

  • security-code-auditor — General security audits
  • privacy-first — Email/personal data prevention

Rationalizations

RationalizationReality
"Small change, no logging."AI interactions fall under transparency (Art. 50).
"Oversight later."Oversight-by-design is mandatory for high-risk (Art. 14).

Red Flags

  • Deploying without interaction disclosure.
  • High-risk systems without automated record-keeping.

Voice & Context

  • Default: professional + blog
  • Reference: voice-profiles skill for definitions and auto-detection.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.