agent-gate: Skill for Cursor

.cursor/skills/verify-receipts/SKILL.md

verify-receipts is a skill for Cursor from Jott2121/agent-gate. It costs 48 tokens per session (499 once invoked), scanned A, original, MIT.

A pull-request verification skill that reruns tests, coverage checks, receipt checks, and scans before a PR is opened or updated. A pull request is a proposed code change for review and merging.

In plain words
What is it for?
Use it to verify test coverage, lint and typecheck status, receipt commands, changed README or documentation numbers, and blocked terms before a PR.
Why use it?
It helps catch failed checks and published numbers that cannot be reproduced. It prevents marking a PR ready when documentation claims are unverified.

Skill for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

This is Jott2121/agent-gate's own configuration. It tells Cursor how to work on agent-gate 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 agent-gate configures →

Reuse

Borrowing it

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

Made for: Cursor.

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-receipts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jott2121/agent-gate/verify-receipts"><img src="https://agentmods.dev/badge/skills/jott2121/agent-gate/verify-receipts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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.00048 $0.00499
Opus 5.5 $0.00019 $0.00200
Sonnet 5.5 $0.00010 $0.00100
Haiku 4.5 $0.00005 $0.00050

Measured 4d ago against content hash 7362909c8a2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verify-receipts 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 4d 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.

.cursor/skills/verify-receipts/SKILL.md · 24 lines

What it actually says

Verify receipts

  1. Read AGENTS.md "Commands". From the repo root, run:
    • pip install -e ".[dev]" pytest-cov
    • Tests, including the coverage gate (do not lower 90): python -m pytest -q --cov=agent_gate --cov-report=term-missing --cov-fail-under=90
    • Receipts: python scripts/check_receipts.py
    • Lint and typecheck: n/a. There is no ruff or mypy config, no eval/ harness, and no --check scorer. Capture exit codes and the last ~20 lines of each.
  2. git diff origin/main -- README.md docs/ WRITEUP.md — list every number that changed. For each, find the command that produces it and re-run it. If you can't reproduce it, mark it UNVERIFIED and stop; do not open the PR as ready. Known gap: README says "currently 97% covered". scripts/check_receipts.py prints the percentage from the pytest command above. If they differ, report both. Leave the sentence alone unless the PR's purpose is to update that published number. The 16.7% sentence cites sabot. Do not recompute it in this repo. Demo hash prefixes in the README are not stable receipts. Ledger hashes include a timestamp.
  3. Run python3 scripts/scan_blocked_terms.py (employer terms, whole tree, no exempt files) and grep the diff for secret patterns (see .cursor/rules/40-security-and-data.mdc). Any hit, or a scanner exit code other than 0, means stop and report.
  4. Confirm --cov-fail-under=90 is unchanged and no tests were skipped, xfailed, or removed.
  5. Output a Markdown block:
    • Commands run + pass/fail
    • Numbers: before → after → command → reproduced? (Y/N)
    • Not verified / known gaps
  6. Paste that block into the PR's "How verified" section. Never claim a check passed that you didn't run.
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. 4d ago First seen · 24 lines · 48 tokens per session scan A 7362909c8a2e

Subscribe to this mod's changes

verify-receipts is a skill published in the GitHub repository Jott2121/agent-gate (3 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 499 once invoked, about $0.0002 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-10-12.