zuar-portal-mcp: Skill for Claude Code

.claude/skills/portal-block-overlay/SKILL.md

portal-block-overlay is a skill for Claude Code from patrickdeanfox/zuar-portal-mcp. It costs 81 tokens per session (2,465 once invoked), scanned A, original, MIT.

A loading spinner overlay for a Zuar Portal HTML block that already uses the version 1.18 or later query-results loading pattern. It fades away after the block finishes rendering.

In plain words
What is it for?
Use it on compatible portal blocks that need visible feedback during data loading. It is intended for blocks using currentBlock.queryResults and loadedCallback.
Why use it?
Without a loading state, users may see a blank white area while data is being fetched. The overlay also needs to handle a loading timeout so the spinner does not remain forever.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/skills/portal-block-overlay/SKILL.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-block-overlay

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/patrickdeanfox/zuar-portal-mcp/portal-block-overlay"><img src="https://agentmods.dev/badge/skills/patrickdeanfox/zuar-portal-mcp/portal-block-overlay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,465 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.00081 $0.02465
Opus 5 $0.00041 $0.01233
Sonnet 5 $0.00016 $0.00493
Haiku 4.5 $0.00008 $0.00247

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

Security

Grade A, and why

portal-block-overlay 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.

.claude/skills/portal-block-overlay/SKILL.md · 232 lines

How it starts

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

Portal block overlay

Adds a spinner overlay that appears while the block's data loads and fades out once rendering is complete. Modelled on the Employee Utilization block pattern, which is the canonical reference.

The 1.18+ polling guard waits up to 60 s for query data (_pCount > 240 at 250 ms — raised from 15 s after a production incident where large payloads on slow connections outlived the old timeout and blanked the block). The overlay is what the user sees for that entire window, so on large-payload blocks it is effectively required — and it MUST handle the guard's timeout bail (touch point 4 below) or a timed-out block shows a spinner forever.

The overlay only works correctly when the block's root wrapper has position:relative. Without it position:absolute; inset:0 escapes to the wrong ancestor. Always verify before writing.


Pre-flight

ARGUMENTS: block: <name>, id: <uuid>
  1. get_resource resource="block" id=<id> — read the live block.
  2. Confirm the block is already on the 1.18+ pattern (currentBlock.queryResults, loadedCallback in finally). If not, run /portal-118-migration first — the overlay depends on a reliable entry-point (init() or equivalent) and a reliable finally path.
  3. Check the root wrapper has position:relative. The typical pattern is <div … style="position:relative;…">. If missing, add it.
  4. Check whether an overlay already exists (id containing loading-overlay). If found, ask the user: "An overlay already exists on this block — replace it with the standard pattern, or skip?"

What to add

HTML snippet

Insert immediately inside the position:relative root wrapper, before any content divs (header, filters, charts). Use a slug derived from the block name to keep IDs unique across a page.

  <!-- Loading overlay -->
  <div id="<SLUG>-loading-overlay">
    <div class="<SLUG>-spinner"></div>
    <p class="<SLUG>-loading-text">Loading dashboard data…</p>
    <p class="<SLUG>-loading-sub">Fetching data</p>
  </div>

Read the full file on GitHub · 232 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. 12d ago First seen · 232 lines · 81 tokens per session scan A 15bae8d66fb7

Subscribe to this mod's changes

portal-block-overlay is a skill published in the GitHub repository patrickdeanfox/zuar-portal-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 2,465 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens