{
  "schemaVersion": "1.0",
  "item": {
    "slug": "arc-compliance-audit",
    "name": "Compliance Audit",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/Trypto1019/arc-compliance-audit",
    "canonicalUrl": "https://clawhub.ai/Trypto1019/arc-compliance-audit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/arc-compliance-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=arc-compliance-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/audit.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/arc-compliance-audit"
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/arc-compliance-audit",
    "agentPageUrl": "https://openagent3.xyz/skills/arc-compliance-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/arc-compliance-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/arc-compliance-audit/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Compliance Audit Trail",
        "body": "Immutable, tamper-evident audit logging for autonomous agents. Every action gets a hash-chained entry that can be verified for integrity."
      },
      {
        "title": "Why This Exists",
        "body": "Autonomous agents make decisions, execute skills, access data, and spend money without human oversight. When something goes wrong, you need to know exactly what happened. Current agent frameworks have no standard audit trail — this fills that gap."
      },
      {
        "title": "Log an action",
        "body": "python3 {baseDir}/scripts/audit.py log --action \"skill_executed\" --details '{\"skill\": \"scanner\", \"target\": \"some-skill\", \"result\": \"clean\"}'"
      },
      {
        "title": "Log a decision",
        "body": "python3 {baseDir}/scripts/audit.py log --action \"decision\" --details '{\"choice\": \"deploy v2\", \"reason\": \"all tests passed\", \"alternatives_considered\": [\"rollback\", \"hotfix\"]}'"
      },
      {
        "title": "Log data access",
        "body": "python3 {baseDir}/scripts/audit.py log --action \"data_access\" --details '{\"resource\": \"api_key\", \"purpose\": \"moltbook_post\", \"accessor\": \"ghost_agent\"}'"
      },
      {
        "title": "Log a budget change",
        "body": "python3 {baseDir}/scripts/audit.py log --action \"budget_change\" --details '{\"amount\": -10.00, \"merchant\": \"namecheap\", \"reason\": \"domain purchase\", \"balance_after\": 190.00}'"
      },
      {
        "title": "View recent entries",
        "body": "python3 {baseDir}/scripts/audit.py view --last 20"
      },
      {
        "title": "View entries by action type",
        "body": "python3 {baseDir}/scripts/audit.py view --action skill_executed"
      },
      {
        "title": "View entries in a time range",
        "body": "python3 {baseDir}/scripts/audit.py view --since \"2026-02-15T00:00:00\" --until \"2026-02-16T00:00:00\""
      },
      {
        "title": "Verify audit trail integrity",
        "body": "python3 {baseDir}/scripts/audit.py verify"
      },
      {
        "title": "Export audit trail",
        "body": "python3 {baseDir}/scripts/audit.py export --format json > audit-export.json\npython3 {baseDir}/scripts/audit.py export --format csv > audit-export.csv"
      },
      {
        "title": "Generate compliance summary",
        "body": "python3 {baseDir}/scripts/audit.py summary --period day"
      },
      {
        "title": "Entry Format",
        "body": "Each audit entry contains:\n\ntimestamp — ISO 8601, UTC\naction — what happened (skill_executed, decision, data_access, budget_change, error, custom)\nagent — which agent performed the action\ndetails — structured JSON with action-specific data\nhash — SHA-256 hash chaining previous entry's hash + current entry (tamper-evident)\nsequence — monotonically increasing sequence number"
      },
      {
        "title": "Integrity Verification",
        "body": "The audit trail is hash-chained: each entry includes a SHA-256 hash of the previous entry's hash concatenated with the current entry's data. If any entry is modified or deleted, the chain breaks and verify will report the exact point of tampering."
      },
      {
        "title": "Storage",
        "body": "Audit logs are stored in ~/.openclaw/audit/ as daily JSON files (audit-YYYY-MM-DD.json). This keeps individual files small while maintaining the full history."
      },
      {
        "title": "Use Cases",
        "body": "Incident response: What happened in the 5 minutes before the error?\nBudget accountability: Show every dollar spent and why\nTrust verification: Prove your agent hasn't been compromised\nEnterprise compliance: Meet audit requirements for autonomous systems\nDebugging: Trace the decision chain that led to an unexpected outcome"
      }
    ],
    "body": "Compliance Audit Trail\n\nImmutable, tamper-evident audit logging for autonomous agents. Every action gets a hash-chained entry that can be verified for integrity.\n\nWhy This Exists\n\nAutonomous agents make decisions, execute skills, access data, and spend money without human oversight. When something goes wrong, you need to know exactly what happened. Current agent frameworks have no standard audit trail — this fills that gap.\n\nCommands\nLog an action\npython3 {baseDir}/scripts/audit.py log --action \"skill_executed\" --details '{\"skill\": \"scanner\", \"target\": \"some-skill\", \"result\": \"clean\"}'\n\nLog a decision\npython3 {baseDir}/scripts/audit.py log --action \"decision\" --details '{\"choice\": \"deploy v2\", \"reason\": \"all tests passed\", \"alternatives_considered\": [\"rollback\", \"hotfix\"]}'\n\nLog data access\npython3 {baseDir}/scripts/audit.py log --action \"data_access\" --details '{\"resource\": \"api_key\", \"purpose\": \"moltbook_post\", \"accessor\": \"ghost_agent\"}'\n\nLog a budget change\npython3 {baseDir}/scripts/audit.py log --action \"budget_change\" --details '{\"amount\": -10.00, \"merchant\": \"namecheap\", \"reason\": \"domain purchase\", \"balance_after\": 190.00}'\n\nView recent entries\npython3 {baseDir}/scripts/audit.py view --last 20\n\nView entries by action type\npython3 {baseDir}/scripts/audit.py view --action skill_executed\n\nView entries in a time range\npython3 {baseDir}/scripts/audit.py view --since \"2026-02-15T00:00:00\" --until \"2026-02-16T00:00:00\"\n\nVerify audit trail integrity\npython3 {baseDir}/scripts/audit.py verify\n\nExport audit trail\npython3 {baseDir}/scripts/audit.py export --format json > audit-export.json\npython3 {baseDir}/scripts/audit.py export --format csv > audit-export.csv\n\nGenerate compliance summary\npython3 {baseDir}/scripts/audit.py summary --period day\n\nEntry Format\n\nEach audit entry contains:\n\ntimestamp — ISO 8601, UTC\naction — what happened (skill_executed, decision, data_access, budget_change, error, custom)\nagent — which agent performed the action\ndetails — structured JSON with action-specific data\nhash — SHA-256 hash chaining previous entry's hash + current entry (tamper-evident)\nsequence — monotonically increasing sequence number\nIntegrity Verification\n\nThe audit trail is hash-chained: each entry includes a SHA-256 hash of the previous entry's hash concatenated with the current entry's data. If any entry is modified or deleted, the chain breaks and verify will report the exact point of tampering.\n\nStorage\n\nAudit logs are stored in ~/.openclaw/audit/ as daily JSON files (audit-YYYY-MM-DD.json). This keeps individual files small while maintaining the full history.\n\nUse Cases\nIncident response: What happened in the 5 minutes before the error?\nBudget accountability: Show every dollar spent and why\nTrust verification: Prove your agent hasn't been compromised\nEnterprise compliance: Meet audit requirements for autonomous systems\nDebugging: Trace the decision chain that led to an unexpected outcome"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Trypto1019/arc-compliance-audit",
    "publisherUrl": "https://clawhub.ai/Trypto1019/arc-compliance-audit",
    "owner": "Trypto1019",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/arc-compliance-audit",
    "downloadUrl": "https://openagent3.xyz/downloads/arc-compliance-audit",
    "agentUrl": "https://openagent3.xyz/skills/arc-compliance-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/arc-compliance-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/arc-compliance-audit/agent.md"
  }
}