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 eventsgit 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/events)<a href="https://agentmods.dev/skills/deeleeramone/pywry/events"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/events/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/events"><img src="https://agentmods.dev/badge/skills/deeleeramone/pywry/events.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.00034 | $0.01388 |
| Opus 5.5 | $0.00014 | $0.00555 |
| Sonnet 5.5 | $0.00007 | $0.00278 |
| Haiku 4.5 | $0.00003 | $0.00139 |
Grade A, and why
events 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 — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PyWry Event System — Agent Reference
The event bus is the plumbing underneath every MCP tool. You rarely need to think about it — the typed tools wrap emit + wait + state-poll for you — but when you reach for
send_eventor interpret tool results, this is how it works.
Event names are namespaced
Every event has the form namespace:event-name, e.g.:
tvchart:symbol-search— ask the chart to open symbol searchtvchart:state-response— chart's reply with its current statetvchart:data-request— chart asks Python for barstvchart:data-response— Python delivers barstoolbar:request-state— ask a toolbar component for its valuetoolbar:state-response— component's replychat:user-message— user typed somethingchat:ai-response— model produced a tokenpywry:update-theme— dark/light mode change
Never emit an event with a name that doesn't match namespace:event-name
— the framework rejects it.
Widget IDs vs component IDs
widget_id — identifies the top-level PyWry widget (a chart, a grid,
a chat panel, a dashboard). Every MCP tool takes widget_id as an
argument because all events route to the widget first.
componentId — identifies a child inside a widget (a specific toolbar button, a marquee ticker slot, a chart pane). Component IDs are scoped to their containing widget.
When you call send_event(widget_id, event_type, data), the
widget_id picks the target widget; anything identifying a specific
component goes in the data payload (typically as data.componentId
or data.chartId).
Request / response pattern
Some events are fire-and-forget (e.g. tvchart:symbol-search —
"please do this"). Others are request/response round-trips where the
caller wants a reply (e.g. tvchart:request-state → tvchart:state-response).
The framework correlates request/response with a context token:
- Emitter generates a random
contexttoken. - Emitter injects it into the request payload.
- Listener sees the request, attaches the same
contextto its response, and emits the response event. - Emitter sees the matching
contexton the response and wakes up.
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 · 152 lines · 34 tokens per session scan A cc5045c47ab9
events is a skill published in the GitHub repository deeleeramone/PyWry (100 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,388 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-08-30.
events compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| eventsdeeleeramone/PyWry | Skill | 100 | 1mo ago | Apache-2.0 | A | 34 | 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 |