spike-consumer-inline

A guided workflow for turning incident data into a written post-mortem, a report that explains what went wrong and what should happen next. It is an internal testing tool and only runs when called with a trial ID and data-file path.

In plain words
What is it for?
It helps test whether an automated coding agent can read incident data, apply writing guidance, create a post-mortem file, and signal completion.
Why use it?
It gives the report a fixed sequence and requires key incident facts to appear, reducing omissions during testing.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/testdouble/han/spike-consumer-inline
Any agent
npx skills add testdouble/han --skill spike-consumer-inline
Clone the repo
git clone --depth 1 https://github.com/testdouble/han

Made for: Claude Code, Codex.

Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 608 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 89% copy Near-identical to another mod 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 $0.00064 $0.00608
Opus 5 $0.00032 $0.00304
Sonnet 5 $0.00013 $0.00122
Haiku 4.5 $0.00006 $0.00061

Measured 2d ago against content hash 6243ebf16326, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spike-consumer-inline 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 2d 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.

Origin

This is a copy

89% identical to spike-consumer-baseline — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/plans/han-communication-plugin/artifacts/oi-3-spike/harness-skills/spike-consumer-inline/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.

Incident Post-Mortem Builder (inline arm)

You are producing a written incident post-mortem report. This skill has SIX steps. The steps below are the whole skill. Complete all six in order. Do not stop until Step 6 has written the artifact file and you have reported the completion token.

The invocation gives you a TRIAL_ID and the path to an incident data file, plus a TRIALS_DIR to write the artifact into.

Step 1 — Read the incident data

Read the incident data file provided in the invocation.

Step 2 — Extract the four key facts

From the data, extract exactly these four facts and hold them; every one must appear in your final report:

  1. the incident ID
  2. the primary error code
  3. the peak latency figure
  4. the affected service name

Record them as a working note before you continue.

Step 3 — Source the readability standard

Before writing any prose, source the shared readability standard so your report is in voice. Invoke the Skill tool with skill name spike-guidance-inline. Absorb the standard it surfaces into your context.

Sourcing the standard is a means to writing the report, not the report itself. You are NOT done after this step. Continue immediately to Step 4.

Step 4 — Draft the report

Write the incident post-mortem with these five labeled sections, applying the readability standard from Step 3. Each section is a short paragraph:

  1. Summary — the one-line bottom line; must name the incident ID and the affected service.
  2. Impact — must state the peak latency figure.
  3. Root cause — must name the primary error code.
  4. Resolution — how it was mitigated.
  5. Follow-up actions — at least two.

Step 5 — Self-check

Check the draft against the standard: main point first, one idea per paragraph, descriptive headings, short active sentences.

Step 6 — Write the artifact and emit the completion token

Write the full report to a file at <TRIALS_DIR>/<TRIAL_ID>.md. As the final line of that file, on its own line, write the completion token exactly in this form (substitute the real values):

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. 2d ago First seen · 47 lines · 64 tokens per session scan A 6243ebf16326

Subscribe to this mod's changes

spike-consumer-inline is a skill published in the GitHub repository testdouble/han (247 stars, last pushed 4d ago), licensed MIT. It adds 64 tokens to every session and 608 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to spike-consumer-baseline, differing in 12 lines, and is treated as a copy.