ballot-endorsement-guide: Skill for Claude Code

.claude/skills/fork-and-customize/SKILL.md

fork-and-customize is a skill for Claude Code from MisterClean/ballot-endorsement-guide. It costs 57 tokens per session (4,860 once invoked), scanned A, original, MIT.

An interactive guide for adapting a Next.js ballot-endorsement website to a different organization, election, or geographic area. Next.js is a framework for building web applications.

In plain words
What is it for?
Use it to update branding, districts, endorsements, geocoding, styling, and deployment configuration.
Why use it?
It helps users work through the many project settings and data changes needed when reusing the application.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is MisterClean/ballot-endorsement-guide's own configuration. It tells Claude Code how to work on ballot-endorsement-guide itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ballot-endorsement-guide configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MisterClean/ballot-endorsement-guide. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MisterClean/ballot-endorsement-guide/main/.claude/skills/fork-and-customize/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MisterClean/ballot-endorsement-guide

Made for: Claude Code.

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 fork-and-customize

README.md
[![agentmods](https://agentmods.dev/badge/skills/misterclean/ballot-endorsement-guide/fork-and-customize/github.svg)](https://agentmods.dev/skills/misterclean/ballot-endorsement-guide/fork-and-customize)
Your own site
<a href="https://agentmods.dev/skills/misterclean/ballot-endorsement-guide/fork-and-customize"><img src="https://agentmods.dev/badge/skills/misterclean/ballot-endorsement-guide/fork-and-customize/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 fork-and-customize

Your own site · 80×15
<a href="https://agentmods.dev/skills/misterclean/ballot-endorsement-guide/fork-and-customize"><img src="https://agentmods.dev/badge/skills/misterclean/ballot-endorsement-guide/fork-and-customize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00057 $0.04860
Opus 5 $0.00028 $0.02430
Sonnet 5 $0.00011 $0.00972
Haiku 4.5 $0.00006 $0.00486

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

Security

Grade A, and why

fork-and-customize scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "http://localhost:3000/api/lookup?lat=<lat>&lng=<lng>"
.claude/skills/fork-and-customize/SKILL.md · 566 lines

How it starts

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

Fork & Customize — Ballot Endorsement Guide

You are helping a user fork and customize the ballot-endorsement-guide repository for their own organization, election, and jurisdiction. This is a headless Next.js full-stack app that lets an organization show their followers which candidates they have endorsed on that voter's specific ballot.

Work through the sections below in order. Each section has a goal and a set of questions to ask. Do not skip ahead — wait for the user's answers before proceeding. Summarize what you will change at the end of each section before making edits.


Phase 0 — Orientation

Before you start, make sure you understand the repo layout. The key files you will be editing:

File Purpose
frontend/src/lib/app-config.ts Central config hub — branding, geography, district layers, geocoding provider
frontend/src/app/globals.css Color theme (Tailwind CSS 4 @theme inline block)
frontend/src/app/layout.tsx Fonts and HTML metadata
frontend/src/app/page.tsx Main UI — header, address input, results table, footer
frontend/data/endorsements.yaml The endorsement dataset
frontend/data/district-maps/<state-slug>/ GeoJSON boundary and district shapefiles
frontend/src/lib/geocoding/providers.ts Geocoding provider implementations
frontend/src/lib/geocoding/types.ts GeocodingProviderName union type
frontend/src/lib/geocoding/index.ts Provider factory
Dockerfile Docker production build
railway.toml Railway deployment config

Read frontend/src/lib/app-config.ts first — it is the single source of truth that drives everything else.


Phase 1 — Organization Branding

Goal: Re-skin the app for the user's organization.

Questions to ask

  1. Do you have an existing website I can view to pull branding from? (colors, logo, fonts, tone). If yes, use WebFetch to visit the site and extract:
    • Primary, secondary, and accent colors
    • Font families (display + body)
    • Organization name and tagline
    • Any logo or favicon assets

Read the full file on GitHub · 566 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. 11d ago First seen · 566 lines · 57 tokens per session scan A fb8fa2863a4f

Subscribe to this mod's changes

fork-and-customize is a skill published in the GitHub repository MisterClean/ballot-endorsement-guide (2 stars, last pushed 7mo ago), licensed MIT. It adds 57 tokens to every session and 4,860 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

portaljs-add-map

Render a GeoJSON dataset on an interactive Leaflet map in the Views section of a dataset's showcase. Installs react-leaflet and a Map component, then renders the map for the chosen dataset. Use when a dataset's data is geographic and a map view is needed alongside the showcase's default metadata and download.

datopian/portaljs · 69 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

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

shadcn-ui/ui · 61 tokens

copilotkit-integrations

Use when wiring an external agent framework (LangGraph, CrewAI, PydanticAI, Mastra, ADK, LlamaIndex, Agno, Strands, Microsoft Agent Framework, or others) into a CopilotKit application via the AG-UI protocol.

CopilotKit/CopilotKit · 61 tokens

a2ui-renderer

Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via . Auto-activates via /info — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit/react-core/v2; low-level primitives…

CopilotKit/CopilotKit · 175 tokens

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens