用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/javimosch/open-claw-skills --skill governance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | governance |
| description | XPR Network governance — communities, proposals, voting on the gov contract |
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.
xpr-unstaked-and-staked-balances — weight = XPR balance (staked + unstaked)xmt-balances — weight = XMT balanceloan-and-sloan-balances — weight = LOAN + sLOAN balancekyc-verification — 1 vote per KYC-verified account"0" = single choice, "1" = multiple choice, "2" = ranked choice, "5" = approval voting| ID | Name | Strategy | Fee | Quorum |
|---|---|---|---|---|
| 3 | XPR Network | XPR balances | 20,000 XPR | 3% |
| 4 | Metal DAO | XMT balances | 100 XMT | 3% |
| 5 | LOAN Protocol | LOAN+sLOAN | 50,000 LOAN | 25% |
| 6 | XPR Grants | XPR balances | 20,000 XPR | 3% |
| 7 | Metal X | XPR balances | 20,000 XPR | 3% |
| 8 | D.O.G.E. | KYC verification | 1 XDOGE | 0.01% |
gov_list_communities — list all governance communities with strategies, fees, quorum, and adminsgov_list_proposals — list proposals with optional community and status filtersgov_get_proposal — get full proposal details including title and description from Gov API, plus vote totals per candidategov_get_votes — get individual votes cast on a proposal (scans from most recent)gov_get_config — get governance global config (paused state, total counts)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).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 a proposal requires:
content ID — created via the Gov API (https://gov.api.xprnetwork.org)gov)postprop with all proposal parametersThe gov_post_proposal tool handles steps 2 and 3 (fee + postprop). You must provide the content ID from step 1.
Proposals can be viewed at: https://gov.xprnetwork.org/communities/{communityId}/proposals/{proposalId}
proposalFee before creating proposalsapprove field shows the final status基于 SOC 职业分类