Przejdź do treści
Biblioteka skilli
Prawo i compliance · Automatyzacja

eu-ai-labelling

/eu-ai-labelling

Stosuje oficjalne ikony UE jako widoczne oznaczenia treści wygenerowanych lub zmienionych przez AI, zgodnie z art. 50 AI Act.

Licencja
MIT
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
22
Skrypty
1
Komentarze HTML
1
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Skrypty: scripts/label_tool.py

Co robi i kiedy

Stosuje oficjalne ikony UE jako widoczne oznaczenia treści wygenerowanych lub zmienionych przez AI, zgodnie z art. 50 AI Act.

Oryginalny opis (EN)

Apply the official EU Icons as visible labels on AI-generated or AI-modified content (EU AI Act Article 50). Use when the user asks to label, disclose or mark content as AI-generated or AI-modified, asks whether content needs an AI label, or invokes eu-ai-labelling.

Jak działa

  1. Paths
  2. Steps
  3. Whether a Label is required
  4. A Marking
  5. An Existing Label
  6. A batch of files
Sekcje z nagłówków SKILL.md, w oryginale · 101 linii, 2 608 słów
Podgląd SKILL.md
---
name: eu-ai-labelling
description: Apply the official EU Icons as visible labels on AI-generated or AI-modified content (EU AI Act Article 50). Use when the user asks to label, disclose or mark content as AI-generated or AI-modified, asks whether content needs an AI label, or invokes eu-ai-labelling.
---

# EU AI labelling

Helps the user put a visible **Label** (an official **EU Icon**) on content that AI generated or modified, following Article 50(4) of the EU AI Act and Section 2 of the Code of Practice on transparency of AI-generated content.

## Paths

Every path in this skill and its reference files to `scripts/`, `assets/` or `references/` is relative to **this skill's folder**: the directory that holds this `SKILL.md`. Commands run from the user's project, not from here, so in commands `<skill folder>` stands for that folder's absolute path. Pass the user's files (images, `--document`, `--root`, `--to`) as absolute paths too. Two values are not filesystem paths: `--icon-path` is the path the published document loads the icon from (`references/text.md` says which), and the `FILE` of `--alt-mention FILE=TEXT` is copied as `references` printed it.

- `scripts/label_tool.py`: the CLI that does all deterministic work. Each subcommand prints one JSON object; on failure it exits non-zero and prints `{"error": {"code", "message"}}`.
- `assets/icons/`: the official EU Icon SVGs, which label_tool renders and copies; `assets/icons/SOURCE.md` records where they came from.
- `references/`: one procedure per content type, loaded only when that type is being labelled.

Run the CLI with `uv run <skill folder>/scripts/label_tool.py <subcommand> ...`. When `uv` is missing, use `python3 <skill folder>/scripts/label_tool.py ...` provided Pillow 11 or later and resvg-py are installed (without c2pa-python, `marking` skips C2PA and reports `c2pa: unavailable`); if neither works, tell the user to install `uv`.

## Steps

When the user only asks whether a Label is required, answer as **Whether a Label is required** says, and enter these steps only once they ask for a Label.

1. **Identify the content.** Find the file(s) the user means and their content type: image, video (a local video file) or text (Markdown or HTML). For any other content type (plain text, PDF, audio on its own), and for a video given as a URL to download or a live stream, tell the user this version labels images, local videos, Markdown and HTML, and adds label components to sites, and stop. A request to add AI labels to a website or web app as a reusable component ("add AI labels to my site") is a **site**: the content is the project itself, so there is no file to name. A folder, a glob or several files named in one request is a **batch**: list its files with the command in **Listing a batch** of `references/batch.md` (for a folder, the files directly inside it), which types each one as an image or a video and sets aside existing Labelled Copies (`*.ai-label.*`): they are never labelled again, so steps 2 and 3 skip them and the report lists them as skipped. Done when every file is named and typed.
2. **Settle the Icon Variant.** It says how AI was involved, which only the user knows for sure. First read the Marking of each image and video, as **A Marking** says, whether or not the user named the variant. Then:
   - The user named the variant ("fully AI-generated", "AI-modified"): use it as given, whatever the Marking says. **Fully AI-Generated** maps to `generated`, **Partially AI-Modified** to `modified`.
   - Otherwise answer from context first: what the user said about the content, that you made it yourself in this session, or a precise Marking. The name of an AI tool alone ("made with Midjourney", "ChatGPT helped") doesn't say which: these tools both create and edit. If context doesn't say, ask one plain question, quoting any vague Marking: did AI create it from scratch, or edit something that already existed (a real photo, a text a person wrote)? From scratch is **Fully AI-Generated**; an edit of something real is **Partially AI-Modified**. Wait for the answer before labelling (for a batch, ask it with the batch's other questions, as **A batch of files** says).
   - **Basic** is for documents and sites only: an image or a video can't be labelled with it. When the user names "basic" for an image or a video, ask whether it is fully AI-generated or AI-modified, then use **Fully AI-Generated** or **Partially AI-Modified** as named, once they answer.
   - For a Markdown or HTML document the icon is always **Basic**; the answer sets only the wording: "fully AI-generated" (or "AI-generated", "written by AI") is `generated`, "partially AI-modified" (or "AI-modified", "edited with AI") is `modified`. If they named only "basic", ask whether the text was generated or modified.
   - For a **site** the component always shows the **Basic** icon, with a text label passed in per use: skip this step and step 3.
   - For a **batch**, see **A batch of files** below.

   Done when every file has its Icon Variant, which also sets the wording every reference uses: `generated` or `modified`.
3. **Settle where an image's Label goes.** By default the EU Icon is burned into a Labelled Copy of the image. When the request or context presents the image as an artistic, satirical or fictional work and the user hasn't said how to label it, ask before labelling, whether or not they named the variant:
   - **Caption**: the Basic EU Icon and a text label below the image, in the document or page that shows it;
   - **Burn-in**: the EU Icon burned into a Labelled Copy.

   When they already said how ("as a caption in post.md", "burn it in"), don't ask. For any other image, go on with burn-in; the preview (step 5 of `references/image.md`) lets the user switch to a caption. For a batch, ask once for every image it concerns. A **video** always carries the Label in its picture, Creative Work or not: don't offer it a caption, and skip this step for it (`references/video.md` settles when the Label shows and its corner, chosen from frames and labelled excerpts of the video). Done when the placement of each image is settled.
4. **Label it**, following the reference file for its content type:
   - Image, labelled with a **Caption**: read `references/creative-work.md`.
   - Image (any image file; the reference says which formats are refused), labelled by burn-in: read `references/image.md`.
   - A batch of images labelled by burn-in: read `references/batch.md` as well.
   - Video: read `references/video.md`; for a batch holding videos, read `references/batch.md` as well (**Videos in a batch**). In a batch of images and videos, each file follows its own reference.
   - Markdown or HTML document: read `references/text.md`.
   - Site (a reusable label component for a React, Vue, Astro or plain HTML project): read `references/site.md`.

   When the reference finds an Existing Label, follow **An Existing Label** below.

   A Labelled Copy of an image inside the project then goes through `references/update-references.md`, as the image and batch references say; a video's goes through step 8 of `references/video.md`, without any alt-text change.

   Done when the reference file's own completion criterion is met.
5. **Report** what the reference files you followed ask you to report: for an image what `references/image.md` asks, for a video what `references/video.md` asks, for a batch the summary in `references/batch.md`, and after a Labelled Copy inside the project the reference lists from `references/update-references.md`. Name every Existing Label found: where it is and what it says. Close with this note: "This is not legal advice."

## Whether a Label is required

Never say whether the law requires a Label for some content, nor guess it. Whether Article 50 applies depends on facts and legal judgement that belong to the user, or their legal adviser. When the user asks ("does this need a label?", "am I required to disclose this?"), say that the plugin applies Labels but doesn't decide whether one is required, and point them to the official sources:

- the Guidelines on Article 50: https://digital-strategy.ec.europa.eu/en/policies/guidelines-ai-transparency-obligations
- the Code of Practice on transparency of AI-generated content: https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content
- the AI Act Service Desk: https://ai-act-service-desk.ec.europa.eu/

Before answering, look at the content as its reference does before labelling: read the document's text, open the image, read the project for a site; for a video, use only frames you already opened. When the content visibly has an Existing Label, say so as a fact: where it is and what it says. For an image or a video, also read its Marking as **A Marking** says, and mention a Marking found as a fact too ("the file's C2PA metadata says OpenAI generated it").

Then offer to apply a Label, and label only if they say so. Don't change any file before they answer.

## A Marking

A **Marking** is the machine-readable signal a Provider embeds in an image or a video: C2PA or IPTC metadata, a generator's tags. It is evidence for the Icon Variant of step 2 only: it never says whether a Label is required, and it is not an Existing Label. Documents and sites have none to read. Read it for each image and video, each file of a batch included:

```
uv run <skill folder>/scripts/label_tool.py marking <file>
```

It prints JSON with `settled` (`generated`, `modified` or null), `settled_by` (the Marking that settled it, worded to quote), `quotes` (the Marking to quote when nothing is settled) and `c2pa` (`checked`, `unavailable` or `unreadable`). On `video_tools_missing`, check the tools as step 1 of `references/video.md` says, then read it again; on any other error, go on as if the file carried no Marking.

- **Precise** (`settled` is `generated` or `modified`): it settles the Icon Variant as context does: don't ask. The preview and the report say which Marking settled it, quoting `settled_by` ("the file's C2PA manifest, signed by OpenAI, says trainedAlgorithmicMedia").
- **Vague** (`settled` null, `quotes` not empty): it settles nothing. Quote each entry of `quotes` in the origin question of step 2: "the file's metadata says Stable Diffusion made it: did AI create it from scratch, or edit an existing image?"
- **None** (`settled` null, `quotes` empty): settle the variant as if you had never read it, and never mention it: a missing Marking is no evidence that the content isn't AI.
- When `c2pa` is `unavailable`, C2PA wasn't checked: say so only when you ask the origin question, and never hold up labelling for it.
- **The user's word wins.** When the user named the variant, or said how AI was involved, and `settled` says the other one, label as they said, without asking. The preview and the report state the mismatch as a fact ("the file's XMP says trainedAlgorithmicMedia, which is Fully AI-Generated; labelled Partially AI-Modified, as you said"), never which one is right. When `settled` agrees with them, the report says so in one line; the preview doesn't.

A Labelled Copy keeps the original's IPTC DigitalSourceType and IPTC AI fields (`marking_kept`) and leaves its C2PA manifest behind (`c2pa_left_behind`). The report says, in the user's language, what `apply` or `video-apply` printed: "the copy keeps the IPTC DigitalSourceType" when `marking_kept` has a `DigitalSourceType`, and "the original's C2PA provenance is not carried over" when `c2pa_left_behind` is true; with both, as one sentence: "the copy keeps the IPTC DigitalSourceType; the original's C2PA provenance is not carried over". With neither, the report is silent about it.

## An Existing Label

An **Existing Label** is a visible disclosure of AI involvement that this plugin didn't apply: a disclaimer line, another AI icon, a "generated by" footer, an "AI generated" text in an image's pixels, an on-screen notice in a video, a site's own AI notice. A Label carrying this plugin's `<!-- eu-ai-labelling: ... -->` marker and a Labelled Copy (`*.ai-label.*`) keep their own handling. Marking (C2PA or IPTC metadata, a Provider's watermark) is not an Existing Label, and neither is alt text alone: sighted readers can't see it.

Each reference says where it looks for one, at the step where it already reads the content. When it finds none, go on labelling. When it finds one, or something it can't tell for sure is one (a faint or cropped text, an icon it doesn't recognise), treat it as found and say what you are unsure about:

- **Stop before changing any file.** Tell the user where the Existing Label is, what it says, and whether its wording matches the `generated` or `modified` of step 2. Ask whether to add the EU Icon anyway or leave the content as it is, together with any question still open from steps 2 and 3, and wait.
- **Facts only.** State a wording mismatch as a fact. Never call an Existing Label sufficient or insufficient, nor say it makes the EU Icon needed or unneeded.
- **Already decided.** When the request already deals with the Existing Label ("label it anyway", "replace our disclaimer with the EU label"), don't ask; step 5 still names it.
- **Labelling anyway** adds the EU Icon in its usual place, as the reference says. Never edit or remove the Existing Label: remove or replace it only when the user explicitly asks, as a plain edit outside these steps.

## A batch of files

Ask the questions of steps 2 and 3 once for the whole batch, not once per file, together with each video's visibility question (step 3 of `references/video.md`):

- **Shared answers.** When the user or the context answers a question for the whole batch ("all of them were generated from scratch", "show it all the way through"), that answer holds for every file it concerns. Never ask again about a file whose answer is settled, by the user or by context.
- **Marking.** A file whose Icon Variant a precise Marking settled is settled by context (**A Marking**): never name it in the one message. When every file is settled and nothing else is open, label the batch without a question.
- **Per-file exceptions.** Ask a per-file question only where files differ: context answers it for some files but not others, or the user said the files differ. An exception the user named ("all generated, except intro.mp4, which is an edited real clip") settles that file and leaves the shared answer for the rest. Name the file or files each question is about in the question itself, and group files that share the question ("Were crowd.png and stage.png generated from scratch, or are they real photos edited with AI?"). Don't name, in any question, a file whose answers context already settles.
- **One message.** Ask every open question, shared or per-file (Icon Variant, an image's caption or burn-in, a video's visibility), together in one message, and label nothing in the batch until they are answered. Say, for the visibility, what happens without a preference: it is settled per video by its length, `auto` (continuous up to 60 seconds, periodic beyond), so a batch of short and long videos needs no answer.
- **Existing Labels.** Before sending the one message, open each image of the listing and look for an Existing Label as step 2 of `references/image.md` says. Put the question of **An Existing Label** for each image that has one in that one message, grouping the files that share it ("crowd.png and stage.png show 'AI generated' in their bottom-left corner: add the EU Icon anyway, or leave them as they are?"). A video's shows only in the frames of its `video-preview`, which needs the batch's answers: ask about it in the one placement question of step 5 of `references/batch.md`, before its `video-apply`. Never ask again about a file whose answer is settled, by the user or by the request.
- **Placement.** The corner is chosen per image and per video, from that file's own pixels or frames: never ask one corner question for the batch up front. The files with no free corner are gathered into one later question (step 5 of `references/batch.md`). A corner the user chose for the whole batch is a shared answer; one named for a file is an exception.
Pliki w paczce (22)
  • SKILL.md 16 KB
  • assets/icons/SOURCE.md 3 KB
  • assets/icons/ai-basic-black-50.svg 1 KB
  • assets/icons/ai-basic-black.svg 1 KB
  • assets/icons/ai-basic-white-50.svg 1 KB
  • assets/icons/ai-basic-white.svg 1 KB
  • assets/icons/ai-generated-black-50.svg 6 KB
  • assets/icons/ai-generated-black.svg 6 KB
  • assets/icons/ai-generated-white-50.svg 6 KB
  • assets/icons/ai-generated-white.svg 6 KB
  • assets/icons/ai-modified-black-50.svg 5 KB
  • assets/icons/ai-modified-black.svg 5 KB
  • assets/icons/ai-modified-white-50.svg 6 KB
  • assets/icons/ai-modified-white.svg 5 KB
  • references/batch.md 13 KB
  • references/creative-work.md 7 KB
  • references/image.md 9 KB
  • references/site.md 12 KB
  • references/text.md 6 KB
  • references/update-references.md 9 KB
  • references/video.md 20 KB
  • scripts/label_tool.py 185 KB

Wersje

W bazie nie ma innych skilli o nazwie eu-ai-labelling.

Migawka bazy z 13.11.2026 · wersja paczki 876e8bd9a6cf (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 4 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100ai-content-disclosure
    Sprawdza treści marketingowe i opinie wygenerowane przez AI pod kątem wymaganych oznaczeń według AI Act, zasad FTC i polityk platform: reklamy, deepfake'i, chatboty, posty influencerów, referencje.
  • 90sealeap-tianlu-amazon-ai-content-label-remediation
    Sprawdza aktualny oficjalny wymóg oznaczania treści marketingowych tworzonych lub zmienianych przez AI, a potem grupuje zasoby według ryzyka i poprawia oznaczenia.
  • 100build-label-page
    Buduje mobilną stronę do etykietowania opublikowaną jako Artifact claude.ai ze wspólnym magazynem odpowiedzi i eksportuje odpowiedzi do folderu badania, na przykład do złotych etykiet lub ślepej oceny wyników modelu.
  • 90ai-transparency
    Sprawdza, jak rozwiązanie AI informuje ludzi o AI: ujawnianie, oznaczanie treści i zasady, z lukami blokującymi lub doradczymi.
  • 90prepare-labelling-negotiation-brief
    Porządkuje wkład farmakologii klinicznej do negocjacji treści ulotki: dowody dla każdego stanowiska, precedens regulacyjny i wskazanie, gdzie dowody stanowisko wspierają, a gdzie nie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.