add-handler

add-handler is a skill for Claude Code, Codex from dmbyer/Hedron. It costs 66 tokens per session (1,147 once invoked), scanned A, original, no licence file.

A guide for adding or splitting event handlers, which coordinate work by calling systems and publishing events. It defines their responsibilities, priority, and subscription setup without putting business rules inside them.

In plain words
What is it for?
Adding handlers, splitting handlers, routing events, registering subscriptions, and choosing handler priority.
Why use it?
It helps keep event handlers small and prevents domain logic from being mixed into event coordination.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dmbyer/hedron/add-handler
Any agent
npx skills add dmbyer/Hedron --skill add-handler
Clone the repo
git clone --depth 1 https://github.com/dmbyer/Hedron

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 add-handler

README.md
[![agentmods](https://agentmods.dev/badge/skills/dmbyer/hedron/add-handler.svg)](https://agentmods.dev/skills/dmbyer/hedron/add-handler)
Your own site
<a href="https://agentmods.dev/skills/dmbyer/hedron/add-handler"><img src="https://agentmods.dev/badge/skills/dmbyer/hedron/add-handler.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,147 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00066 $0.01147
Opus 5 $0.00033 $0.00574
Sonnet 5 $0.00013 $0.00229
Haiku 4.5 $0.00007 $0.00115

Measured 3d ago against content hash 82a92b436976, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

add-handler 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 3d 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/add-handler/SKILL.md · 71 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 71 lines · 66 tokens per session scan A 82a92b436976

Subscribe to this mod's changes

add-handler is a skill published in the GitHub repository dmbyer/Hedron (11 stars, last pushed 17d ago), with no licence file. It adds 66 tokens to every session and 1,147 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

gamified-app

三屏: 封面 / 今日任务带 XP / 任务详情, 暗色舞台.

nexu-io/html-anything · 25 tokens

rpgmaker-mv-mcp

Use when building, editing or reasoning about an RPG Maker MV game through the RpgMakerMVUltimate MCP server (tools prefixed rpgmaker / the 13 consolidated tools: querydatabase, createdatabaseentry, generatemap, managemapevent, analyzeproject, etc.). Covers the correct workflow so maps, NPCs, chests, shops, doors…

DiegoLopez0208/RpgMakerMVUltimate-MCP · 139 tokens

gm-craft

The Art of Game Mastering — narration, NPC, pacing, and improvisation wisdom that makes a session feel magical. Load when narrating a scene, voicing an NPC, or pacing a beat. This is the product's soul; internalize it, then play.

Sstobo/Claude-Code-Game-Master · 59 tokens

gm-skills

Skill-check resolution — when to roll, the DC ladder, fail-forward philosophy, and margin-based consequences. Load whenever the player attempts something uncertain ("I try to..."). Resolution runs through the generic core (d20 vs DC); this is the judgment framework for when/how.

Sstobo/Claude-Code-Game-Master · 59 tokens

gm-social

Social / NPC interaction workflow — load NPC context, attitude check, social mechanics (Persuasion/Deception/Intimidation/Insight DCs), and persisting NPC memory + consequences. Load whenever the player talks to, persuades, or reads an NPC ("I talk to...", "I ask...").

Sstobo/Claude-Code-Game-Master · 66 tokens

gm-combat

D&D-kit combat mechanics — initiative, attack/damage resolution, XP-by-CR awards, combat modifiers, and death saves. Load when a hostile action is declared or combat starts in a campaign whose World Kit is dnd5e. For non-D&D kits, use the generic core (gamecore.py) and the active ruleset instead.

Sstobo/Claude-Code-Game-Master · 74 tokens