Zuar-Portal-MCP-Public: Command for Claude Code

.claude/commands/portal-bulk.md

portal-bulk is a command for Claude Code from zuarbase/Zuar-Portal-MCP-Public. It costs 9 tokens per session (350 once invoked), scanned A, a copy of portal-bulk, MIT.

A guarded way to apply one planned change across many Zuar Portal blocks or pages. It first identifies the affected items, shows the exact proposed changes, waits for approval, then applies and checks them.

In plain words
What is it for?
Use it for portal-wide or multi-page changes such as moving, updating, adding, or removing blocks. It is suited to changes that must be applied consistently across a large set.
Why use it?
Bulk edits can accidentally affect the wrong pages or remove existing settings. A snapshot, dry-run plan, confirmation step, and verification reduce that risk.

Command for Claude Code

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

This is zuarbase/Zuar-Portal-MCP-Public's own configuration. It tells Claude Code how to work on Zuar-Portal-MCP-Public 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-Public configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zuarbase/Zuar-Portal-MCP-Public. 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/zuarbase/Zuar-Portal-MCP-Public/main/.claude/commands/portal-bulk.md
Clone the repo
git clone --depth 1 https://github.com/zuarbase/Zuar-Portal-MCP-Public

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/zuarbase/zuar-portal-mcp-public/portal-bulk/github.svg)](https://agentmods.dev/commands/zuarbase/zuar-portal-mcp-public/portal-bulk)
Your own site
<a href="https://agentmods.dev/commands/zuarbase/zuar-portal-mcp-public/portal-bulk"><img src="https://agentmods.dev/badge/commands/zuarbase/zuar-portal-mcp-public/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/zuarbase/zuar-portal-mcp-public/portal-bulk"><img src="https://agentmods.dev/badge/commands/zuarbase/zuar-portal-mcp-public/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 100% 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.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 12d ago against content hash fbb0caf8293b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 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.

Origin

This is a copy

100% identical to portal-bulk — 0 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.

.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. 12d 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 zuarbase/Zuar-Portal-MCP-Public (0 stars, last pushed 9d 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. It is 100% identical to portal-bulk, differing in 0 lines, and is treated as a copy.