Appearance
Appearance
politiclawPolitiClaw is a local-first civic copilot — an OpenClaw plugin that learns the stances you care about, watches federal legislation and your reps' roll-call votes (House and Senate) for you, and flags when their actions align (or don't) with those stances. It drafts letters you send yourself; it never speaks on your behalf and never tells you how to vote. The docs split into a narrative guide you read end-to-end and a reference generated from the current implementation.
PolitiClaw is a local-first civic copilot that holds your representatives accountable to the values you declare. It learns the stances you care about, watches federal legislation and federal roll-call votes (House and Senate) on your behalf, and flags when your reps' actions align — or don't — with those stances. Ballot prep, candidate finance research, and draft-only outreach all build on the same stance-driven loop. Your queries never touch a third-party political platform.
Everything structured lives in plugin-owned storage on your machine. Outbound network calls happen only when a tool needs a provider-backed answer, and the source coverage page is explicit about which providers are wired today versus not yet implemented.
The plugin registers three things with your OpenClaw gateway: a pool of provider adapters (api.data.gov for federal bills, House votes, and FEC finance; voteview.com for Senate votes; Google Civic for ballots; Geocodio as an optional rep-lookup upgrade), a tool bundle the agent can call (politiclaw_doctor, politiclaw_configure, politiclaw_issue_stances, politiclaw_get_my_reps, politiclaw_election_brief, …), and a set of cron templates the gateway schedules for monitoring.
providers: external network sources reached only when a tool needs a provider-backed answer (api.congress.gov, voteview.com, Google Civic, Geocodio, FEC). local storage: plugin-owned files on your machine (SQLite database for structured records; cached shapefiles for the zero-key reps-by-address path).
For the exact runtime wiring, read the architecture notes and the source coverage matrix.
api.data.gov key against api.congress.gov; Senate roll-call votes through voteview.com (zero-key).api.data.gov key, scoped for candidate and committee research.Install into a running OpenClaw gateway, then reload the gateway (or restart the OpenClaw app) so the new tools register.
openclaw plugins install clawhub:@politiclaw/politiclawPrefer npm? openclaw plugins install @politiclaw/politiclaw works too.
From inside OpenClaw, confirm the plugin registered and storage looks healthy:
/politiclaw-version /politiclaw-doctor
Use the setup slash command for the next prompt, then ask the agent to call the setup tool with your address.
/politiclaw-setup # ask the agent to call politiclaw_configure with your address politiclaw_get_my_reps # optional agent-tool verification
Need the long version? See installation & verification and configuration.
Runtime-backed reference pages — tools, config schema, source coverage, cron jobs, skills, storage schema — are generated from the current implementation. Prose guides stay short and practical because the exact facts live in the generated pages next door.
apiDataGov, googleCivic, geocodio) and the gateway-restart contract.