Aller au contenu
Skillpedia
Agents29k · #9729

agent-decision-receipts

Ce qu’il fait

Ce skill enregistre les actions importantes qu'un agent d'IA effectue, comme les déploiements, les suppressions, les paiements ou les modifications d'accès, dans un reçu signé. Il s'adresse aux équipes qui ont besoin de preuves de ce qu'un agent a fait et pourquoi.

Quand l’utiliser

  • ✓Quand un agent autonome est sur le point de déployer, supprimer, payer ou accorder un accès.
  • ✓Quand vous avez besoin de preuves des actions d'un agent pour la tenue de registres, par exemple au titre de l'article 12 de l'AI Act européen.
  • ✓Quand vous voulez vérifier plus tard qu'un reçu n'a pas été modifié.

Lien du skill

https://github.com/alirezarezvani/claude-skills/blob/main/ra-qm-team/skills/agent-decision-receipts/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/alirezarezvani/claude-skills/blob/main/ra-qm-team/skills/agent-decision-receipts/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée un reçu signé pour le nettoyage de base de données que l'agent vient d'exécuter, afin que nous puissions prouver plus tard ce qu'il a fait.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent construit un enregistrement de l'action, qui indique qui l'a effectuée, ce qui a été fait et selon quelle politique, puis le signe. Il peut ensuite le vérifier à partir de son certificat seul, et toute modification brise la signature.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Agent Decision Receipts

Overview

A log says an action happened. A receipt is tamper-evident: it records who, what, and under which policy, and it is signed, so any later edit breaks the signature. This skill mints one for a consequential agent action and verifies it later from the certificate alone: no database, no network, no trusting the issuer.

The crypto is not in this skill. It is the open-source OpenAgentOntology receipt primitive (Apache-2.0), which signs every receipt with Ed25519 and the post-quantum legs ML-DSA-65 (FIPS 204) + SLH-DSA (FIPS 205) when the post-quantum backend is installed. This skill is the decision layer: when to mint, what to put in, how to verify. One install, no per-skill crypto.

Three decisions, nothing else:

  1. Does this action need a receipt? — side-effecting + consequential + later-provable = yes.
  2. Mint the receipt — build the action manifest, sign it with the OAO primitive.
  3. Verify it — recompute the hash, check each signature leg, from the cert alone.

This skill is NOT log analysis. Logs describe what happened and can be silently edited. A receipt is minted before/at execution and breaks if edited. Use logs for debugging; use receipts for evidence.

This skill is NOT a hosted notary. It mints a LOCAL, self-signed receipt anyone can verify offline. Cross-organization verification (one org proving to another) is a separate hosted service, out of scope here.

This skill is NOT a legal opinion. It produces evidence shaped to support FRE 902(13)/(14)-style certification and EU AI Act Article 12 record-keeping. Whether a given receipt is admitted is a question for counsel.

Quick Start

# Install the open-source receipt primitive (Apache-2.0). Add [pq] for the post-quantum legs.
pip install "openagentontology[pq]"

# 1. Build + validate an action manifest (stdlib only, no crypto, no network)
python scripts/build_action_manifest.py --agent my-deploy-agent --operation deploy \
    --target prod/api --policy "EU AI Act Art 12" --out action.json

# 2. Mint the receipt over it (Ed25519 + post-quantum legs)
python -c "import json,openagentontology.receipt as r; \
  print(json.dumps(r.mint_receipt(json.load(open('action.json')), decision='ACTION_GOVERNED')))" > receipt.json

# 3. Verify from the cert alone (no DB, no network)
python -c "import json,openagentontology.receipt as r; \
  print(r.verify_receipt(json.load(open('receipt.json'))))"
# -> {'ok': True, 'sig_ok': True, ... 'reason': 'verified from the cert alone via: ed25519, ml_dsa, slh_dsa'}

Dependency note. This skill delegates the signing to openagentontology (Apache-2.0, opt-in pip install). The script shipped here is stdlib-only and adds no repo dependency; the package is installed by the operator (BYO-library pattern). If it is not installed, the build step still works — only minting/verifying require it.

Core Workflow

The three decisions below are the skill: decide whether to receipt, mint, then verify.

Decision 1: Does this action need a receipt?

Mint a receipt when the action is all three of:

Test Mint if...
Side-effecting it writes, sends, deploys, deletes, pays, grants access, or changes external state
Consequential a wrong call costs money, breaks compliance, or harms a person
Later-provable someone (auditor, insurer, regulator, court, counterparty) may ask "what did the agent do and why?"

Read-only, reversible, trivial actions do not need a receipt. Receipt everything and the signal drowns; receipt nothing and the one call that mattered cannot be proven.

High-signal triggers (mint by default): deploy, delete, pay/wire/refund, grant_access, export/egress, approve/deny a claim, any model decision that affects a person under a high-risk AI system.

Decision 2: Mint the receipt

The action manifest is any ASCII-safe dict describing what the agent did. Four keys are required — build_action_manifest.py rejects the manifest (exit 2) if any is missing. Two more are added automatically:

Key Required? What it carries
agent_id required the acting agent
operation required the verb (deploy / delete / pay / decide / ...)
target required what it acted on
policy required the rule that governs it (e.g. "EU AI Act Art 12", "internal change-control")
inputs_hash au
Questions fréquentes

En quoi un reçu diffère-t-il d'un journal ?

Un journal peut être modifié sans que personne ne le remarque, alors qu'un reçu est signé et se brise si quelqu'un le modifie.

La vérification nécessite-t-elle un service en ligne ?

Non. Le reçu peut être vérifié hors ligne à partir de son certificat, sans base de données ni réseau.

Le reçu est-il envoyé à un notaire ?

Non. Il crée un reçu local, auto-signé, que n'importe qui peut vérifier. Ce n'est pas un service hébergé.

Détails

Description originale de l’auteur

Use when an autonomous agent takes a side-effecting action (deploy, delete, pay, grant access) that may need proving later, or for EU AI Act Art. 12 record-keeping. Builds a tamper-evident signed receipt with build_action_manifest.py and verifies it.

repo: alirezarezvani/claude-skills

Popularité

Étoiles GitHub
29k
Position au classement
#9729
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires