synced-addons

synced-addons is a cursor rule for Cursor from kellerza/hass-addons. It costs 616 tokens per session, scanned A, original, Apache-2.0.

A repository rule describing which Home Assistant add-on folders are copied automatically from other repositories. It says where changes must be made and warns that edits to mirrored folders can be overwritten.

In plain words
What is it for?
Use it when deciding whether an add-on folder can be edited directly or is maintained by a synchronization workflow.
Why use it?
It prevents developers from changing generated copies instead of the source repository where the fix belongs.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when deciding whether an add-on folder can be edited directly or is maintained by a synchronization workflow.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/kellerza/hass-addons/synced-addons
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.

Clone the repo
git clone --depth 1 https://github.com/kellerza/hass-addons

Made for: Cursor.

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 synced-addons

README.md
[![agentmods](https://agentmods.dev/badge/rules/kellerza/hass-addons/synced-addons/github.svg)](https://agentmods.dev/rules/kellerza/hass-addons/synced-addons)
Your own site
<a href="https://agentmods.dev/rules/kellerza/hass-addons/synced-addons"><img src="https://agentmods.dev/badge/rules/kellerza/hass-addons/synced-addons/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.

agentmods 80×15 button for synced-addons

Your own site · 80×15
<a href="https://agentmods.dev/rules/kellerza/hass-addons/synced-addons"><img src="https://agentmods.dev/badge/rules/kellerza/hass-addons/synced-addons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 616 This file is loaded in full into every session.
When invoked 616 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00616 $0.00616
Opus 5.5 $0.00246 $0.00246
Sonnet 5.5 $0.00123 $0.00123
Haiku 4.5 $0.00062 $0.00062

Measured 12d ago against content hash f87cea68fe6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

synced-addons 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 12d 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.

.cursor/rules/synced-addons.mdc · 43 lines

What it actually says

Add-on repository layout (kellerza/hass-addons)

This repo aggregates Home Assistant add-ons. Some folders are maintained here; others are CI-mirrored from upstream repos by .github/workflows/sync-remotes.yml and will have any manual edits overwritten on the next sync.

Do NOT hand-edit — CI-synced mirrors

These folders are copied verbatim from another repo. Fix the problem in the source repo, not here:

  • hass-addon-sunsynk-edge/, hass-addon-sunsynk-multi/, hass-addon-mbusd/ — synced from kellerza/sunsynk. Edit those add-ons in the sunsynk repo (per its own rules: edge is the dev add-on and Docker build source; multi is the stable/image-only release add-on). Dockerfile and rootfs/ are stripped from both folders on sync (image-only mirrors).
  • hass-addon-sma-em-edge/ — synced from kellerza/hassio-sma-em (sma-em-dev; build source). The slug is rewritten by CI; don't fix it here. Dockerfile and rootfs/ are stripped on sync (image-only mirror).

If a task would touch any of the above, redirect: state that the folder is a sync target and the change belongs in the upstream repo (or in sync-remotes.yml if the sync logic itself is wrong).

Maintained here

Manual work is welcome on the repo's own add-ons and their Python:

  • hass-addon-control-group/ + src/ha_addon_control_group/
  • hass-addon-esp/ + src/ha_addon_esp/
  • hass-addon-qsusb64/ + src/ha_addon_qsusb64/
  • hass-addon-git-push/ (shell/Docker only)
  • src/ha_addon/ — shared HA API helpers (ha_api/) used across add-ons.

Pattern: add-on packaging (config.yaml, translations/, Dockerfile, rootfs/ s6 services) lives in the hass-addon-* folder; behaviour lives in the matching src/ha_addon_* package. Keep Supervisor options in sync between an add-on's config.yaml, its translations/en.yaml, and the options.py of its src package.

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. 12d ago First seen · 43 lines · 616 tokens per session scan A f87cea68fe6a

Subscribe to this mod's changes

synced-addons is a cursor rule published in the GitHub repository kellerza/hass-addons (9 stars, last pushed 3d ago), licensed Apache-2.0. It adds 616 tokens to every session, about $0.0025 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-02.