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.
In practice: save the stances you care about, then use ballot prep, candidate finance research, and draft-only outreach against that same stance list. Drafts stay on your machine until you send them — PolitiClaw never posts or mails for you.
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.
Outreach is draft-only — PolitiClaw never sends mail, posts on your behalf, or routes your message through a political platform, so accountability stays in your hands instead of a vendor's.
Coverage today is federal: bills and House roll-call votes through api.congress.gov, Senate roll-call votes through voteview.com, ballots through Google Civic.
State legislation and local races are not yet wired and are tracked as roadmap entries on the plugin README; the docs distinguish wired providers from optional upgrades and transport-pending adapters. For the goal-indexed scope boundaries, see current coverage.
The plugin registers tools and slash commands with your OpenClaw gateway (plus a local dashboard route). Under the hood, those tools talk to provider adapters (api.congress.gov for federal bills, House votes, and committee schedules — key from api.data.gov; voteview.com for Senate votes; Google Civic for ballots; optional Geocodio for reps-by-address; FEC OpenFEC via the same api.data.gov key). The agent can call tools like politiclaw_doctor, politiclaw_configure, politiclaw_issue_stances, politiclaw_get_my_reps, politiclaw_election_brief, and more. Cron templates install when you finish setup/politiclaw_configure, and the gateway runs them on your chosen cadence.
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 — look up a federal candidate, or compare filed challengers for your stored reps.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.