verify-answer-channel

verify-answer-channel is a skill for Claude Code, Codex from thangchung/agent-engineering-experiment. It costs 71 tokens per session (867 once invoked), scanned A, original, MIT.

A formal check for an online order flow where a customer answers questions through separate web requests. It verifies that an answer is used only for the question the customer was viewing when they sent it.

In plain words
What is it for?
Use it when changing the order answer channel, request registry, clarification handling, or streaming order workflow.
Why use it?
It catches timing bugs in which repeated clicks or requests could make a later question consume an earlier answer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when changing the order answer channel, request registry, clarification handling, or streaming order workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thangchung/agent-engineering-experiment/verify-answer-channel
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 thangchung/agent-engineering-experiment --skill verify-answer-channel
Clone the repo
git clone --depth 1 https://github.com/thangchung/agent-engineering-experiment

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 verify-answer-channel

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thangchung/agent-engineering-experiment/verify-answer-channel"><img src="https://agentmods.dev/badge/skills/thangchung/agent-engineering-experiment/verify-answer-channel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 867 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.00071 $0.00867
Opus 5.5 $0.00028 $0.00347
Sonnet 5.5 $0.00014 $0.00173
Haiku 4.5 $0.00007 $0.00087

Measured today against content hash 3e302fd6b48c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verify-answer-channel 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 today.

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.

coffeeshop-jev/.agents/skills/verify-answer-channel/SKILL.md · 42 lines

How it starts

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

Verify the answer channel

Property: an answer is only ever used for the question the customer was looking at when they sent it. Harm if broken: the customer double-clicks "send", and the second click answers their next question, so the order runs on text they never wrote for it.

Tool: TLA+ / TLC 1.7.4, because the bug is one specific interleaving of the SSE loop and a second HTTP request. Model: formal/answer-channel/AnswerChannel.tla. Run: formal/run.sh formal/answer-channel (about 1 s). If TLC is missing, run /statechart once or set TLA2TOOLS and JAVA.

What the check says today (commit 5439b7c)

config result meaning
code.cfg fail AnswerMatchesQuestion finding, open, model only: WaitForAnswerAsync reads the answer, then sets Pending = false on the next statement. A second TrySubmitAnswer landing between the two sees Pending == true and an empty channel, so it is accepted and sits in the channel. The next question's WaitForAnswerAsync reads it at once. Path: ask Q1, submit, read, submit again, clear pending, ask Q2, Q2 consumes the stale answer.
atomic-consume.cfg pass the fix as modelled: take the answer and clear Pending in one step

The window is one statement wide, so no test replays it deterministically. Treat the finding as a plausible race that the model proves is reachable under the stated step granularity, not as a reproduced failure. One way to close it: clear Pending before the channel read and re-check on TryWrite, or guard both with a lock.

Do not weaken AnswerMatchesQuestion. When fixed, set the code.cfg line in expected.txt to pass.

Coverage

model code
Register, Remove, Disconnect RunRegistry.Register / Remove; StreamAsync try/finally (runs.Remove)
Ask runs.MarkPending in the RequestInfoEvent case
Read, ClearPending RunRegistry.WaitForAnswerAsync (ReadAsync, then state.Pending = false)
Send run.SendResponseAsync
Submit RunRegistry.TrySubmitAnswer (NotFound / NotPending / Ok), AnswerClarificationCommand.Handle

Read the full file on GitHub · 42 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. today First seen · 42 lines · 71 tokens per session scan A 3e302fd6b48c

Subscribe to this mod's changes

verify-answer-channel is a skill published in the GitHub repository thangchung/agent-engineering-experiment (27 stars, last pushed yesterday), licensed MIT. It adds 71 tokens to every session and 867 once invoked, about $0.0003 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-12-03.

Related

verify-answer-channel compared with skills from other repositories

verify-answer-channel next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
verify-answer-channelthangchung/agent-engineering-experimentSkill27yesterdayMITA71Claude Code, Codex
phoenix-cliArize-ai/phoenixSkill13ktodaynoneA93Cursor
phoenix-error-analysisArize-ai/phoenixSkill13ktodaynoneA176Cursor
maf-dev-loopJinLee794/agent-framework-skillsSkill24mo agoMITA70Cursor
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9kyesterdayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code