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 agentmods add instructions/apiarya/wemo-mcp-server/copilot-instructionsgit clone --depth 1 https://github.com/apiarya/wemo-mcp-serverWrote 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/instructions/apiarya/wemo-mcp-server/copilot-instructions)<a href="https://agentmods.dev/instructions/apiarya/wemo-mcp-server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/apiarya/wemo-mcp-server/copilot-instructions.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 | $0.07061 | $0.07061 |
| Opus 5 | $0.03530 | $0.03530 |
| Sonnet 5 | $0.01412 | $0.01412 |
| Haiku 4.5 | $0.00706 | $0.00706 |
Grade C, and why
wemo-mcp-server copilot-instructions.md scanned grade C with 1 finding 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- Use this file to provide workspace-specific custom instructions to Copilot. For more details, visit https://code.visualstudio.com/docs/copilot/copilot-customization#_use-a-githubcopilotinstructionsmd-file --> How it starts
The opening of the file, as written. The whole thing β 822 lines β stays where its author put it; the contents beside it link to each section on GitHub.
WeMo MCP Server - Copilot Instructions
π€ Mandatory Rules for AI Agents
These rules apply to GitHub Copilot and any AI assistant making changes in this repo. Violating them has caused CI failures and broken releases in the past.
BEFORE EVERY git commit β no exceptions
-
Run the full test suite and confirm it passes:
.venv/bin/python -m pytest tests/test_server.py tests/test_phase2.py tests/test_models.py -q --tb=short # Must show: X passed, 0 failed- This takes ~5 seconds. There is no acceptable reason to skip it.
- Do NOT use
--no-verify. Pre-commit hooks run black, ruff, mypy, and pytest automatically. - If a test fails, fix the test or the code before committing. Do not commit broken tests.
-
Only after the test suite passes, commit normally (no
--no-verify):git commit -m "your message"The pre-commit hooks will run black, ruff, mypy, and pytest automatically. If any hook fails, fix the issue and retry.
BEFORE EVERY git push β always ask the user first
Show the commit summary and wait for explicit confirmation before pushing:
git log origin/main..HEAD --oneline
Exception: user has explicitly said "push" or "commit and push" in their request.
WHY THIS MATTERS
The cache_keys removal (Feb 21 2026) broke CI because tests were not run before committing.
A 5-second local test run would have caught it immediately.
Never let a CI failure be the first signal that something is broken.
Production-ready MCP Server for WeMo smart home device control via AI assistants.
Project Identity
- Repository: https://github.com/apiarya/wemo-mcp-server
- Package:
wemo-mcp-server(PyPI) - MCP Name:
io.github.apiarya/wemo - Version: v1.4.0 (stable)
- Status: Production β’ Published on PyPI and MCP 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 Β· 822 lines Β· 7,061 tokens per session scan C 67ef0c88b19f
wemo-mcp-server copilot-instructions.md is an instructions file published in the GitHub repository apiarya/wemo-mcp-server (1 stars, last pushed 2mo ago), licensed MIT. It adds 7,061 tokens to every session, about $0.0353 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
brilliant_sdk AGENTS.md
Instructions for brilliantlabsAR/brilliant_sdk, covering brilliant sdk β agent guide, how an app works (the pattern behind everything), minimal reading paths, verify without hardware and testing.
NeoMind CLAUDE.md
Instructions for camthink-ai/NeoMind, covering neomind β edge ai platform for iot, development commands, ecosystem repositories, extension package contract (.nep) and device type template contract (json).
AMD-BC-250-Windows-Driver AGENTS.md
Instructions for Keshas-dev/AMD-BC-250-Windows-Driver, covering amd bc-250 windows driver β agent notes, host machine, β οΈ historical-data caution (2026-08-21, strengthened), fresh re-verifications (current build, 2026-08-21) and workspace boundary.
Nothan-OS CLAUDE.md
Instructions for Vinalinux-Org/Nothan-OS, covering claude.md β nothanos, hard rules, toolchain, driver and design philosophy.
zmk-config AGENTS.md
AGENTS.md instructions for urob/zmk-config, covering customization guide, ground rules, how the multi-board layout works, adding a new board and where to change what.
ext-apps CLAUDE.md
Claude Code instructions for modelcontextprotocol/ext-apps, a project described as: Official repo for spec & SDK of MCP Apps protocol - standard for UIs embedded AI chatbots, served by MCP servers.