agentmesh-governance_skill

This skill enforces token limits, tool restrictions, and policy compliance for OpenClaw agents, boosting safety, trust, and auditable governance.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill agentmesh-governance

  • _meta.json300 B
  • SKILL.md5.5 KB

Overview

This skill provides a zero-trust governance layer for AI agents using AgentMesh to enforce policies, compute trust scores, verify cryptographic identities, and maintain tamper-evident audit logs. It is designed for command-line integration so teams can gate tool calls, enforce token and tool limits, and audit agent behavior before, during, and after execution. Enterprise-grade testing and broad adoption make it suitable for production safety and compliance workflows.

How this skill works

The skill evaluates proposed agent actions against a YAML policy to allow or deny execution, returning JSON with verdicts, violations, and recommendations. It produces a composite trust score across five dimensions (policy compliance, resource efficiency, output quality, security posture, collaboration health) and updates scores after interactions. Identity verification uses Ed25519 DIDs and signatures, while audit trails are recorded in a Merkle chain so integrity checks detect tampering.

When to use it

  • Before executing any tool call to enforce token limits, allowed tools, and content policies.
  • When deciding whether to delegate work or collaborate with another agent by checking its trust score.
  • To verify an agent's identity and signed messages using Ed25519 DIDs before trusting outputs.
  • After agent collaboration to record outcomes and update trust scores.
  • For compliance or incident investigations by verifying Merkle chain audit logs.

Best practices

  • Integrate policy checks into the pre-execution path so denials happen before any external call.
  • Define conservative default policies (lower token budgets, strict allowlists) and relax per-environment as needed.
  • Require human approval for high-risk actions via policy flags instead of ad hoc decisions.
  • Regularly review trust score weightings and retrain any heuristics driving the output-quality dimension.
  • Rotate keys and reissue DIDs on a schedule; verify signatures on every cross-agent communication.

Example use cases

  • Prevent runaway token consumption by enforcing per-action and per-session token caps for generative tools.
  • Block dangerous tools (shell_exec, file_delete) and destructive content patterns before execution.
  • Verify another agent’s DID and signature before accepting a generated data feed or document.
  • Maintain an auditable, tamper-evident trail of agent actions for compliance and post-incident review.
  • Automatically block or quarantine agents whose trust scores fall below a configured threshold.

FAQ

Trust scores are composite values from five dimensions (policy compliance, efficiency, quality, security, collaboration). Scores update incrementally after recorded interactions and can be adjusted by severity on failures or bonuses for successful collaborations.

What proves the audit log hasn’t been tampered with?

Audit entries are chained using a Merkle construction; the verification command checks integrity and will detect any tampering with past records.

Can I require human approval for specific actions?

Yes. Policies can declare require_human_approval for actions that must pause for manual confirmation before execution.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
agentmesh-governance skill by openclaw/skills | VeilStrat