โ† All skills
Tencent SkillHub ยท Content Creation

xpr-governance

Interact with XPR Network on-chain governance: view communities, proposals, vote with weighted tokens, and create proposals paying community fees.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Interact with XPR Network on-chain governance: view communities, proposals, vote with weighted tokens, and create proposals paying community fees.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, skill.json, src/index.ts, test-read.mjs

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.2.11

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

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

Category context

Writing, remixing, publishing, visual generation, and marketing content production.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Scripts1 Docs1 Config
  • SKILL.md Primary doc
  • src/index.ts Scripts
  • test-read.mjs Scripts
  • skill.json Config