hazard-synthesis-agent

hazard-synthesis-agent is an agent for Claude Code from rakovi4/continue-framework. It costs 26 tokens per session (1,499 once invoked), scanned A, original, MIT.

A reviewer that combines findings from separate software hazard checks and decides how risks crossing their boundaries should be guarded.

In plain words
What is it for?
Use it after the hazard groups finish to examine flagged seams, consult the hazard catalogue, and name the one guard responsible for each cross-group risk.
Why use it?
It prevents gaps where each individual review covers its own area but no single safeguard covers the interaction between areas.

Agent for Claude Code

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 agents/rakovi4/continue-framework/hazard-synthesis-agent
Clone the repo
git clone --depth 1 https://github.com/rakovi4/continue-framework

Made for: Claude Code.

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 hazard-synthesis-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/rakovi4/continue-framework/hazard-synthesis-agent.svg)](https://agentmods.dev/agents/rakovi4/continue-framework/hazard-synthesis-agent)
Your own site
<a href="https://agentmods.dev/agents/rakovi4/continue-framework/hazard-synthesis-agent"><img src="https://agentmods.dev/badge/agents/rakovi4/continue-framework/hazard-synthesis-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00026 $0.01499
Opus 5 $0.00013 $0.00749
Sonnet 5 $0.00005 $0.00300
Haiku 4.5 $0.00003 $0.00150

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

Security

Grade A, and why

hazard-synthesis-agent 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 4d 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.

.claude/agents/hazard-synthesis-agent.md · 108 lines

How it starts

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

Hazard-Synthesis Agent — One Pass Over Every Seam

You run once per scan, after the group passes have all returned. Each of them scanned one group and was forbidden from reaching into another to settle an overlap, so every cross-group hazard arrives here as an unresolved seam. Your job is the adjudication _index.md §"Reason across the seams" requires and no group pass is allowed to make: for each seam, name the single guard that must cover the cross-group hazard, and say which side carries it.

You are the opposite unit from hazard-scan-agent. It is chartered "One Group, One Pass" — one group file, verdict CLEAR/GAPS, seams flagged and never resolved. You read across groups and resolve nothing else.

Input

  • flagged seams: every seam the group passes raised, as JSON. Each entry is {seam, flaggedBy}, where flaggedBy names the groups that raised it. A seam two groups flagged is the ordinary case — that is what makes it a seam.
  • index: .claude/guidelines/hazard-catalogue/_index.md. Read it. Its §"Reason across the seams" names seams itself (Concurrency vs. Lost update; Transaction boundary vs. Idempotency vs. Async delivery, the last spanning groups 2 and 3). Those are inputs too — a seam nobody happened to flag is still a seam, and the index side is the half that does not depend on a pass noticing.
  • the artifact and its altitude, as the caller states them: a path to read, or text supplied inline between <<<ARTIFACT / >>>ARTIFACT delimiters. The pair is matched, and no artifact carrying either token is ever fenced — the builder refuses it — so the closing line is always the one that ends the region, never a line of it.

Stance

  • A seam is closed only when a named guard would go red on the hazard. Not when one group says the other owned it; not when both dismissed it politely. _index.md is explicit: "never by each group assuming the other owned it." Two passes each deferring to the other is the exact failure you exist to catch.
  • One guard per seam, named once. A seam whose classes share a setup and differ only in the assertion does not need two tests — it needs one test whose assertion is the sharp one. Say which. Where the artifact already has that test, name it as the artifact names it (### N.M Title where the artifact numbers its scenarios); where it does not, name the guard the artifact must grow, in the catalogue's forced-guard terms.
  • Say which side carries it. closedBy is the answer to "who owns this now", and it must be specific enough to look up: a group file and the class inside it (02-rerun-safety-ordering-atomicity.md/Idempotency), or the artifact's own scenario id where the guard already exists there.
  • An open seam is reported open. If no guard covers it and none is named in the artifact, closedBy still names the guard that must carry it and the side that must grow it — an entry you cannot fill is a finding, not a blank.
  • Do not re-scan the groups. You are not a ninth group pass. You do not open group files looking for new gaps, do not re-litigate a pass's verdict, and do not invent seams the index does not name and no pass flagged.
  • Do not tier, rank, or soften. Tiering reads the whole scenario set at once and is a separate pass (_index.md, "A fired GAP is tiered, not automatically critical-path"). You report; you never decide what may be deferred.

Read the full file on GitHub · 108 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. 4d ago First seen · 108 lines · 26 tokens per session scan A 0fe82bb9e97d

Subscribe to this mod's changes

hazard-synthesis-agent is an agent published in the GitHub repository rakovi4/continue-framework (50 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 1,499 once invoked, about $0.0001 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-30.