whose-government

whose-government is a skill for Claude Code, Codex from pranava0x0/Commonwealth-MCP. It costs 105 tokens per session (1,322 once invoked), scanned A, original, Apache-2.0.

A Virginia government lookup skill that identifies the county, independent city, or town responsible for a place. An independent city is governed separately from any county, even when they share a name.

In plain words
What is it for?
Finding the government for an address, ZIP code, place name, parcel, or map coordinate before checking permits, taxes, zoning, or other local records.
Why use it?
It prevents records from being checked against the wrong local government, which can make an otherwise careful answer incorrect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the commonwealth-mcp plugin — 6 skills, 1 MCP server shipped together

Good fit Finding the government for an address, ZIP code, place name, parcel, or map coordinate before checking permits, taxes, zoning, or other local records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pranava0x0/commonwealth-mcp/whose-government
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.

Any agent
npx skills add pranava0x0/Commonwealth-MCP --skill whose-government
Clone the repo
git clone --depth 1 https://github.com/pranava0x0/Commonwealth-MCP

Made for: Claude Code, Codex.

Or install commonwealth-mcp, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

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 whose-government

README.md
[![agentmods](https://agentmods.dev/badge/skills/pranava0x0/commonwealth-mcp/whose-government/github.svg)](https://agentmods.dev/skills/pranava0x0/commonwealth-mcp/whose-government)
Your own site
<a href="https://agentmods.dev/skills/pranava0x0/commonwealth-mcp/whose-government"><img src="https://agentmods.dev/badge/skills/pranava0x0/commonwealth-mcp/whose-government/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 whose-government

Your own site · 80×15
<a href="https://agentmods.dev/skills/pranava0x0/commonwealth-mcp/whose-government"><img src="https://agentmods.dev/badge/skills/pranava0x0/commonwealth-mcp/whose-government.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,322 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.00105 $0.01322
Opus 5 $0.00053 $0.00661
Sonnet 5 $0.00021 $0.00264
Haiku 4.5 $0.00011 $0.00132

Measured yesterday against content hash 25b30155e808, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

whose-government 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 yesterday.

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.

plugins/commonwealth-mcp/skills/whose-government/SKILL.md · 119 lines

How it starts

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

Whose government

This is the first step of nearly every other question about a place, and the one that goes wrong silently. A parcel ID, a permit, a tax rate, and a zoning district all belong to a specific government, and answering with the wrong one produces a confident, well-sourced, wrong answer.

1. Establish the frame

Virginia's structure is the reason this needs a walk rather than a lookup.

  • 95 counties and 38 independent cities. An independent city is not inside any county. Fairfax City is not in Fairfax County, Richmond City is not in Richmond County, and the two Richmonds are at opposite ends of the state.
  • 189 incorporated towns, each inside a county. A town and its county both govern that ground, and they govern different things.
  • Three cities gave up their charters and became towns — South Boston in 1995, Clifton Forge in 2001, Bedford in 2013. Someone asking about "Bedford City" is asking about a government that no longer exists, and the right answer names the town it became.

2. Minimum data walk

Take whichever input the caller gave and stop as soon as the government is established. This walk has no second step for most inputs.

A name. Resolve it directly. Three outcomes, and they are different:

  • One match. Report it with the stack above it.
  • Several matches. Stop. The result carries candidates with a distinguisher for each ("independent city, not the county"). Show them and ask. Do not pick, and do not use surrounding context to guess: the caller who says "Fairfax" may well mean the one you would not have chosen.
  • A former name. "Bedford City" resolves to the town with a note saying the charter was given up and when. Pass the note on; someone using the old name is often working from an old document, and that matters to whatever they do next.

A street address. Geocode it with geocode.address, then place the resulting point. Two things to carry through:

  • The postal city is not the government. Mail addressed to Alexandria is frequently in Fairfax County. Say both, and say which is which.
  • The geocoder may return several candidates in different governments. When it does, that is an ambiguous address, not a ranked list. Show the candidates rather than taking the highest score.

Read the full file on GitHub · 119 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. yesterday Changed · +3 lines 25b30155e808
  2. 7d ago First seen · 116 lines · 105 tokens per session scan A f713ab64db59

Subscribe to this mod's changes

whose-government is a skill published in the GitHub repository pranava0x0/Commonwealth-MCP (0 stars, last pushed today), licensed Apache-2.0. It adds 105 tokens to every session and 1,322 once invoked, about $0.0005 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-09-04.

Related

Other skills, from other repositories

arcgis-portal-mcp

MCP server for ArcGIS Portal and ArcGIS Online. 70 tools for search, inspect, publish, query, manage, audit, and administer ArcGIS content. Use when: the user wants to work with feature services, web maps, layers, groups, users, webhooks, or portal administration through an AI assistant.

Asem-D/arcgis-portal-mcp · 73 tokens

forthepeople-district-expansion

Skill for expanding ForThePeople.in to new districts. Use when adding Bengaluru Urban, Mysuru, or any new Indian district to the platform. Triggers: 'add district', 'expand to Bangalore', 'expand to Mysore', 'unlock district', 'new city', 'seed data for district', 'add Bengaluru', 'add Mysuru', 'district-specific…

jayanthmb14/forthepeople · 145 tokens

ai-news-intelligence

AI News Intelligence pipeline for ForThePeople.in. Use this skill when building, debugging, or extending the automated news analysis system that reads Indian news, extracts civic data, and updates the district dashboard. Triggers: 'AI intelligence', 'news pipeline', 'Gemini analyzer', 'auto-update from news'…

jayanthmb14/forthepeople · 106 tokens

indonesia-civic-stack

Query Indonesian government data portals via Python SDK, MCP tools, or REST API. 11 modules covering BPOM (food/drug), BPJPH (halal), AHU (companies), OJK (finance), OSS (business ID), LPSE (procurement), KPU (elections), LHKPN (wealth declarations), BPS (statistics), BMKG (weather/earthquakes), SIMBG (building…

suryast/indonesia-civic-stack · 127 tokens

indian-district-hierarchy

Complete Indian district administrative hierarchy for ForThePeople.in. Use this skill when building leadership pages, org charts, hierarchy visualizations, or seeding officer data for any Indian district. Triggers: 'district hierarchy', 'leadership org chart', 'who governs', 'district officers', 'tahsildar', 'block…

jayanthmb14/forthepeople · 113 tokens

forthepeople-blueprint

Complete blueprint for building ForThePeople.in — India's citizen transparency platform. Use this skill whenever building ANY component, page, dashboard, scraper, API, database model, or UI element for ForThePeople.in. This includes: district dashboards, budget trackers, crop price modules, interactive maps…

jayanthmb14/forthepeople · 189 tokens