postern: Skill for Claude Code

.claude/skills/verify/SKILL.md

verify is a skill for Claude Code from getpostern/postern. It costs 37 tokens per session (2,485 once invoked), scanned A, original, Apache-2.0.

A skill that defines this repository's required verification checks, including type checking, tests, and database-backed tests.

In plain words
What is it for?
It is for verifying source code and the web app, running the unit suite, and running tests that use a temporary PostgreSQL database.
Why use it?
It makes the project's quality gate explicit so an agent knows which checks to run before declaring work complete.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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/getpostern/postern/verify/github.svg)](https://agentmods.dev/skills/getpostern/postern/verify)
Your own site
<a href="https://agentmods.dev/skills/getpostern/postern/verify"><img src="https://agentmods.dev/badge/skills/getpostern/postern/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/getpostern/postern/verify"><img src="https://agentmods.dev/badge/skills/getpostern/postern/verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,485 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.00037 $0.02485
Opus 5.5 $0.00015 $0.00994
Sonnet 5.5 $0.00007 $0.00497
Haiku 4.5 $0.00004 $0.00248

Measured 2mo ago against content hash 78c9650eec4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 · 77 lines

How it starts

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

Verification gate

This file is the one place the repo's verification commands are written down. Other skills point here rather than restating them. Run the ones your change can reach; run all five before declaring a unit done.

Command Covers Note
npm run typecheck tsc --noEmit over src/ only — tsconfig.json:include is ["src"] Never sees apps/web. Green here says nothing about the Console.
npm run typecheck --prefix apps/web The Console's own tsc --noEmit Its own tsconfig, its own React types. Worth running whenever you touched apps/web.
npm run build --prefix apps/web tsc --noEmit && vite build The bundle proof on top of the typecheck. This is the Console leg of a merge gate.
npm test vitest run over the whole repo, including apps/web/**/*.test.tsx DB suites skip without DATABASE_URL — see below.
npm run test:db The whole DB-backed suite, against a throwaway Postgres of its own Needs no db:up, no compose file, and works from a worktree. Brings up its own container (pci-throwaway-testdb, port 55432, no volume) and starts the runtime if needed.
npm run test:db:file -- <path> One DB-backed file, same throwaway ~2 s instead of ~40 s for all 170. Anything after -- reaches vitest, so -t "name" works too.
npm run test:db:reap Removes the throwaway container Nothing persists in it anyway; this is just disk.

CI runs, in this order: npm ci · npm ci --prefix apps/web · npm run typecheck · npm run typecheck --prefix apps/web · npm run build · npm run migrate · npm test · npm run lint · npm audit --omit=dev --audit-level=high. Read .github/workflows/ci.yml — it is the authoritative sequence.

The test-DB guard — the detail behind the CLAUDE.md rule

CLAUDE.md states the rule (disposable *_test DB only; PCI_TEST_DB=1 is a full bypass). What it doesn't carry, and what makes the rule concrete:

Which suite does the damage. src/rest/admin.db.test.ts drives the revoke/erase paths, deleting seed-user provider_credentials and FK-cascading every domain row beneath them. On 2026-06-17 a run against the live pci database destroyed ~700 real finance rows that way (ADR docs/specs/decisions/0015-test-db-isolation.md).

Read the full file on GitHub · 77 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. 2mo ago First seen · 77 lines · 37 tokens per session scan A 78c9650eec4a

Subscribe to this mod's changes

verify is a skill published in the GitHub repository getpostern/postern (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 37 tokens to every session and 2,485 once invoked, about $0.0001 per session on Opus 5.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

verify compared with skills from other repositories

verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verifygetpostern/posternSkill22d agoApache-2.0A37Claude Code
testingTeam-Commonly/commonlySkill1.4kyesterdayApache-2.0A31Claude Code, Codex
api-testingcyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A46Claude Code
write-testsCoWork-OS/CoWork-OSSkill534yesterdayMITA9Claude Code, Codex
openclawznlgis/opengis-skillsSkill7610d agoMITA50Claude Code, Codex
maya-mock-asyncdcc-mcp/dcc-mcp-mayaSkill675d agoMITA37Claude Code, Codex
XSS_SKILLBugTraceAI/BugTraceAI-CLISkill1837d agoApache-2.0A11Claude Code, Codex