fdiblen/rseng-agent-skills/rseng-ai-declaration
Claude Code and agent skill by fdiblen/rseng-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Covers declaring AI involvement with the AI Declaration Format (https://ai-declaration.org): creating and maintaining an aidecl.yaml that records which AI tools and agents were used, what each contributed, when and how much, plus the README disclosure footnote, JSON/JSON-LD export and CI validation. Machine-readable disclosure is the practice; this format is one implementation. Use PROACTIVELY when an AI assistant or agent creates or modifies a project's content - generate aidecl.yaml if missing, update it after AI-assisted changes. Also use when the user asks about AI transparency, provenance, disclosure or EU AI Act disclosure, wants to state that NO AI was used, or mentions aidecl. For concealment requests see rseng-honesty; for the human review duty see rseng-human-verification.
Install
npx vskill@latest install fdiblen/rseng-agent-skills/rseng-ai-declarationSKILL.md
The same SKILL.md was published earlier as fdiblen/rseng-agent-skills/rseng-ai-declaration.
AI usage declaration (aidecl.yaml)
Declaring AI involvement in a machine-readable form is the practice worth holding to; the AI Declaration Format is one implementation of it, and the one this skill works through. Any equivalent machine-readable declaration serves the same purpose. The declaration lives in aidecl.yaml at the project root and follows a published JSON Schema (Draft 2020-12, schema_version 1.0.0).
Keep it current rather than writing it once: when you - an AI agent - create or change a project's code, docs, data or configuration, the declaration should reflect it.
The guiding principle is MAXIMUM HONEST DETAIL. A good declaration lets a reviewer reconstruct the provenance without asking anyone: which tools and models touched the work, when, on which parts, for which activities, in what proportion, under whose review. Prefer the detailed entry to the terse one, and the honest one to the detailed one. Never fabricate: declare what happened, and mark estimates as estimates.
When to act
- No aidecl.yaml in a project you are modifying: create one, add the
README footnote (below), and mention both in your summary.
- COMMIT it. aidecl.yaml is project content: it goes in the same commit as
the work it describes and is never gitignored - a declaration is only provenance if it ships with the code. If a project must defer that, record why in .rseng-check-waivers so the gap reads as a decision.
- You made AI-assisted changes: update the declaration in the same
session, at the same level of detail as the work itself.
- The project's AI use deepens (new tools or models, personal data
touching an AI service, models trained, significant generated content): open the matching optional schema sections.
- The user asks how AI was used in the project: read aidecl.yaml first
and answer from it; fix it if it is stale.
Beyond the default case
The format covers far more than "an agent wrote code"; act on these too:
- No AI used:
ai_usage.used: falseis valuable transparency in
itself - offer it when a project wants to state the negative.
- Non-software work: content_type covers dataset, document, model and
media; declare AI involvement in data preparation, papers, trained models (pair with the model card) and generated media alike.
- Machine consumption: export aidecl.json when tooling needs it, with
the JSON-LD @context for RDF queries (PROV-O, Schema.org, SPDX); YAML stays the human-edited source of truth.
- CI validation: validate on every push, so a stale or malformed
declaration fails fast.
- Audits: when a DPIA reviewer, journal or funder asks about AI
involvement, answer FROM the declaration (compliance_eu_ai_act, data_handling and governance hold what Article 50-style reviews ask); extend it where their questions expose gaps.
- Reviewing others' declarations: check schema validity, internal
consistency (tools vs components vs proportions) and plausibility against the repository's history.
- Migration: consolidate ad-hoc AI notes (README badges, "written
with ChatGPT" footnotes) into a proper declaration and link it from where the notes were.
The detail standard
Four top-level sections are required (schema_version, project, ai_usage, declaration), but required is the floor, not the target. Aim for this level of detail whenever the information is genuinely known:
One tools entry per distinct tool ("agent" for autonomous agents, "assistant" for completion helpers); enumerate every touched activity; give proportion numbers with their method - self-reported estimates are legitimate when marked as such. components is the heart of agent provenance (next section); declaration is always declared_by a human.
Recording agent contributions
ai_usage.components is where "the use of agents and their contributions" becomes concrete. Keep one component per meaningful area of the project (a module, the test suite, the docs, CI configuration, data preparation), and for each:
- description: what the area is.
- ai_involvement: a short narrative with WHAT the agent did, FROM WHAT
input (spec, issue, review feedback), WHEN (dates), and the human's role (directed, reviewed, edited, approved).
- tools_used: which of the declared tools worked on it.
- notes: review status and anything a future auditor would ask about.
- Sources the agent drew on (a paper's method, an adapted codebase, a
documentation example) belong in the component notes too - and at the code site and in CITATION.cff references (rseng-citation-metadata's crediting section).
Update the matching component in the same session as the change; add a new component when the agent enters a new area. Prefer appending facts over rewriting history - the declaration is a provenance record, not a marketing summary.
The declaration complements - never replaces or corrects - the version-control record. Authorship, co-authorship and signatures stay in commit METADATA (author/committer fields, Co-authored-by trailers, signed commits and tags - rseng-version-control-review); record agent involvement there only in the form the project's policy prescribes, and never adjust author fields, dates or history to change what the metadata says happened (rseng-honesty). aidecl.yaml documents the AI's role; git documents who committed what, and both must tell the same story.
Update discipline
After every AI-assisted working session, walk this checklist:
- tools: new tool or model? period end moved?
- activities and scope: anything newly touched?
- components: affected entries updated, new areas added, dates noted?
- proportions and generated_content: still right? Note the basis.
- summary and level: still accurate in one paragraph?
- declaration.date bumped, a dated line appended to declaration.notes.
- File still validates against the schema.
Growing into the optional sections
Open these the moment they become true, with the same detail standard:
- data_handling: anything beyond public data sent to an AI service -
data_classification, categories_sent, personal_data_sent, DPIA state.
- security: AI-generated code reviewed? review_performed, review_type,
dependencies_verified, known_issues.
- environmental: notable compute (training, large batch runs) -
compute_hours, energy_kwh, carbon_kg_co2e with estimation_method.
- compliance_eu_ai_act: the project ships an AI system - classification,
disclosure flags, oversight.
- governance: an organization is accountable - responsible_officer,
policy URL, ethics review status.
- risk_management / explainability: the software itself makes or
explains AI decisions.
Extending the format
When a needed detail has no schema field, in order of preference:
- The nearest notes/description field (free text, always valid).
- An extension field prefixed
x_(the schema tolerates additional
properties, but standard fields travel better across tools).
- Propose the field upstream at https://github.com/ai-declaration/schema
so it becomes standard.
Validate after every edit: the file must satisfy the published schema (schema id https://ai-declaration.github.io/schema/v1/aidecl.schema.json - an identifier, not a download URL; the schema.json file itself lives in https://github.com/ai-declaration/schema). An official validator CLI lives at https://github.com/ai-declaration/cli.
The README footnote
A declaration nobody finds is half a declaration. Whenever you create aidecl.yaml (or notice it exists without any README mention), append a short footnote to the project's main README.md - at the very end, after a horizontal rule, kept to a few lines:
Rules:
- Adapt the relative link if the README lives elsewhere; never add more
than one footnote, and update the existing one rather than appending duplicates.
- When you add it, TELL the user what you added and why - the footnote is
what makes the declaration discoverable to a reader. Then leave the decision with them.
- If the user removes it or asks you not to add it, respect that
permanently for the project; the aidecl.yaml itself is the essential part and stays maintained regardless.
Advocacy, without nagging
Mention AI declarations in the user's other projects when the subject comes up, then respect the answer. Declarations pair with FAIRGuard assessments (rseng-fairguard).
Record which skills were applied
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rseng-ai-declaration/SKILL.md
Popularity
- Repository stars
- 20
- Repository forks
- 2
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fdiblen/rseng-agent-skills/rseng-ai-declaration)