adhoc-verification

adhoc-verification is a skill for Claude Code, Codex from pedroiff0/awesome-skills. It costs 86 tokens per session (956 once invoked), scanned A, original, MIT.

A focused local verification procedure for checking one code change without running the entire test suite. It uses a temporary script inside the project to test a specific behaviour, such as whether one server rejects another server's cookie.

In plain words
What is it for?
Use it to create and run a small Node.js verification harness for one API or middleware behaviour.
Why use it?
It gives quick, targeted evidence that a changed route or middleware behaves correctly when the full test suite is slow or not relevant.

Skill for Claude CodeCodex

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

Good fit Use it to create and run a small Node.js verification harness for one API or middleware behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pedroiff0/awesome-skills/adhoc-verification
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 pedroiff0/awesome-skills --skill adhoc-verification
Clone the repo
git clone --depth 1 https://github.com/pedroiff0/awesome-skills

Made for: Claude Code, Codex.

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 adhoc-verification

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pedroiff0/awesome-skills/adhoc-verification"><img src="https://agentmods.dev/badge/skills/pedroiff0/awesome-skills/adhoc-verification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 956 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.00086 $0.00956
Opus 5 $0.00043 $0.00478
Sonnet 5 $0.00017 $0.00191
Haiku 4.5 $0.00009 $0.00096

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

Security

Grade A, and why

adhoc-verification 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/template-harness.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/software-development/adhoc-verification/SKILL.md · 65 lines

How it starts

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

Ad-hoc local verification harness

Use this when you need to prove a specific change works, the full suite is slow/irrelevant, or a post-edit system reminder demands "fresh passing verification evidence." This is NOT a substitute for npm test when the suite is fast — prefer the canonical suite. But a focused harness is the right tool for one targeted behavior, or to satisfy a reminder cheaply.

When to reach for this

  • A system reminder asks for ad-hoc verification of changed paths.
  • You changed one middleware/route and want a 10-second check instead of the full 30s suite.
  • You need to demonstrate a negative property (e.g. "instance B rejects a cookie minted by instance A") that the suite doesn't isolate.

Steps

  1. Write the script INSIDE the package directory (e.g. app/), never in /tmp. A script in /tmp cannot resolve the project's node_modules/ (require('supertest')MODULE_NOT_FOUND). Name it ./hermes-verify-*.js so it's obviously throwaway and matches the reminder's prefix suggestion.
  2. No Jest globals. describe/it/beforeAll/afterAll are undefined in a plain node run — they crash with ReferenceError. Instead wrap everything in an async IIFE and call the project's own DB setup/teardown helpers manually (e.g. setupDb(), teardownDb(), clearDb() from the test helpers), inside try/finally.
  3. Require the app factory, set env first. Set process.env.* (NODE_ENV, JWT_SECRET, feature flags) BEFORE require('./src/app'), because the app reads flags at construction time. If you re-instantiate with different env, restore the prior env after, or build each instance in its own closure.
  4. Drive with supertest: await request(app).get('/path').set('Cookie', ...). Assert on res.status and res.text/body. Print PASS:/FAIL: lines and process.exit(nonZeroOnFailure).
  5. Run, then delete: node ./hermes-verify-x.js then rm ./hermes-verify-x.js.

Critical pitfall: single-instance masking of isolation bugs

A SINGLE app instance with a feature flag on will apply that middleware to ALL matching paths — so "isolation" between two security contexts cannot be shown with one instance. To verify that instance A ignores/rejects a token from instance B (different secret/cookie), you MUST build TWO separate createApp() instances, each with its own env, and:

  • mint a "foreign" cookie by signing a JWT with a different secret than the instance under test (jwt.sign(payload, 'other-secret-32+', ...));
  • assert the instance UNDER TEST ignores/overwrites it (e.g. demo autologin returns 200 despite a foreign cookie) AND that the instance WITHOUT autologin rejects it (redirects / 401).

Read the full file on GitHub · 65 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 65 lines · 86 tokens per session scan A 308e10774241

Subscribe to this mod's changes

adhoc-verification is a skill published in the GitHub repository pedroiff0/awesome-skills (1 stars, last pushed 5d ago), licensed MIT. It adds 86 tokens to every session and 956 once invoked, about $0.0004 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-03.

Related

Other skills, from other repositories

dogfood

Exploratory QA of web apps: find bugs, evidence, reports.

cyborg-garden/hermes-agent-mt · 18 tokens

testing-blocks

Use this when you have made AEM Edge Delivery Services code changes to blocks, scripts, or styles and need to validate them before opening a pull request. Covers unit testing for utilities and logic, browser testing with Playwright, linting, and guidance on what to test and how.

adobe/skills · 61 tokens

qa

Read-only automated QA sweep of a deployed stardust site on AEM Edge Delivery Services — validates routing, content fidelity vs the source capture, template conformance, rendered integrity (geometry, JS errors, broken images), visual regression vs baselines, metadata/SEO/JSON-LD, link integrity, accessibility (axe)…

adobe/skills · 138 tokens

debugging

Playwright test debugging conventions for the scaffold — reading failure messages, classifying failure modes (TimeoutError, ZodError, strict-mode violation, locator not found, network errors, schema drift), the playwright.config.ts capture defaults (trace on-first-retry, screenshot only-on-failure, video…

idavidov13/agentic-playwright · 179 tokens

dogfood

This skill guides you through systematic exploratory QA testing of web applications using the browser toolset. You will navigate the application, interact with elements, capture evidence of issues, and produce a structured bug report.

AtlasOmnia/donna-starter · 20 tokens

playwright-trace-analyzer

Analyzes Playwright E2E trace.zip archives (and bare trace JSONL when unpacked). Extracts the action timeline, network waterfall, console errors, and DOM-snapshot anchors, then identifies the highest-impact problems (flaky waits, slow selectors, network bottlenecks, hung actions, unhandled console errors, navigation…

mthines/agent-skills · 232 tokens