governance-specialist

governance-specialist is an agent for Claude Code from omermaksutii/RugProof. It costs 45 tokens per session (784 once invoked), scanned A, original, MIT.

A specialist for auditing governance contracts, the code that lets token holders or other participants propose, vote on, and execute changes. It covers systems such as OpenZeppelin Governor, Compound Governor, DAOs, timelocks, and governance multisigs.

In plain words
What is it for?
Use it to review vote snapshots, flash-loan voting, quorum rules, timelock delays, cancellation rights, emergency paths, and privileged governance roles.
Why use it?
It helps find ways voting power, proposal timing, quorum, or administrative permissions could let someone change a protocol unfairly or too quickly.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the rugproof plugin — 35 commands, 23 agents shipped together

Good fit Use it to review vote snapshots, flash-loan voting, quorum rules, timelock delays, cancellation rights, emergency paths, and privileged governance roles.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/omermaksutii/rugproof/governance-specialist
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/omermaksutii/RugProof

Made for: Claude Code.

Or install rugproof, the plugin that ships this one along with the rest of its 35 commands, 23 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for governance-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/omermaksutii/rugproof/governance-specialist/github.svg)](https://agentmods.dev/agents/omermaksutii/rugproof/governance-specialist)
Your own site
<a href="https://agentmods.dev/agents/omermaksutii/rugproof/governance-specialist"><img src="https://agentmods.dev/badge/agents/omermaksutii/rugproof/governance-specialist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for governance-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/omermaksutii/rugproof/governance-specialist"><img src="https://agentmods.dev/badge/agents/omermaksutii/rugproof/governance-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00784
Opus 5 $0.00023 $0.00392
Sonnet 5 $0.00009 $0.00157
Haiku 4.5 $0.00005 $0.00078

Measured 9d ago against content hash 697f1ce85127, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

governance-specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/governance-specialist.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You audit governance contracts. Governance = the protocol can attack itself; audit accordingly.

Detect the governance flavor

  • OZ Governor (modular: Counting, Voting, Quorum, Settings)
  • Compound Governor Bravo (Alpha, Bravo, Cosmic forks)
  • Aragon, Tally, Snapshot off-chain + on-chain execution
  • Multisig-as-governance (Gnosis Safe with modules)
  • veToken governance (Curve, Frax)

Specific audit areas

Vote-weight capture

  • Voting delay — is there a delay between proposalCreated and votingStart? (Aave: 1 day, Compound: ~12k blocks.)
  • Snapshot timing — at proposal create vs at votingStart? (OZ V4 vs V5 changed this.)
  • Flash-loan voting susceptibility (related to delay + snapshot)
  • ERC20Votes checkpoints — delegated correctly?
  • veToken voting power decay over time
  • Off-chain voting + on-chain execution — Snapshot-style — vulnerable to off-chain manipulation

Quorum

  • Quorum % vs total supply
  • Quorum at snapshot vs at execution
  • Dynamic quorum (decays / grows based on participation)

Timelock

  • Delay length (24h? 48h? 7d?)
  • Bypass paths: executeBatch without delay? Emergency execute?
  • Timelock admin role: who can updateDelay? Who can cancel?
  • Timelock independent of governor — required for safety

Execution

  • execute re-entrancy via callback target
  • execute callvalue not validated against proposed value
  • Proposal-action target validation (denylist of admin functions on the timelock itself)
  • Execution failure rollback (atomic? per-action?)

Proposal lifecycle

  • Proposal stuffing (spam to delay other proposals)
  • Proposal cancellation: who can cancel? Author only? Anyone?
  • Proposal threshold (anti-spam) — too low → DOS, too high → too centralized
  • Re-submission of cancelled proposals — replay?

Specific attack patterns

  • Flash-loan vote: borrow→vote→repay in one block. Voting delay defends; absence is Critical.
  • Multi-proposal vote-stacking
  • Timelock bypass via execute(target=timelock, fn=updateDelay) — set delay to 0 then re-execute
  • Token-claim front-running on snapshot block

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 85 lines · 45 tokens per session scan A 697f1ce85127

Subscribe to this mod's changes

governance-specialist is an agent published in the GitHub repository omermaksutii/RugProof (9 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 784 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

chainaware-gamefi-screener

Screens wallets connecting to a Web3 game or P2E (Play-to-Earn) platform using ChainAware's Behavioral Prediction MCP. Detects bot farms, multi-account cheaters, and reward abusers, then classifies legitimate players into experience tiers for matchmaking and calculates their P2E reward eligibility. Use this agent…

ChainAware/behavioral-prediction-mcp · 247 tokens

chainaware-lead-scorer

Scores a wallet as a sales lead using ChainAware's Behavioral Prediction MCP. Returns a lead score (0–100), a lead tier (Hot / Warm / Cold / Dead), a conversion probability, and a recommended outreach angle — so sales and marketing teams know exactly which wallets to prioritise and how to approach them. Use this agent…

ChainAware/behavioral-prediction-mcp · 253 tokens

chainaware-lending-risk-assessor

Assesses borrower risk for DeFi lending by combining fraud probability, on-chain experience, and risk appetite from ChainAware's Behavioral Prediction MCP. Returns a Borrower Risk Grade (A–F), a recommended collateral ratio, and an interest rate tier — so lending protocols can price risk per wallet rather than…

ChainAware/behavioral-prediction-mcp · 249 tokens

chainaware-marketing-director

Full-cycle marketing campaign orchestrator for Web3 platforms. Takes a wallet list (or single wallet), a plain-text platform description, and a campaign goal — then orchestrates ChainAware's specialist subagents to produce a complete Marketing Campaign Brief: segmented audience, prioritized leads, whale roster…

ChainAware/behavioral-prediction-mcp · 244 tokens

chainaware-portfolio-risk-advisor

Assesses the rug pull risk and community health of a token portfolio using ChainAware's Behavioral Prediction MCP. Scans every token in the portfolio through predictiverugpull (works for all contracts on ETH, BNB, BASE, HAQQ), enriches with community rank data from tokenranksingle where available (pre-calculated index…

ChainAware/behavioral-prediction-mcp · 290 tokens

chainaware-rwa-investor-screener

Screens wallets seeking to invest in tokenized Real World Assets (RWA) using ChainAware's Behavioral Prediction MCP. Assesses AML compliance, fraud risk, on-chain experience (proxy for investor sophistication), and risk profile alignment against the RWA's risk tier — then returns an investor Suitability Tier…

ChainAware/behavioral-prediction-mcp · 318 tokens