modals

modals is a skill for Claude Code, Codex from deeleeramone/PyWry. It costs 0 tokens per session (2,373 once invoked), scanned A, original, Apache-2.0.

Guidance for creating reusable modal dialogs in PyWry, which are overlay windows for content such as forms, confirmations, information, or custom HTML. The documented pattern connects a modal to a button event.

In plain words
What is it for?
Use it to add settings windows, confirmation prompts, information panels, and other overlay content to PyWry interfaces.
Why use it?
It provides a consistent way to define, identify, and open dialogs without inventing a separate interaction pattern for each one.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add settings windows, confirmation prompts, information panels, and other overlay content to PyWry interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deeleeramone/pywry/modals
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 deeleeramone/PyWry --skill modals
Clone the repo
git clone --depth 1 https://github.com/deeleeramone/PyWry

Made for: Claude Code, Codex.

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 modals

README.md
[![agentmods](https://agentmods.dev/badge/skills/deeleeramone/pywry/modals/github.svg)](https://agentmods.dev/skills/deeleeramone/pywry/modals)
Your own site
<a href="https://agentmods.dev/skills/deeleeramone/pywry/modals"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/modals/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 modals

Your own site · 80×15
<a href="https://agentmods.dev/skills/deeleeramone/pywry/modals"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/modals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,373 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 pass 7 Sept 2026
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.00000 $0.02373
Opus 5.5 $0.00000 $0.00949
Sonnet 5.5 $0.00000 $0.00475
Haiku 4.5 $0.00000 $0.00237

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

Security

Grade A, and why

modals 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 3mo 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.

pywry/pywry/mcp/skills/modals/SKILL.md · 335 lines

How it starts

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

Modals - MANDATORY PATTERN

STOP. READ THIS ENTIRE FILE BEFORE CREATING MODALS.

Overview

Modals are reusable overlay dialogs that can contain any content - forms, confirmations, information panels, or custom HTML. They follow the same pattern as toolbars, passed to .show-* functions.

The ONLY Correct Way to Create Modals

Copy this EXACTLY. Do not deviate.

from pywry import Modal, show_plotly

fig = go.Figure(...)

widget = show_plotly(
    fig,
    modals=[
        Modal(
            component_id="settings-modal",
            title="Settings",
            items=["<p>Configure your preferences here.</p>"],
            size="medium",
        )
    ],
    toolbars=[{
        "position": "top",
        "items": [
            {"type": "button", "label": "Open Settings", "event": "modal:open:settings-modal"}
        ]
    }]
)

THAT'S IT. Button click opens the modal automatically.


Property Type Required Default Description
component_id str YES - Unique identifier for the modal
title str no "" Modal header title
items list[str] no [] HTML content strings
size str no "medium" "small", "medium", "large", "fullscreen"
width str no None Custom width (e.g., "600px", "80%")
max_height str no None Custom max-height (e.g., "400px")
overlay_opacity float no 0.5 Backdrop opacity (0.0-1.0)
close_on_escape bool no True Close when Escape key pressed
close_on_overlay_click bool no True Close when clicking outside modal
reset_on_close bool no True Reset form inputs when closed
on_close_event str no None Event to emit when modal closes
open_on_load bool no False Open modal immediately on page load
style str no "" Additional CSS for this modal
script str no "" Additional JavaScript for this modal
class_name str no "" Additional CSS classes

Read the full file on GitHub · 335 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. 3mo ago First seen · 335 lines · 0 tokens per session scan A 1b89f9ee4e14

Subscribe to this mod's changes

modals is a skill published in the GitHub repository deeleeramone/PyWry (100 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,373 tokens. 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-30.

Related

modals compared with skills from other repositories

modals next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modalsdeeleeramone/PyWrySkill1001mo agoApache-2.0A0Claude Code, Codex
social-media-matrixnexu-io/html-anythingSkill17k3d agoApache-2.0A31Claude Code, Codex
dashboard-designmckinsey/vizroSkill3.8k5d agoApache-2.0A71Claude Code
research-stockskoala73/worldmonitorSkill91kyesterdayAGPL-3.0A41Claude Code, Codex
conflict-pulsekoala73/worldmonitorSkill91kyesterdayAGPL-3.0A63Claude Code, Codex
market-snapshotkoala73/worldmonitorSkill91kyesterdayAGPL-3.0A59Claude Code, Codex
world-briefkoala73/worldmonitorSkill91kyesterdayAGPL-3.0A50Claude Code, Codex