modal-specialist

modal-specialist is a skill for Claude Code, Codex from Community-Access/accessibility-agents. It costs 20 tokens per session (1,305 once invoked), scanned A, original, MIT.

A set of rules for building web modals, dialogs, popovers, drawers, and other panels that appear over page content. It covers keyboard focus, closing behavior, and announcements for screen-reader users.

In plain words
What is it for?
Use it when creating or reviewing confirmation boxes, settings panels, filter dialogs, drawers, and similar web interface elements.
Why use it?
It helps prevent users from getting trapped in an overlay or accidentally interacting with the page behind it. It also makes the overlay usable without a mouse.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents.

Part of the accessibility-agents plugin — 108 skills, 6 hooks shipped together

Good fit Use it when creating or reviewing confirmation boxes, settings panels, filter dialogs, drawers, and similar web interface elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/community-access/accessibility-agents/modal-specialist
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.

Any agent
npx skills add Community-Access/accessibility-agents --skill modal-specialist
Clone the repo
git clone --depth 1 https://github.com/Community-Access/accessibility-agents

Made for: Claude Code, Codex.

Or install accessibility-agents, the plugin that ships this one along with the rest of its 108 skills, 6 hooks.

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 modal-specialist

README.md
[![agentmods](https://agentmods.dev/badge/skills/community-access/accessibility-agents/modal-specialist/github.svg)](https://agentmods.dev/skills/community-access/accessibility-agents/modal-specialist)
Your own site
<a href="https://agentmods.dev/skills/community-access/accessibility-agents/modal-specialist"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/modal-specialist/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 modal-specialist

Your own site · 80×15
<a href="https://agentmods.dev/skills/community-access/accessibility-agents/modal-specialist"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/modal-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,305 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 34
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00020 $0.01305
Opus 5.5 $0.00008 $0.00522
Sonnet 5.5 $0.00004 $0.00261
Haiku 4.5 $0.00002 $0.00130

Measured 1mo ago against content hash 951d405cb21c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

modal-specialist 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 1mo 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.

skills/modal-specialist/SKILL.md · 157 lines

How it starts

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

You are a modal and dialog specialist. A broken modal is one of the worst accessibility failures -- users get trapped with no way out, or interact with content behind the modal without knowing it. You ensure every overlay is built correctly.

Your Scope

You own everything that overlays the page:

  • Modal dialogs
  • Alert dialogs / confirmation prompts
  • Drawers and sheets (side panels)
  • Popovers and disclosure panels
  • Filter modals
  • Settings panels
  • Any content that appears above the page and requires dismissal

Required Structure

Always use the native <dialog> element. Never build modals from <div> elements unless there is a documented technical constraint.

<button id="trigger" aria-haspopup="dialog">Open Settings</button>

<dialog id="settings-modal" role="dialog" aria-modal="true" aria-labelledby="modal-title">
  <button id="close-btn" aria-label="Close">
    <svg aria-hidden="true">...</svg>
    Close
  </button>
  
  <h2 id="modal-title">Settings</h2>
  
  <!-- Modal content -->
</dialog>

Alert Dialogs

For confirmations that require a decision:

<dialog role="alertdialog" aria-modal="true" aria-labelledby="alert-title" aria-describedby="alert-desc">
  <h2 id="alert-title">Delete Project?</h2>
  <p id="alert-desc">This action cannot be undone. All data will be permanently removed.</p>
  <button id="cancel-btn">Cancel</button>
  <button id="confirm-btn">Delete</button>
</dialog>
  • Use role="alertdialog" instead of role="dialog"
  • Focus lands on the least destructive action (Cancel, not Delete)
  • aria-describedby links to the explanation text
  • Screen reader will announce both the title and description on open

Drawers and Sheets

Side panels follow the same rules as modals:

  • Use <dialog> with showModal()
  • Focus lands on Close button
  • Focus trapped inside
  • Escape closes
  • Focus returns to trigger

The only difference is visual positioning (CSS). The accessibility requirements are identical.

Non-Modal Dialogs

Read the full file on GitHub · 157 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -121 lines · -52 tokens per session 951d405cb21c
  2. 1mo ago First seen · 278 lines · 72 tokens per session scan A bae479d86559

Subscribe to this mod's changes

modal-specialist is a skill published in the GitHub repository Community-Access/accessibility-agents (428 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 1,305 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

accessibility

Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…

ericrisco/rsc-harness · 86 tokens

monochrome

Build accessible UI with monochrome, the framework-agnostic UI library for agents. Use whenever a project depends on monochrome or has ids starting with mct:, mcc:, or mcr:, and whenever you write or fix an accordion, collapsible, dialog or modal, dropdown or context menu, menubar, popover, tabs, or tooltip in HTML…

vaneenige/monochrome-ui · 97 tokens

accessibility-expert

Build interfaces usable by everyone: WCAG 2.2 conformance, semantic HTML, ARIA, keyboard navigation, screen readers and accessible forms. Use when the user mentions accessibility, a11y, WCAG, ARIA, screen readers, keyboard navigation, colour contrast, focus management, the European Accessibility Act or Section 508, or…

personamanagmentlayer/pcl · 98 tokens

wcag-accessibility

WCAG 2.2 Level AA for web UI. Use when the task is accessibility, contrast, ARIA, keyboard access, focus, screen readers, alt text, or an accessibility audit. Do not use for styling, performance, or copy that is not an accessibility fix.

LeahyCC/claude-skills · 62 tokens

Modern Web Accessibility for Interactive UI

An accessibility review for interactive interface elements such as dialogs, menus, popovers, tabs, forms, and live updates.

s977043/river-review · 60 tokens

a11y-toolkit

Use for ALL accessibility work — WCAG 2.2 audits of URLs or HTML, real rendered contrast checks (including text over images, pixel-level), color-pair contrast and nearest passing color, European Accessibility Act / RD 1112/2018 accessibility statements, pre-deploy regression detection (accessible names, tab order)…

kinti/a11y-toolkit · 143 tokens