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.
npx skills add deeleeramone/PyWry --skill modalsgit clone --depth 1 https://github.com/deeleeramone/PyWryWrote 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.
[](https://agentmods.dev/skills/deeleeramone/pywry/modals)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
Modal Schema
| 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 |
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.
- 3mo ago First seen · 335 lines · 0 tokens per session scan A 1b89f9ee4e14
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.
modals compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| modalsdeeleeramone/PyWry | Skill | 100 | 1mo ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| social-media-matrixnexu-io/html-anything | Skill | 17k | 3d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| dashboard-designmckinsey/vizro | Skill | 3.8k | 5d ago | Apache-2.0 | A | 71 | Claude Code |
| research-stockskoala73/worldmonitor | Skill | 91k | yesterday | AGPL-3.0 | A | 41 | Claude Code, Codex |
| conflict-pulsekoala73/worldmonitor | Skill | 91k | yesterday | AGPL-3.0 | A | 63 | Claude Code, Codex |
| market-snapshotkoala73/worldmonitor | Skill | 91k | yesterday | AGPL-3.0 | A | 59 | Claude Code, Codex |
| world-briefkoala73/worldmonitor | Skill | 91k | yesterday | AGPL-3.0 | A | 50 | Claude Code, Codex |