# Send xpr-governance 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. 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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "governance",
    "name": "xpr-governance",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/paulgnz/governance",
    "canonicalUrl": "https://clawhub.ai/paulgnz/governance",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/governance",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=governance",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "skill.json",
      "src/index.ts",
      "test-read.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "governance",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T05:41:31.139Z",
      "expiresAt": "2026-05-08T05:41:31.139Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=governance",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=governance",
        "contentDisposition": "attachment; filename=\"governance-0.2.11.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "governance"
      },
      "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/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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/governance",
    "downloadUrl": "https://openagent3.xyz/downloads/governance",
    "agentUrl": "https://openagent3.xyz/skills/governance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/governance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/governance/agent.md"
  }
}
```
## Documentation

### XPR Network Governance

You have tools to interact with XPR Network's on-chain governance system via the gov contract. Communities create proposals, and token holders vote on them.

### Key Concepts

Communities — governance groups (XPR Network, Metal DAO, LOAN Protocol, XPR Grants, Metal X, D.O.G.E.). Each has its own voting strategy, proposal fee, and quorum.
Proposals — on-chain records with candidates (voting options), start/end times, and an approval status. Proposal content (title, description) is stored off-chain in the Gov API.
Voting Strategies — determine who can vote and how vote weight is calculated:

xpr-unstaked-and-staked-balances — weight = XPR balance (staked + unstaked)
xmt-balances — weight = XMT balance
loan-and-sloan-balances — weight = LOAN + sLOAN balance
kyc-verification — 1 vote per KYC-verified account


Voting Systems — "0" = single choice, "1" = multiple choice, "2" = ranked choice, "5" = approval voting
Quorum — minimum participation threshold (basis points, e.g. 300 = 3%)
Proposal Fee — token payment required to create a proposal (varies by community, e.g. 20,000 XPR, 100 XMT, 50,000 LOAN)

### Active Communities

IDNameStrategyFeeQuorum3XPR NetworkXPR balances20,000 XPR3%4Metal DAOXMT balances100 XMT3%5LOAN ProtocolLOAN+sLOAN50,000 LOAN25%6XPR GrantsXPR balances20,000 XPR3%7Metal XXPR balances20,000 XPR3%8D.O.G.E.KYC verification1 XDOGE0.01%

### Read-Only Tools (safe, no signing)

gov_list_communities — list all governance communities with strategies, fees, quorum, and admins
gov_list_proposals — list proposals with optional community and status filters
gov_get_proposal — get full proposal details including title and description from Gov API, plus vote totals per candidate
gov_get_votes — get individual votes cast on a proposal (scans from most recent)
gov_get_config — get governance global config (paused state, total counts)

### Write Tools (require confirmed: true)

gov_vote — vote on an active proposal. Specify the candidate(s) and weight.
gov_post_proposal — create a new governance proposal. Requires paying the community's proposal fee (token transfer + postprop action in one transaction).

### Voting

To vote, you need the communityId, proposalId, and winners (array of candidate IDs with weights). For simple Yes/No proposals, use [{id: 0, weight: 100}] for Yes or [{id: 1, weight: 100}] for No.

### Creating Proposals

Creating a proposal requires:

A content ID — created via the Gov API (https://gov.api.xprnetwork.org)
Paying the community's proposal fee (token transfer to gov)
Calling postprop with all proposal parameters

The gov_post_proposal tool handles steps 2 and 3 (fee + postprop). You must provide the content ID from step 1.

### Proposal URLs

Proposals can be viewed at: https://gov.xprnetwork.org/communities/{communityId}/proposals/{proposalId}

### Safety Rules

Proposals have start and end times — voting is only allowed during the active period
Each community has different fee tokens — check the community's proposalFee before creating proposals
Quorum is in basis points (300 = 3%) — proposals need sufficient participation to pass
Admins can approve/decline proposals — the approve field shows the final status
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: paulgnz
- Version: 0.2.11
## 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-05-01T05:41:31.139Z
- Expires at: 2026-05-08T05:41:31.139Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/governance)
- [Send to Agent page](https://openagent3.xyz/skills/governance/agent)
- [JSON manifest](https://openagent3.xyz/skills/governance/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/governance/agent.md)
- [Download page](https://openagent3.xyz/downloads/governance)