Borrowing it
Nothing to install: this file belongs to cryptomilk/hass-eink-dashboard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cryptomilk/hass-eink-dashboard/main/.agents/skills/implement-widget/SKILL.mdgit clone --depth 1 https://github.com/cryptomilk/hass-eink-dashboardWrote 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/cryptomilk/hass-eink-dashboard/implement-widget)<a href="https://agentmods.dev/skills/cryptomilk/hass-eink-dashboard/implement-widget"><img src="https://agentmods.dev/badge/skills/cryptomilk/hass-eink-dashboard/implement-widget/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/cryptomilk/hass-eink-dashboard/implement-widget"><img src="https://agentmods.dev/badge/skills/cryptomilk/hass-eink-dashboard/implement-widget.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00048 | $0.05047 |
| Opus 5.5 | $0.00019 | $0.02019 |
| Sonnet 5.5 | $0.00010 | $0.01009 |
| Haiku 4.5 | $0.00005 | $0.00505 |
Grade A, and why
implement-widget 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.
How it starts
The opening of the file, as written. The whole thing — 544 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implement Widget Renderer: $widget-type
Implement the SVG template and Python context builder for $widget-type. The output of this work is two artifacts:
custom_components/eink_dashboard/templates/$widget-type.svg.j2_build_$widget-type_context()inwidgets/$widget-type.py
Before you start
- Read the existing tests (
TestRender{WidgetName}intests/test_render_{widget_type}.py) — these define the expected behavior. - Read
const.pyforWidgetType,COLOR_*constants,PADDING,DEFAULT_CARD_STYLE,Widget,DisplayConfig,color_to_hex. - Read
svg_render.pyfor the Jinja2 environment,_svg_to_png(), icon filter functions (_mdi_svg_filter,_weather_svg_filter), and_SVG_RENDERERS. - Read existing widget modules in
widgets/(e.g.widgets/tile.py) for the context builder pattern, andwidgets/_helpers.pyfor shared layout helpers. - Read
templates/_macros.svg.j2for the three shared macros:card_container,card_row,chip.
Current SVG infrastructure (svg_render.py)
!grep -n "^def \|^_SVG_RENDERERS\|^_jinja_env\|^_TEMPLATE_DIR\|^_FONTS_DIR\|^_mdi\|^_weather" custom_components/eink_dashboard/svg_render.py
Shared layout helpers (widgets/_helpers.py)
!grep -n "^def \|^_ACTIVE" custom_components/eink_dashboard/widgets/_helpers.py
Existing widget context builders
!grep -rn "^def _build_" custom_components/eink_dashboard/widgets/*.py
SVG macro signatures
!grep -n "macro card_container\|macro card_row\|macro chip\|macro icon_circle" custom_components/eink_dashboard/templates/_macros.svg.j2
WidgetMetrics and _compute_metrics (in render.py)
!grep -n "^class WidgetMetrics" -A 10 custom_components/eink_dashboard/render.py
!grep -n "^def _compute_metrics" -A 12 custom_components/eink_dashboard/render.py
Icon name resolver (in render.py)
!grep -n "^def _device_class_icon" -A 6 custom_components/eink_dashboard/render.py
Current SVG renderer registry
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.
- 3d ago First seen · 544 lines · 48 tokens per session scan A ccafecfe917f
implement-widget is a skill published in the GitHub repository cryptomilk/hass-eink-dashboard (124 stars, last pushed 2d ago), licensed Apache-2.0. It adds 48 tokens to every session and 5,047 once invoked, about $0.0002 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-10-26.
Other skills, from other repositories
HA Integration Dev
Home Assistant custom integration development in Python. Covers customcomponents, DataUpdateCoordinator, configflow, OAuth2, conversation agent, HACS publishing, device registry, entity platforms, services, repair issues, diagnostics, Bluetooth integrations, and multi-coordinator patterns.
effect-v4
Write, review, or upgrade Effect v4 code in the Composio CLI, cli-keyring, and json-schema-to-effect-schema packages, all pinned exactly to [email protected] — Context.Service and explicit layers, Schema.TaggedError and typed recovery, the effect/cli command surface, and the vendored effect source oracle. Use when writing…
langgraph-docs
Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns. Use when the user asks about LangGraph, graph agents, state machines, agent orchestration, LangGraph API, or needs LangGraph implementation guidance.
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
migrating-mastra-to-pydantic-ai
Migrate TypeScript Mastra applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports @mastra/ or relies on Mastra agents, tools, workflows, memory, processors, streaming, approvals, skills, or subagents.
migrating-vercel-ai-sdk-and-eve-to-pydantic-ai
Migrate TypeScript Vercel AI SDK or Eve applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports ai, @ai-sdk/, or eve, or relies on generateText, streamText, ToolLoopAgent, useChat, Eve agents, tools, skills, subagents, approvals, sessions, channels, schedules…