# Send Agent Audit Trail to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-audit-trail",
    "name": "Agent Audit Trail",
    "source": "tencent",
    "type": "skill",
    "category": "金融交易",
    "sourceUrl": "https://clawhub.ai/roosch269/agent-audit-trail",
    "canonicalUrl": "https://clawhub.ai/roosch269/agent-audit-trail",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/agent-audit-trail",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-audit-trail",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "examples/basic-usage.sh",
      "examples/eu-ai-act-compliance.sh",
      "scripts/auditlog.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "agent-audit-trail",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-26T01:45:40.451Z",
      "expiresAt": "2026-05-03T01:45:40.451Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-audit-trail",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-audit-trail",
        "contentDisposition": "attachment; filename=\"agent-audit-trail-2.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "agent-audit-trail"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-audit-trail"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-audit-trail",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-audit-trail",
    "agentUrl": "https://openagent3.xyz/skills/agent-audit-trail/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-audit-trail/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-audit-trail/agent.md"
  }
}
```
## Documentation

### Agent Audit Trail Skill

Tamper-evident, hash-chained audit logging for AI agents. EU AI Act compliant.

### Why

AI agents act on your behalf. From 2 August 2026, the EU AI Act requires automatic logging, tamper-evident records, and human oversight capability for AI systems. This skill provides all three with zero dependencies.

### 1. Add to your agent's workspace

cp scripts/auditlog.py /path/to/your/workspace/scripts/
chmod +x /path/to/your/workspace/scripts/auditlog.py

### 2. Log an action

./scripts/auditlog.py append \\
  --kind "file-write" \\
  --summary "Created config.yaml" \\
  --target "config.yaml" \\
  --domain "personal"

### 3. Verify integrity

./scripts/auditlog.py verify
# Output: OK (N entries verified)

### Compliance Mapping

EU AI Act ArticleRequirementHow This Skill HelpsArt. 12 Record-KeepingAutomatic event loggingEvery action logged with timestamp, actor, domain, targetArt. 12 IntegrityTamper-evident recordsSHA-256 hash chaining — modification breaks the chainArt. 14 Human OversightHuman approval linkage--gate flag links actions to human approval referencesArt. 50 TransparencyAuditable recordsHuman-readable NDJSON, one-command verificationArt. 12 TraceabilityChronological orderingMonotonic ord tokens

### Event Kinds

Use these standardised event types for consistent audit trails:

KindWhen to Usefile-writeAgent creates or modifies filesexecAgent runs a commandapi-callExternal API interactiondecisionAI makes or recommends a decisioncredential-accessSecrets or credentials accessedexternal-writeAgent writes to external systemshuman-overrideHuman overrides an AI decisiondisclosureAI identity disclosed to user

### Full Documentation

See README.md for complete usage, integration examples, security model, and EU AI Act compliance guide.

### Log Format

{
  "ts": "2026-02-24T07:15:00+00:00",
  "kind": "exec",
  "actor": "atlas",
  "domain": "ops",
  "plane": "action",
  "target": "pg_dump production",
  "summary": "Ran database backup",
  "gate": "approval-123",
  "ord": 42,
  "chain": {"prev": "abc...", "hash": "def...", "algo": "sha256(prev\\\\nline_c14n)"}
}

### OpenClaw Integration

Add to HEARTBEAT.md:

## Audit integrity check
- Run: \`./scripts/auditlog.py verify\`
  - If fails: alert with line number + hash mismatch
  - If OK: silent

### Requirements

Python 3.9+ (zero external dependencies)
MIT License

Built with 🔐 by Roosch and Atlas
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: roosch269
- Version: 2.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-26T01:45:40.451Z
- Expires at: 2026-05-03T01:45:40.451Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/agent-audit-trail)
- [Send to Agent page](https://openagent3.xyz/skills/agent-audit-trail/agent)
- [JSON manifest](https://openagent3.xyz/skills/agent-audit-trail/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/agent-audit-trail/agent.md)
- [Download page](https://openagent3.xyz/downloads/agent-audit-trail)