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 nolte/claude-home-assistant --skill ha-card-features-addgit clone --depth 1 https://github.com/nolte/claude-home-assistantWrote 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/nolte/claude-home-assistant/ha-card-features-add)<a href="https://agentmods.dev/skills/nolte/claude-home-assistant/ha-card-features-add"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-card-features-add/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/nolte/claude-home-assistant/ha-card-features-add"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-card-features-add.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.00190 | $0.02106 |
| Opus 5 | $0.00095 | $0.01053 |
| Sonnet 5 | $0.00038 | $0.00421 |
| Haiku 4.5 | $0.00019 | $0.00211 |
Grade A, and why
ha-card-features-add 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 11d 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HA Card Features Add
Spec: spec/claude/ha-card-features-add/en.md (EN canonical) / spec/claude/ha-card-features-add/de.md (DE translation).
Why this is a skill, not an agent
- Human-visible augmentation surface — the user describes a quick control and reads back the feature element, its registration, and the conformance report; a skill keeps this on the visible command surface, like the sibling augment skills (
ha-lovelace-card-scaffold,ha-config-flow-augment). - Mid-flow interactivity — the applicability-predicate decision (which domain/entity, entity- vs. area-bound) and whether the feature is configurable are per-run dialogues the user approves before generation.
- Bounded, inline generation — one feature custom element plus its registration fits inline; no isolated agent context is needed.
- Counter-dimension considered: the draft→validate loop could be an agent, but the predicate decision and the host-card context binding belong in the user's working context; skill wins.
When this skill activates
Use this skill to add one custom card feature — an interactive control row rendered inside the tile card (or another host card) — to an existing frontend module, acting on the parent card's bound entity.
When NOT to activate
- a full custom card (card file layout,
set hasslifecycle,getCardSize/getGridOptions) →ha-lovelace-card-scaffold/ha/lovelace-card-patterns - the feature's graphical config editor mechanics →
ha/lovelace-card-editor - badges as a separate dashboard delivery shape →
ha-badge-add - deploying/importing into a running HA instance → out of scope
Hard rules
- One feature, one run. No multi-feature batches.
- Read
spec/ha/lovelace-card-features/en.mdfirst. Do not generate from memory. - Register both ways. Register the feature via
window.customCardFeatures = window.customCardFeatures || []; window.customCardFeatures.push({ type, name, ... })with mandatorytypeandname, and register the element viacustomElements.define("<feature-type>", <FeatureClass>)so thetyperesolves. The element extendsHTMLElementorLitElement. setConfiglifecycle. ImplementsetConfig(config)(this.config = config) and reject a missing/invalid config withthrow new Error("Invalid configuration").- Context contract. Carry
hass,config,contextas properties (the host card sets them); resolve the targetstateObjfromthis.hass.states[this.context.entity_id], handling a missingcontext/entity_id; returnnullfromrender()whileconfig/hass/contextare unset or the entity is unsupported. - Service on interaction. Render controls and on interaction call
this.hass.callService(domain, service, { entity_id })on the target entity; callev.stopPropagation()so the click does not bubble up to the host card. - One predicate, two uses. Provide an
isSupported(hass, context)predicate that resolves thestateObjfromcontext.entity_id, returnsfalsewhen none exists, and checks applicability by domain (not a single entity ID) — and use the same function inrender()and in thecustomCardFeaturesisSupportedentry. - Configurable only when configured. For a configurable feature add
static getStubConfig()(returning a default config incl.type: "custom:<feature-type>"), setconfigurable: true, and addstatic getConfigElement()for a graphical editor (seespec/ha/lovelace-card-editor/en.md); never requiregetConfigElement/getStubConfigfor a feature with no extra config —configurablestaysfalse. - HA default styling. Use the CSS custom properties
--feature-height,--feature-border-radius,--feature-button-spacing. - Name per
spec/ha/naming-conventions/en.mdand verify HA internals against the official docs (seespec/ha/upstream-docs-verification/en.md).
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.
- 11d ago First seen · 106 lines · 190 tokens per session scan A a44a038f006e
ha-card-features-add is a skill published in the GitHub repository nolte/claude-home-assistant (1 stars, last pushed 1mo ago), licensed MIT. It adds 190 tokens to every session and 2,106 once invoked, about $0.0010 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-31.
Other skills, from other repositories
cache-components
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). PROACTIVE ACTIVATION: Use this skill automatically when working in Next.js projects that have cacheComponents: true in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best…
frontend-code-review
Trigger when the user requests a review of frontend files (e.g., .tsx, .ts, .js). Support both pending-change reviews and focused file reviews while applying the checklist rules.
accessibility-a11y
WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.
flutter-development
Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.
electron-desktop
Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.
generic-react-feature-developer
Guide feature development for React applications with architecture focus. Covers Zustand/Redux patterns, IndexedDB usage, component systems, lazy loading strategies, and seamless integration. Use when adding new features, refactoring existing code, or planning major changes.