Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add kitchen-engineer42/joharnessburg/plugin install johnWrote 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.
[](https://agentmods.dev/skills/kitchen-engineer42/joharnessburg/event-log-and-reducer)<a href="https://agentmods.dev/skills/kitchen-engineer42/joharnessburg/event-log-and-reducer"><img src="https://agentmods.dev/badge/skills/kitchen-engineer42/joharnessburg/event-log-and-reducer/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.
<a href="https://agentmods.dev/skills/kitchen-engineer42/joharnessburg/event-log-and-reducer"><img src="https://agentmods.dev/badge/skills/kitchen-engineer42/joharnessburg/event-log-and-reducer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.03129 |
| Opus 5 | $0.00028 | $0.01564 |
| Sonnet 5 | $0.00011 | $0.00626 |
| Haiku 4.5 | $0.00006 | $0.00313 |
Grade A, and why
event-log-and-reducer 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
event-log-and-reducer
When N subagents are working in parallel on shared state, the naive approach (each subagent writes to a shared catalog file with a lock) is what KC (a sibling verification harness) learned the hard way is fragile at scale. John uses event log + reducer instead — same shape that React/Redux and event-sourced systems use, ported to filesystem.
The pattern in one diagram
Subagent A ── events/extract/chunks/A-001.json (append-only, A's own file) ─┐
Subagent B ── events/extract/chunks/B-002.json │
Subagent C ── events/extract/chunks/C-003.json ├──► reducer ──► .john/checkpoints/extract/state.json
... │ (canonical)
Subagent N ── events/extract/chunks/N-200.json ─┘
- Each subagent invokes
emit_event.py; the writer assigns a unique filename and atomic envelope. Zero contention and retries never overwrite history. - The reducer reads all event files for a phase, in deterministic order, and produces canonical state.
- Running the reducer twice yields the same output (idempotent).
- Canonical state is the read source for the next phase.
Where files live
In the user's project, under <project>/.john/:
<project>/.john/events/<phase-name>/<work-unit-type>/<subagent-id>-<sequence>.json— events. One file per subagent emission.<project>/.john/checkpoints/<phase-name>/state.json— canonical reduced state. Written by reducer.
Conventions:
- Phase, work-unit, agent, and audit-run IDs use letters, digits,
_, and-, beginning with a letter or digit. - Event files are JSON; canonical state is JSON. Markdown if the canonical state is human-facing.
- Producers do not choose filenames. Pipe one JSON object through the shipped atomic writer:
printf '%s\n' '{"event_type":"chunk_complete","chunk_id":"chunk-042"}' | \
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/emit_event.py" \
--phase extract --work-unit-id chunk-042 \
--agent-id extractor-7 --audit-run-id run-20260709
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.
- 12d ago First seen · 174 lines · 56 tokens per session scan A b6f4bff7ba76
event-log-and-reducer is a skill published in the GitHub repository kitchen-engineer42/joharnessburg (9 stars, last pushed 2mo ago), licensed MIT. It adds 56 tokens to every session and 3,129 once invoked, about $0.0003 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-08-31.
Other skills, from other repositories
tackle-issue
Start-of-work triage in this monorepo. Trigger on: a GitHub issue number ("tackle issue 99", "work on #42", bare #N), pasted proposal/spec text ("investigate this", "pressure-test this", "scope this"), or picker phrasing ("tackle the next issue", "what should I work on"). Read-only investigation that tries to falsify…
stale-proposals
Audit this repository's local proposal queue for stale entries: proposals still marked proposed, deferred, or accepted even though the work already shipped, plus old proposals whose subject has become inert. Reconcile proposals against plugin changelogs and first-parent Git history, automatically resolve only…
add-source
Interactively add a new source to feed-sources.md with type inference, https and name-uniqueness validation, and category checking against feed-categories.md. Appends a formatted row to the Active Sources table. Invoke with /feed-hermit:add-source.
source-scout
Gap-driven discovery of new RSS/web sources for feed-sources.md. Interactive runs WebFetch-verify candidates and auto-add them; --scheduled runs queue unverified candidates for operator review (no WebFetch, per the domain-allowlist rule). Complements source-health (removal) with discovery (addition). Invoke with…
plan-to-tasks
Transform a plancreation planv{N}.md into a structured tasks.yaml + per-WP workpackages/.yaml using parallel Sonnet sub-agents. Use after plan-creation finishes when you need execution-friendly task structure.
debt-ops-add
Register a deferred decision in the tech-debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade decision, stub, loosened type, bypassed check, swallowed error, a default picked "for now", or a TODO/FIXME/HACK/XXX marker. Trigger immediately whenever you…