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.
git clone --depth 1 https://github.com/ESJavadex/claude-homeassistant-pluginsWrote 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/commands/esjavadex/claude-homeassistant-plugins/ha-find-duplicates)<a href="https://agentmods.dev/commands/esjavadex/claude-homeassistant-plugins/ha-find-duplicates"><img src="https://agentmods.dev/badge/commands/esjavadex/claude-homeassistant-plugins/ha-find-duplicates/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/commands/esjavadex/claude-homeassistant-plugins/ha-find-duplicates"><img src="https://agentmods.dev/badge/commands/esjavadex/claude-homeassistant-plugins/ha-find-duplicates.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.00010 | $0.00259 |
| Opus 5 | $0.00005 | $0.00130 |
| Sonnet 5 | $0.00002 | $0.00052 |
| Haiku 4.5 | $0.00001 | $0.00026 |
Grade A, and why
ha-find-duplicates 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 10d 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.
What it actually says
Find Duplicate Automations and Scripts
Scan Home Assistant configuration files to find duplicate automations and scripts.
Instructions
Run the duplicate finder script to analyze the configuration:
python3 ${PLUGIN_DIR}/skills/homeassistant-config/scripts/find_duplicates.py ${1:-.} --verbose
If no path argument is provided, analyze the current directory.
Analysis Steps
- Run the script above to find duplicates
- Report findings to the user in a clear format:
- Exact duplicates: Items with identical triggers/actions
- Similar items: Items with similar names or overlapping functionality
- Conflicting automations: Multiple automations that could fire for the same event
- For each duplicate found, suggest:
- Which one to keep (the more complete/better named one)
- How to consolidate them if they have different conditions
- Entity IDs that may need updating after removal
Output Format
Present results as:
Exact Duplicates
- List automations/scripts with identical logic
Similar Automations
- List automations with similar triggers or entity targets
Recommendations
- Specific actions to take for cleanup
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.
- 10d ago First seen · 43 lines · 10 tokens per session scan A 948bb6b0e730
ha-find-duplicates is a command published in the GitHub repository ESJavadex/claude-homeassistant-plugins (26 stars, last pushed 9mo ago), licensed MIT. It adds 10 tokens to every session and 259 once invoked, about $0.0001 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.
Other commands, from other repositories
debug
A command for investigating software errors by classifying them, tracing their source, and comparing expected with actual behaviour.
debug
Systematically debug an issue by analyzing symptoms, forming hypotheses, and testing them.
trace
Trace the execution path of a request or operation through the codebase.
env-validate
Validate environment configuration against the template and runtime requirements.
debug-pod
Debug a failing or unhealthy Kubernetes pod by analyzing events, logs, and configuration.
bisect
Use git bisect to find the exact commit that introduced a bug through binary search.