agentleFS
vaquarkhanvaquarkhan/web3-agent-skills/skills/skill-05-dao-governance/SKILL.md

skill-05-dao-governance

Skill2 starsChanged 6 months agoMITView on GitHub

Manages DAO governance including proposals, voting, delegation, treasury management, and timelocks. Use when interacting with Governor contracts, Snapshot, or DAO treasuries.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check voting power at proposal.startBlock snapshot

    line 52
  2. Very specific:

    Use getVotes(account, blockNumber) to verify power

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DAO Governance

When to Use

  • Creating or voting on governance proposals
  • Managing vote delegation
  • Interacting with DAO treasuries (Gnosis Safe, timelocks)
  • Analyzing proposal outcomes and quorum
  • Configuring on-chain vs off-chain (Snapshot) governance

Prerequisites

  • MCP: blockchain-rpc-server, defi-protocol-server
  • Skills: skill-02, skill-09 (treasury compliance)

Workflow

1. Governance Frameworks

FrameworkVotingExecution
OpenZeppelin GovernorOn-chainTimelockController
Compound Governor BravoOn-chainTimelock
SnapshotOff-chain (signed)Multisig execution
Aragon OSxOn-chainPlugin-based

2. Proposal Lifecycle

  1. Draft — encode calls array (targets, values, calldatas)
  2. Submit — propose(targets, values, calldatas, description)
  3. Voting delay — wait votingDelay blocks
  4. Voting period — cast votes (for/against/abstain)
  5. Queue — if quorum met and majority for
  6. Timelock delay — wait timelock.delay()
  7. Execute — execute(targets, values, calldatas, descriptionHash)

3. Voting

governor.castVote(proposalId, support); // 0=against, 1=for, 2=abstain
governor.castVoteWithReason(proposalId, support, reason);
  • Check voting power at proposal.startBlock snapshot
  • Delegate before snapshot block to activate voting power
  • Use getVotes(account, blockNumber) to verify power

4. Delegation

  • Self-delegate to activate token voting power
  • Delegate to trusted representative
  • Monitor delegate voting history before delegating

5. Treasury Management

  • Treasuries typically held in Gnosis Safe or TimelockController
  • Large withdrawals require multi-sig + timelock
  • Screen all outbound transfers via compliance MCP
  • Diversify and report per DAO transparency standards

Analysis

For each proposal, report:

  • Quorum required vs current votes
  • For/against split and notable voters
  • Impact of executable calls (token transfers, parameter changes)
  • Timelock ETA if passed

References

  • references/governor-bravo.md
  • references/snapshot-integration.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.