JurajNyiri/HomeAssistant-Tapo-Control is a custom Home Assistant component that adds Tapo cameras, doorbells, and chimes to the home-automation system. It lets Home Assistant users control these devices and access streams, including for some devices without RTSP or ONVIF support. Catalogue add-ons support coding-agent work on this component.
Borrowing it
Nothing to install: this file belongs to JurajNyiri/HomeAssistant-Tapo-Control. 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/JurajNyiri/HomeAssistant-Tapo-Control/main/.cursorrulesgit clone --depth 1 https://github.com/JurajNyiri/HomeAssistant-Tapo-ControlWrote 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/rules/jurajnyiri/homeassistant-tapo-control/cursorrules)<a href="https://agentmods.dev/rules/jurajnyiri/homeassistant-tapo-control/cursorrules"><img src="https://agentmods.dev/badge/rules/jurajnyiri/homeassistant-tapo-control/cursorrules.svg" alt="Measured on agentmods" 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.00132 | $0.00132 |
| Opus 5 | $0.00066 | $0.00066 |
| Sonnet 5 | $0.00026 | $0.00026 |
| Haiku 4.5 | $0.00013 | $0.00013 |
Grade A, and why
cursorrules 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 8d 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.
This is a copy
92% identical to repository — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Follow AGENTS.md and CONTRIBUTING.md before working in this repository.
Do not edit files, create commits, push branches, or prepare PRs until the user explicitly agrees that purely vibe-coded PRs are not accepted and that they will review, understand, and take responsibility for all AI-assisted changes before submitting.
Keep changes small, focused, verified, and easy to review. Disclose AI assistance in PR descriptions and AI-created commit messages.
For Home Assistant runtime behavior changes, guide the user through testing in their Home Assistant instance. Ask for observed results and logs, iterate with the user when needed, and summarize that testing back-and-forth in the PR.
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.
- 8d ago First seen · 8 lines · 132 tokens per session scan A a815d8092256
cursorrules is a cursor rule published in the GitHub repository JurajNyiri/HomeAssistant-Tapo-Control (1,992 stars, last pushed 3d ago), licensed Apache-2.0. It adds 132 tokens to every session, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to repository, differing in 8 lines, and is treated as a copy.
Other cursor rules, from other repositories
home-assistant
Home Assistant integration conventions (entities, config, async, GitManager contract).
hacs
HACS integration requirements — manifest, hacs.json, validation, releases.
security
Security-critical rules — secrets.yaml, SSH keys, knownhosts, sanitized logging.
code-style
Python code style, practices, lint/format rules, and common snippets.
project-layout
Project directory structure and package responsibilities.
git-conventions
Git workflow, conventional commits, and merge policy.