receipt-query

receipt-query is a skill for Claude Code, Codex from runxhq/runx. It costs 22 tokens per session (2,048 once invoked), scanned A, original, Apache-2.0.

A read-only tool for finding signed records of past agent runs by exact record ID or supported filters. A receipt is a record containing the run's authority, decisions, actions, linked outputs, and verification details.

In plain words
What is it for?
Use it to retrieve receipts by ID, person, skill, status, or time range, and to inspect the signed details or verification result of a specific run.
Why use it?
It gathers bounded evidence for review without running the original work again. It avoids treating broad natural-language questions as hidden searches.

Skill for Claude CodeCodex

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

Good fit Use it to retrieve receipts by ID, person, skill, status, or time range, and to inspect the signed details or verification result of a specific run.

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

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 receipt-query

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/runxhq/runx/receipt-query"><img src="https://agentmods.dev/badge/skills/runxhq/runx/receipt-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,048 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.00022 $0.02048
Opus 5.5 $0.00009 $0.00819
Sonnet 5.5 $0.00004 $0.00410
Haiku 4.5 $0.00002 $0.00205

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

Security

Grade A, and why

receipt-query 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 17d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (receipt-query.mjs, receipt-query.test.mjs), 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/receipt-query/SKILL.md · 178 lines

How it starts

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

Receipt Query

Collect the exact signed run evidence a reviewer needs, using explicit receipt ids or bounded filters. Native Runx owns receipt lookup and verification; this skill normalizes the query and returns a reusable evidence packet. It is read-only.

The question records the review purpose. It is not translated into hidden filters: amount thresholds, business totals, scope searches and arbitrary natural-language conditions are not implemented by this method. Supply the supported filter fields, then pass the resulting evidence to the appropriate review skill.

What this skill does

receipt-query applies an explicit bounded query over receipt ids, principal, skill, outcome, and time range, then returns the receipts that satisfy it as id-keyed stubs (receipt_id, skill, outcome, created_at, verification status). Exact-id reads also return receipt_details from the native redacted inspection projection: signed authority, decisions, acts, artifact references, lineage, issuer type, seal criteria, and verification without execution bodies, credential material, or local paths. When proof asks for it, the skill returns the native tree-verification verdict and findings. A requested check is not a successful check: an unknown or failed verdict stays unknown or failed. The deterministic summary reports matched receipt count and verification status, not a synthesized business answer. Zero matches return needs_more_evidence.

Exact-id stubs preserve the native subject_uri even when no skill label is available. Detail retains issuer_type, seal_criteria and, for a failed step, seal_failure: its code, its reason, whether a retry is offered and its own fields, such as each field a provider's answer contradicts. A failed output contract is still visible when a step has no act. A verified local issuer means the Runx home signed the receipt; it does not establish an independent operator or provider attestation. Missing replay fields stay unknown.

The default read method invokes the native receipt.query service directly. The service resolves the same receipt store and signature policy as Runx's CLI, projects bounded history rows, resolves exact ids through the redacted detail reader, and optionally verifies each matched receipt tree. There is no child process, command-string construction, or package-local receipt parser. It is the in-runtime way for an agent to inspect its own sealed receipts before a gated action. The detail packet is curated in Rust and never returns execution bodies, credential material, or local paths.

Read the full file on GitHub · 178 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. 17d ago Changed · +2 lines ca21b71e6a7b
  2. 1mo ago Changed · +6 lines 273c2e62ff35
  3. 1mo ago Changed · -21 lines 40c3da5add34
  4. 1mo ago First seen · 191 lines · 22 tokens per session scan A bb4edc5f7dde

Subscribe to this mod's changes

receipt-query is a skill published in the GitHub repository runxhq/runx (106 stars, last pushed yesterday), licensed Apache-2.0. It adds 22 tokens to every session and 2,048 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-10-14.

Related

receipt-query compared with skills from other repositories

receipt-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
receipt-queryrunxhq/runxSkill106yesterdayApache-2.0A22Claude Code, Codex
dd-risk-scoringAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-synthesisAbilityai/trinitySkill822todayApache-2.0A33Claude Code, Codex
dd-report-formatAbilityai/trinitySkill822todayApache-2.0A27Claude Code, Codex
dd-sourcingAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-verificationAbilityai/trinitySkill822todayApache-2.0A35Claude Code, Codex
rule6-rights-gatemtarcure/claude-vibe-squadSkill2271mo agoMITA72Claude Code, Codex