counterpoise-ledger: Skill for Claude Code

.claude/skills/verify/SKILL.md

verify is a skill for Claude Code from jeffjjohnston/counterpoise-ledger. It costs 41 tokens per session (542 once invoked), scanned A, original, MIT.

A runtime-checking recipe for Counterpoise, a web application, that uses a local development server, seeded test data, and browser automation to verify interface changes.

In plain words
What is it for?
Starting the development app, logging in with test credentials, opening the transactions page, and interacting with transaction rows to check the changed behavior.
Why use it?
It helps confirm that a UI change works in the running app rather than only passing code-level tests, while avoiding confusion with deployed code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is jeffjjohnston/counterpoise-ledger's own configuration. It tells Claude Code how to work on counterpoise-ledger 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 counterpoise-ledger configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jeffjjohnston/counterpoise-ledger. 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/jeffjjohnston/counterpoise-ledger/main/.claude/skills/verify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jeffjjohnston/counterpoise-ledger

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 verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffjjohnston/counterpoise-ledger/verify/github.svg)](https://agentmods.dev/skills/jeffjjohnston/counterpoise-ledger/verify)
Your own site
<a href="https://agentmods.dev/skills/jeffjjohnston/counterpoise-ledger/verify"><img src="https://agentmods.dev/badge/skills/jeffjjohnston/counterpoise-ledger/verify/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 verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffjjohnston/counterpoise-ledger/verify"><img src="https://agentmods.dev/badge/skills/jeffjjohnston/counterpoise-ledger/verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 542 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.00041 $0.00542
Opus 5 $0.00020 $0.00271
Sonnet 5 $0.00008 $0.00108
Haiku 4.5 $0.00004 $0.00054

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

Security

Grade A, and why

verify 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.

.claude/skills/verify/SKILL.md · 45 lines

How it starts

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

Maintainer setup — adapt paths for your fork. Container names are pinned by name: in docker-compose.yml, so those are the same in every checkout.

Verifying Counterpoise changes at runtime

Launch

When the production Docker container (counterpoise-app-1) is running locally, it holds port 3000 and serves deployed code — not your working tree. Always run the dev server on another port so the two can't be confused:

PORT=3001 npm run dev   # background it; ready when /login returns 200

The dev server uses the counterpoise_dev PostgreSQL database (Docker Compose must be up: docker compose up -d).

Login

Seeded dev credentials: username admin, password password (created by npm run db:seed). Log in at /login, then navigate to /b/1/transactions (seed book id is 1, "Family Finances").

Drive

  • Playwright MCP tools (mcp__plugin_playwright_playwright__browser_*) work well; load via ToolSearch first.
  • The transactions page redirects to a favorite account (?accountId=N) on load.
  • Find target rows via browser_evaluate over tbody tr; right-click with browser_click + button: "right"; the row actions menu is [role="menu"] with [role="menuitem"] children. The ⋯ overflow button is button[aria-label="Transaction actions"].
  • Toasts auto-dismiss quickly — query for them within ~1s of the action (a browser_evaluate that clicks and then polls in the same call works).

Data

Pick target rows by querying the dev DB directly:

PGPASSWORD=counterpoise psql -h localhost -U counterpoise -d counterpoise_dev

Dev data is disposable seed data, but restore any rows you mutate (UPDATE back to original values) so repeat runs stay deterministic. Note: .env.production.local credentials + database counterpoise (no _dev) is the production DB — don't mutate it during verification.

Cleanup

Kill the dev server (pkill -f "next dev"), delete .playwright-mcp/ and stray screenshots from the repo root before committing.

Read the full file on GitHub · 45 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 · 45 lines · 41 tokens per session scan A 35fd4ad9681e

Subscribe to this mod's changes

verify is a skill published in the GitHub repository jeffjjohnston/counterpoise-ledger (6 stars, last pushed 11d ago), licensed MIT. It adds 41 tokens to every session and 542 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 skills, from other repositories