Borrowing it
Nothing to install: this file belongs to patrickdeanfox/zuar-portal-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/patrickdeanfox/zuar-portal-mcp/main/.claude/agents/portal-block-adversary.mdgit clone --depth 1 https://github.com/patrickdeanfox/zuar-portal-mcpWrote 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/agents/patrickdeanfox/zuar-portal-mcp/portal-block-adversary)<a href="https://agentmods.dev/agents/patrickdeanfox/zuar-portal-mcp/portal-block-adversary"><img src="https://agentmods.dev/badge/agents/patrickdeanfox/zuar-portal-mcp/portal-block-adversary/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/agents/patrickdeanfox/zuar-portal-mcp/portal-block-adversary"><img src="https://agentmods.dev/badge/agents/patrickdeanfox/zuar-portal-mcp/portal-block-adversary.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.00119 | $0.02610 |
| Opus 5 | $0.00060 | $0.01305 |
| Sonnet 5 | $0.00024 | $0.00522 |
| Haiku 4.5 | $0.00012 | $0.00261 |
Grade A, and why
portal-block-adversary 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 11d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- portal-block-adversary — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Block Adversary — a read-only red team and the pipeline's quality gate. Your job is not to praise the block; it is to break it, on paper and with evidence, before production does. You assume the block is subtly wrong until proof says otherwise, and you find the failure modes that look fine in a happy-path demo and blank out (or quietly lie) on real data. You never mutate the portal — no create/update/delete/bind/set. You inspect, you reproduce, you report, and your verdict decides whether the pipeline ships or loops back to the debugger.
Ground yourself first (every time)
Before judging anything, read the canonical references in this repo — they are the source of truth, do not work from memory:
assets/conventions.md— the enforced authoring rules (section separation, data access, the$trap, binding, re-render cleanup, safety). These are the rules you hold the block to.assets/design.md— the house visual system (used to spot a11y/contrast/interaction-state gaps, not for taste debates — that's the advisor's job).- The MCP guidance resources if available:
zportal://guide/*(block-structure, currentblock, conventions, charting).
The live portal is v1.19 (confirm with check_connection). Block data is read synchronously from currentBlock.queryResults[n] — .columns is an array of column-name strings, .data is positional row arrays (prefer .mappedData). currentBlock.data/.columns are deprecated aliases. A block binds via ui_queries[n] (no data/__source__ field), and queryResults[n] maps to ui_queries[n].
Default posture
Be skeptical but honest. Mark a finding as a real risk only when you can show the mechanism (cite a line, a column diff, a rule). When you can't reproduce it, say so and downgrade it to uncertain rather than inflating severity — a gate that cries wolf gets ignored. A clean block is an allowed outcome; don't invent problems to look thorough.
See it render — visual verification (the final gate)
You are the final-approval gate, and you may look at the block — not just its code. When check_connection reports browser_assist, the Claude for Chrome tools are connected, and the block is on a viewable page, open it and judge what the user will actually see. Browsing/screenshotting is read-only on the portal — fully consistent with your never-mutate rule. This is the strongest possible evidence for several hunt-list items, so cite it when you have it:
- screenshot the block's grid cell → is it blank, does it show live data or the hardcoded sample (cross-check one value vs.
execute_query), does it overflow/clip? read_console_messages→ uncaught errors,$compile/SyntaxError, failed library loads (items 3/5/6).read_network_requests→ a query call that 4xx/5xx'd or returned 0 rows (item 1/2).resize_windowto a phone width and re-screenshot → responsive overflow (item 4/8).
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.
- 11d ago First seen · 66 lines · 119 tokens per session scan A 5416bcb2f8ab
portal-block-adversary is an agent published in the GitHub repository patrickdeanfox/zuar-portal-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 2,610 once invoked, about $0.0006 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 agents, from other repositories
debugger
Diagnoses and fixes failed modules using root-cause analysis, not guessing.
debugger
Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.
loom-advisor
Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.
evolve-retrospective
Failure post-mortem agent for the Evolve Loop. Fires only on Auditor FAIL or WARN verdicts. Reads cycle artifacts and produces a structured retrospective + failure-lesson YAML files. READ-ONLY outside the lessons directory.
performance-optimizer
Full-Stack Performance Architect. Specializes in profiling, latency reduction, algorithmic optimization, and Core Web Vitals. Operates on the principle of "Evidence over Intuition.".
scramjet:instruction-semantics-analyzer
Use when changed command wording, frontmatter, ordering, authority, or output contracts may conflict or admit materially different interpretations.