{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/governance",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=governance",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "skill.json",
      "src/index.ts",
      "test-read.mjs"
    ],
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/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/governance",
    "agentPageUrl": "https://openagent3.xyz/skills/governance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/governance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/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": "XPR Network Governance",
        "body": "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."
      },
      {
        "title": "Key Concepts",
        "body": "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.\nProposals — 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.\nVoting Strategies — determine who can vote and how vote weight is calculated:\n\nxpr-unstaked-and-staked-balances — weight = XPR balance (staked + unstaked)\nxmt-balances — weight = XMT balance\nloan-and-sloan-balances — weight = LOAN + sLOAN balance\nkyc-verification — 1 vote per KYC-verified account\n\n\nVoting Systems — \"0\" = single choice, \"1\" = multiple choice, \"2\" = ranked choice, \"5\" = approval voting\nQuorum — minimum participation threshold (basis points, e.g. 300 = 3%)\nProposal Fee — token payment required to create a proposal (varies by community, e.g. 20,000 XPR, 100 XMT, 50,000 LOAN)"
      },
      {
        "title": "Active Communities",
        "body": "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%"
      },
      {
        "title": "Read-Only Tools (safe, no signing)",
        "body": "gov_list_communities — list all governance communities with strategies, fees, quorum, and admins\ngov_list_proposals — list proposals with optional community and status filters\ngov_get_proposal — get full proposal details including title and description from Gov API, plus vote totals per candidate\ngov_get_votes — get individual votes cast on a proposal (scans from most recent)\ngov_get_config — get governance global config (paused state, total counts)"
      },
      {
        "title": "Write Tools (require confirmed: true)",
        "body": "gov_vote — vote on an active proposal. Specify the candidate(s) and weight.\ngov_post_proposal — create a new governance proposal. Requires paying the community's proposal fee (token transfer + postprop action in one transaction)."
      },
      {
        "title": "Voting",
        "body": "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."
      },
      {
        "title": "Creating Proposals",
        "body": "Creating a proposal requires:\n\nA content ID — created via the Gov API (https://gov.api.xprnetwork.org)\nPaying the community's proposal fee (token transfer to gov)\nCalling postprop with all proposal parameters\n\nThe gov_post_proposal tool handles steps 2 and 3 (fee + postprop). You must provide the content ID from step 1."
      },
      {
        "title": "Proposal URLs",
        "body": "Proposals can be viewed at: https://gov.xprnetwork.org/communities/{communityId}/proposals/{proposalId}"
      },
      {
        "title": "Safety Rules",
        "body": "Proposals have start and end times — voting is only allowed during the active period\nEach community has different fee tokens — check the community's proposalFee before creating proposals\nQuorum is in basis points (300 = 3%) — proposals need sufficient participation to pass\nAdmins can approve/decline proposals — the approve field shows the final status"
      }
    ],
    "body": "XPR Network Governance\n\nYou 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.\n\nKey Concepts\nCommunities — 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.\nProposals — 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.\nVoting Strategies — determine who can vote and how vote weight is calculated:\nxpr-unstaked-and-staked-balances — weight = XPR balance (staked + unstaked)\nxmt-balances — weight = XMT balance\nloan-and-sloan-balances — weight = LOAN + sLOAN balance\nkyc-verification — 1 vote per KYC-verified account\nVoting Systems — \"0\" = single choice, \"1\" = multiple choice, \"2\" = ranked choice, \"5\" = approval voting\nQuorum — minimum participation threshold (basis points, e.g. 300 = 3%)\nProposal Fee — token payment required to create a proposal (varies by community, e.g. 20,000 XPR, 100 XMT, 50,000 LOAN)\nActive Communities\nID\tName\tStrategy\tFee\tQuorum\n3\tXPR Network\tXPR balances\t20,000 XPR\t3%\n4\tMetal DAO\tXMT balances\t100 XMT\t3%\n5\tLOAN Protocol\tLOAN+sLOAN\t50,000 LOAN\t25%\n6\tXPR Grants\tXPR balances\t20,000 XPR\t3%\n7\tMetal X\tXPR balances\t20,000 XPR\t3%\n8\tD.O.G.E.\tKYC verification\t1 XDOGE\t0.01%\nRead-Only Tools (safe, no signing)\ngov_list_communities — list all governance communities with strategies, fees, quorum, and admins\ngov_list_proposals — list proposals with optional community and status filters\ngov_get_proposal — get full proposal details including title and description from Gov API, plus vote totals per candidate\ngov_get_votes — get individual votes cast on a proposal (scans from most recent)\ngov_get_config — get governance global config (paused state, total counts)\nWrite Tools (require confirmed: true)\ngov_vote — vote on an active proposal. Specify the candidate(s) and weight.\ngov_post_proposal — create a new governance proposal. Requires paying the community's proposal fee (token transfer + postprop action in one transaction).\nVoting\n\nTo 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.\n\nCreating Proposals\n\nCreating a proposal requires:\n\nA content ID — created via the Gov API (https://gov.api.xprnetwork.org)\nPaying the community's proposal fee (token transfer to gov)\nCalling postprop with all proposal parameters\n\nThe gov_post_proposal tool handles steps 2 and 3 (fee + postprop). You must provide the content ID from step 1.\n\nProposal URLs\n\nProposals can be viewed at: https://gov.xprnetwork.org/communities/{communityId}/proposals/{proposalId}\n\nSafety Rules\nProposals have start and end times — voting is only allowed during the active period\nEach community has different fee tokens — check the community's proposalFee before creating proposals\nQuorum is in basis points (300 = 3%) — proposals need sufficient participation to pass\nAdmins can approve/decline proposals — the approve field shows the final status"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/paulgnz/governance",
    "publisherUrl": "https://clawhub.ai/paulgnz/governance",
    "owner": "paulgnz",
    "version": "0.2.11",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}