quote-the-payload

quote-the-payload is a skill for Claude Code, Codex from arunveersingh/ai. It costs 93 tokens per session (786 once invoked), scanned A, original, Apache-2.0.

A verification practice that requires showing the exact command, status, and raw tool output before interpreting a result. It ends with a fixed verdict such as PASSED, FAILED, STOPPED, or NOT RUN.

In plain words
What is it for?
Use it when running tests, shell commands, or API calls where the exact result must be inspected before deciding that work is complete.
Why use it?
It prevents an agent from claiming that tests or checks passed when a command failed, ran against the wrong path, or ran nothing. Comparing quoted output with the real result adds another check against mistaken summaries.

Skill for Claude CodeCodex

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

Good fit Use it when running tests, shell commands, or API calls where the exact result must be inspected before deciding that work is complete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arunveersingh/ai/day-06-quote-the-payload
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 arunveersingh/ai --skill day-06-quote-the-payload
Clone the repo
git clone --depth 1 https://github.com/arunveersingh/ai

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 quote-the-payload

README.md
[![agentmods](https://agentmods.dev/badge/skills/arunveersingh/ai/day-06-quote-the-payload/github.svg)](https://agentmods.dev/skills/arunveersingh/ai/day-06-quote-the-payload)
Your own site
<a href="https://agentmods.dev/skills/arunveersingh/ai/day-06-quote-the-payload"><img src="https://agentmods.dev/badge/skills/arunveersingh/ai/day-06-quote-the-payload/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 quote-the-payload

Your own site · 80×15
<a href="https://agentmods.dev/skills/arunveersingh/ai/day-06-quote-the-payload"><img src="https://agentmods.dev/badge/skills/arunveersingh/ai/day-06-quote-the-payload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 786 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.00093 $0.00786
Opus 5.5 $0.00037 $0.00314
Sonnet 5.5 $0.00019 $0.00157
Haiku 4.5 $0.00009 $0.00079

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

Security

Grade A, and why

quote-the-payload 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 18d 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.

courses/make-ai-fail-safely/practice/day-06-quote-the-payload/SKILL.md · 47 lines

How it starts

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

Quote the payload

Your agent runs the tests and says "no failures, safe to merge." The tool actually printed no tests ran, exit code 4: the path was wrong, so nothing was checked.

A summary of a tool result is not the result. The fix has two parts. Ask: the raw output comes before any interpretation, error or empty means stop, and the reply ends with one fixed verdict. Verify: check the quotes against the real output, and let a script's exit code decide "passed."

Paste Part A into the agent's standing instructions or before the task. Do Part B yourself. Fill in the brackets.

Part A — Ask (paste and adapt)

When you use a tool (run a command, call an API, search):
1. After each call, before saying what it means, show:
   COMMAND: the exact command or call
   EXIT: the exit code or status (write "not shown" if you don't
   have it)
   OUTPUT: the last 20 lines, word for word, in a code block
2. Success means: [YOUR CHECK, e.g. exit code 0 AND at least one
   test passed]. Anything else is not success.
3. If the output is an error, is empty, or says nothing ran, write
   STOPPED: <one line why>. Do not guess the result. Do not move to
   the next step. You may propose one fix.
4. Only report results for calls you actually made in this session.
   If you didn't run it, say NOT RUN.
5. End with one verdict: PASSED, FAILED, STOPPED, or NOT RUN.

Adapting it: for searches and API calls, set success to "at least one result" or "status 200 with a non-empty body." Ask for the write-up (merge note, summary, email) in a later message, after the verdict.

Part B — Verify (you do this)

  1. Check every quote is real. Real output (expand the tool call) in raw.log, quoted lines in quoted.txt (one per line): ! grep -vxFf raw.log quoted.txt It prints any quoted line the tool never printed and fails if there is one.
  2. Gate the run with a script. Have the agent run check_tests.sh from the lesson instead of bare pytest. Pass = GATE PASSED only when pytest exits 0 and at least one test passed. Wrong path, all skipped, or a failing test print GATE FAILED.
  3. Let CI decide the merge. Run the same script in CI and require it before merging. Add set -o pipefail if your script pipes anything.
  4. Stop on empty in code. If you build the agent, end the step with a fixed message when a tool errors or returns nothing, instead of passing [] to the model to describe.

Read the full file on GitHub · 47 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. 18d ago First seen · 47 lines · 93 tokens per session scan A e29cd42cc4eb

Subscribe to this mod's changes

quote-the-payload is a skill published in the GitHub repository arunveersingh/ai (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 93 tokens to every session and 786 once invoked, about $0.0004 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-08.

Related

Other skills, from other repositories

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

davila7/claude-code-templates · 45 tokens

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens

verify-omnigent

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs.…

omnigent-ai/omnigent · 100 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens

adversarial-reviewer

Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general…

emdash-cms/emdash · 72 tokens