{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agentmesh-governance",
    "name": "AgentMesh Governance",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/imran-siddique/agentmesh-governance",
    "canonicalUrl": "https://clawhub.ai/imran-siddique/agentmesh-governance",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agentmesh-governance",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agentmesh-governance",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/audit-log.sh",
      "scripts/check-policy.sh",
      "scripts/generate-identity.sh",
      "scripts/record-interaction.sh",
      "scripts/trust-score.sh"
    ],
    "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/agentmesh-governance"
    },
    "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/agentmesh-governance",
    "agentPageUrl": "https://openagent3.xyz/skills/agentmesh-governance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agentmesh-governance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agentmesh-governance/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": "AgentMesh Governance — Trust & Policy for OpenClaw Agents",
        "body": "Zero-trust governance layer for OpenClaw agents. Enforce policies, verify identities,\nscore trust, and maintain tamper-evident audit logs — all from your agent's command line."
      },
      {
        "title": "Setup",
        "body": "Install the AgentMesh governance CLI:\n\npip install agentmesh-governance\n\nIf agentmesh-governance is not yet on PyPI, install directly from source:\npip install \"agentmesh @ git+https://github.com/imran-siddique/agent-mesh.git\""
      },
      {
        "title": "Scripts",
        "body": "All scripts are in scripts/. They wrap the governance engine and output JSON results."
      },
      {
        "title": "Check Policy Compliance",
        "body": "Evaluate an action against a governance policy before execution:\n\nscripts/check-policy.sh --action \"web_search\" --tokens 1500 --policy policy.yaml\n\nReturns JSON with allowed: true/false, any violations, and recommendations.\nUse this before executing any tool call to enforce limits."
      },
      {
        "title": "Get Trust Score",
        "body": "Check an agent's current trust score (0.0 – 1.0):\n\nscripts/trust-score.sh --agent \"research-agent\"\n\nReturns the composite trust score with breakdown across 5 dimensions:\npolicy compliance, resource efficiency, output quality, security posture,\ncollaboration health."
      },
      {
        "title": "Verify Agent Identity",
        "body": "Verify an agent's Ed25519 cryptographic identity before trusting its output:\n\nscripts/verify-identity.sh --did \"did:agentmesh:abc123\" --message \"hello\" --signature \"base64sig\"\n\nReturns verified: true/false. Use when receiving data from another agent."
      },
      {
        "title": "Record Interaction",
        "body": "Update trust scores after collaborating with another agent:\n\nscripts/record-interaction.sh --agent \"writer-agent\" --outcome success\nscripts/record-interaction.sh --agent \"writer-agent\" --outcome failure --severity 0.1\n\nSuccess adds +0.01 to trust score. Failure subtracts the severity value.\nAgents dropping below the minimum threshold (default 0.5) are auto-blocked."
      },
      {
        "title": "Audit Log",
        "body": "View tamper-evident audit trail with Merkle chain verification:\n\nscripts/audit-log.sh --last 20\nscripts/audit-log.sh --agent \"research-agent\" --verify\n\nThe --verify flag checks Merkle chain integrity — any tampering is detected."
      },
      {
        "title": "Generate Identity",
        "body": "Create a new Ed25519 cryptographic identity (DID) for your agent:\n\nscripts/generate-identity.sh --name \"my-agent\" --capabilities \"search,summarize,write\"\n\nReturns your agent's DID, public key, and capability manifest."
      },
      {
        "title": "Policy File Format",
        "body": "Create a policy.yaml to define governance rules:\n\nname: production-policy\nmax_tokens: 4096\nmax_tool_calls: 10\nallowed_tools:\n  - web_search\n  - file_read\n  - summarize\nblocked_tools:\n  - shell_exec\n  - file_delete\nblocked_patterns:\n  - \"rm -rf\"\n  - \"DROP TABLE\"\n  - \"BEGIN CERTIFICATE\"\nconfidence_threshold: 0.7\nrequire_human_approval: false"
      },
      {
        "title": "When to Use This Skill",
        "body": "Before tool execution: Run check-policy.sh to enforce limits\nBefore trusting another agent's output: Run verify-identity.sh\nAfter collaboration: Run record-interaction.sh to update trust\nBefore delegation: Check trust-score.sh — don't delegate to agents below 0.5\nFor compliance: Run audit-log.sh --verify to prove execution integrity\nOn setup: Run generate-identity.sh to create your agent's DID"
      },
      {
        "title": "What It Enforces",
        "body": "PolicyDescriptionToken limitsCap per-action and per-session token usageTool allowlistsOnly explicitly permitted tools can executeTool blocklistsDangerous tools are blocked regardlessContent patternsBlock regex patterns (secrets, destructive commands, PII)Trust thresholdsMinimum trust score required for delegationHuman approvalGate critical actions behind human confirmation"
      },
      {
        "title": "Architecture",
        "body": "This skill bridges the OpenClaw agent runtime with the AgentMesh\ngovernance engine:\n\nOpenClaw Agent → SKILL.md scripts → AgentMesh Engine\n                                     ├── GovernancePolicy (enforcement)\n                                     ├── TrustEngine (5-dimension scoring)\n                                     ├── AgentIdentity (Ed25519 DIDs)\n                                     └── MerkleAuditChain (tamper-evident logs)\n\nPart of the Agent Ecosystem:\nAgentMesh ·\nAgent OS ·\nAgent SRE"
      }
    ],
    "body": "AgentMesh Governance — Trust & Policy for OpenClaw Agents\n\nZero-trust governance layer for OpenClaw agents. Enforce policies, verify identities, score trust, and maintain tamper-evident audit logs — all from your agent's command line.\n\nSetup\n\nInstall the AgentMesh governance CLI:\n\npip install agentmesh-governance\n\n\nIf agentmesh-governance is not yet on PyPI, install directly from source:\n\npip install \"agentmesh @ git+https://github.com/imran-siddique/agent-mesh.git\"\n\nScripts\n\nAll scripts are in scripts/. They wrap the governance engine and output JSON results.\n\nCheck Policy Compliance\n\nEvaluate an action against a governance policy before execution:\n\nscripts/check-policy.sh --action \"web_search\" --tokens 1500 --policy policy.yaml\n\n\nReturns JSON with allowed: true/false, any violations, and recommendations. Use this before executing any tool call to enforce limits.\n\nGet Trust Score\n\nCheck an agent's current trust score (0.0 – 1.0):\n\nscripts/trust-score.sh --agent \"research-agent\"\n\n\nReturns the composite trust score with breakdown across 5 dimensions: policy compliance, resource efficiency, output quality, security posture, collaboration health.\n\nVerify Agent Identity\n\nVerify an agent's Ed25519 cryptographic identity before trusting its output:\n\nscripts/verify-identity.sh --did \"did:agentmesh:abc123\" --message \"hello\" --signature \"base64sig\"\n\n\nReturns verified: true/false. Use when receiving data from another agent.\n\nRecord Interaction\n\nUpdate trust scores after collaborating with another agent:\n\nscripts/record-interaction.sh --agent \"writer-agent\" --outcome success\nscripts/record-interaction.sh --agent \"writer-agent\" --outcome failure --severity 0.1\n\n\nSuccess adds +0.01 to trust score. Failure subtracts the severity value. Agents dropping below the minimum threshold (default 0.5) are auto-blocked.\n\nAudit Log\n\nView tamper-evident audit trail with Merkle chain verification:\n\nscripts/audit-log.sh --last 20\nscripts/audit-log.sh --agent \"research-agent\" --verify\n\n\nThe --verify flag checks Merkle chain integrity — any tampering is detected.\n\nGenerate Identity\n\nCreate a new Ed25519 cryptographic identity (DID) for your agent:\n\nscripts/generate-identity.sh --name \"my-agent\" --capabilities \"search,summarize,write\"\n\n\nReturns your agent's DID, public key, and capability manifest.\n\nPolicy File Format\n\nCreate a policy.yaml to define governance rules:\n\nname: production-policy\nmax_tokens: 4096\nmax_tool_calls: 10\nallowed_tools:\n  - web_search\n  - file_read\n  - summarize\nblocked_tools:\n  - shell_exec\n  - file_delete\nblocked_patterns:\n  - \"rm -rf\"\n  - \"DROP TABLE\"\n  - \"BEGIN CERTIFICATE\"\nconfidence_threshold: 0.7\nrequire_human_approval: false\n\nWhen to Use This Skill\nBefore tool execution: Run check-policy.sh to enforce limits\nBefore trusting another agent's output: Run verify-identity.sh\nAfter collaboration: Run record-interaction.sh to update trust\nBefore delegation: Check trust-score.sh — don't delegate to agents below 0.5\nFor compliance: Run audit-log.sh --verify to prove execution integrity\nOn setup: Run generate-identity.sh to create your agent's DID\nWhat It Enforces\nPolicy\tDescription\nToken limits\tCap per-action and per-session token usage\nTool allowlists\tOnly explicitly permitted tools can execute\nTool blocklists\tDangerous tools are blocked regardless\nContent patterns\tBlock regex patterns (secrets, destructive commands, PII)\nTrust thresholds\tMinimum trust score required for delegation\nHuman approval\tGate critical actions behind human confirmation\nArchitecture\n\nThis skill bridges the OpenClaw agent runtime with the AgentMesh governance engine:\n\nOpenClaw Agent → SKILL.md scripts → AgentMesh Engine\n                                     ├── GovernancePolicy (enforcement)\n                                     ├── TrustEngine (5-dimension scoring)\n                                     ├── AgentIdentity (Ed25519 DIDs)\n                                     └── MerkleAuditChain (tamper-evident logs)\n\n\nPart of the Agent Ecosystem: AgentMesh · Agent OS · Agent SRE"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/imran-siddique/agentmesh-governance",
    "publisherUrl": "https://clawhub.ai/imran-siddique/agentmesh-governance",
    "owner": "imran-siddique",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agentmesh-governance",
    "downloadUrl": "https://openagent3.xyz/downloads/agentmesh-governance",
    "agentUrl": "https://openagent3.xyz/skills/agentmesh-governance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agentmesh-governance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agentmesh-governance/agent.md"
  }
}