zuar-portal-mcp: Command for Claude Code

.claude/commands/portal-bulk.md

portal-bulk is a command for Claude Code from patrickdeanfox/zuar-portal-mcp. It costs 9 tokens per session (350 once invoked), scanned A, original, MIT.

A guarded workflow for applying one approved change across many blocks or pages in a connected portal.

In plain words
What is it for?
Bulk edits such as moving, adding, updating, or removing portal blocks and pages after reviewing the exact affected resources.
Why use it?
It reduces the risk of changing the wrong content or losing existing settings by taking a snapshot, showing a dry-run plan, requiring confirmation, and checking the result.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

This is patrickdeanfox/zuar-portal-mcp's own configuration. It tells Claude Code how to work on zuar-portal-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zuar-portal-mcp configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/patrickdeanfox/zuar-portal-mcp/main/.claude/commands/portal-bulk.md
Clone the repo
git clone --depth 1 https://github.com/patrickdeanfox/zuar-portal-mcp

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 portal-bulk

README.md
[![agentmods](https://agentmods.dev/badge/commands/patrickdeanfox/zuar-portal-mcp/portal-bulk/github.svg)](https://agentmods.dev/commands/patrickdeanfox/zuar-portal-mcp/portal-bulk)
Your own site
<a href="https://agentmods.dev/commands/patrickdeanfox/zuar-portal-mcp/portal-bulk"><img src="https://agentmods.dev/badge/commands/patrickdeanfox/zuar-portal-mcp/portal-bulk/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 portal-bulk

Your own site · 80×15
<a href="https://agentmods.dev/commands/patrickdeanfox/zuar-portal-mcp/portal-bulk"><img src="https://agentmods.dev/badge/commands/patrickdeanfox/zuar-portal-mcp/portal-bulk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 350 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.00009 $0.00350
Opus 5 $0.00005 $0.00175
Sonnet 5 $0.00002 $0.00070
Haiku 4.5 $0.00001 $0.00035

Measured 11d ago against content hash fbb0caf8293b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

portal-bulk 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/portal-bulk.md · 21 lines

What it actually says

Apply a change across many blocks/pages — guarded. Change: $ARGUMENTS

Confirm a portal is connected: check_connection (one call — portal, version, identity, write posture, browser assist). If it reports connected:false, relay its reason + fix and send the user to /portal-setup.

Launch the portal-bulk-operator agent (via the Task tool) with the change above, and require this sequence:

  1. Snapshot firstsnapshot_portal before any write, so the whole batch is revertible (restore_resource).
  2. Dry-run plan — identify every affected block/page and present the exact intended change as a plan. Use one declarative place_blocks call for page reordering/placement (atomic read-modify-write; mode:"merge" to add/update/remove, mode:"replace" + confirm:true for an exact list) — never a series of racing per-block placement writes. Any update_block on a bound block must re-send its existing ui_queries or the binding is wiped.
  3. Get explicit confirmation BEFORE applying. Do not write anything until the user approves the dry-run plan.
  4. Apply, then verify — re-read a sample of the changed resources to confirm the change landed and nothing was blanked.
  5. Report rollback — state the snapshot handle and exactly how to revert.

Finish with: what changed (counts + scope), verification result, and the rollback handle.

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. 11d ago First seen · 21 lines · 9 tokens per session scan A fbb0caf8293b

Subscribe to this mod's changes

portal-bulk is a command published in the GitHub repository patrickdeanfox/zuar-portal-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 9 tokens to every session and 350 once invoked, about $0.0000 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.