wemo-mcp-server copilot-instructions.md

wemo-mcp-server copilot-instructions.md is an instructions file for GitHub Copilot from apiarya/wemo-mcp-server. It costs 7,061 tokens per session, scanned C, original, MIT.

Repository instructions for contributors to a WeMo MCP server, a service that lets AI assistants discover and control WeMo smart-home devices. They define mandatory checks before commits and approval before pushes.

In plain words
What is it for?
Use them when changing this project to run its specified tests and checks before committing, and to review the commit summary before pushing.
Why use it?
They reduce the risk of committing failing code and sending changes to the remote repository without the user’s confirmation.

Instructions file for GitHub Copilot

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.

agentmods
npx agentmods add instructions/apiarya/wemo-mcp-server/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/apiarya/wemo-mcp-server

Made for: GitHub Copilot.

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 wemo-mcp-server copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/apiarya/wemo-mcp-server/copilot-instructions.svg)](https://agentmods.dev/instructions/apiarya/wemo-mcp-server/copilot-instructions)
Your own site
<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>
Per session 7,061 This file is loaded in full into every session.
When invoked 7,061 The same file β€” it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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 $0.07061 $0.07061
Opus 5 $0.03530 $0.03530
Sonnet 5 $0.01412 $0.01412
Haiku 4.5 $0.00706 $0.00706

Measured 3d ago against content hash 67ef0c88b19f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 -->
.github/copilot-instructions.md Β· 822 lines

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

  1. 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.
  2. 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

Read the full file on GitHub Β· 822 lines

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. 3d ago First seen Β· 822 lines Β· 7,061 tokens per session scan C 67ef0c88b19f

Subscribe to this mod's changes

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.

Related

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.

brilliantlabsAR/brilliant_sdk Β· 1,817 tokens

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).

camthink-ai/NeoMind Β· 4,296 tokens

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.

Keshas-dev/AMD-BC-250-Windows-Driver Β· 48,206 tokens

Nothan-OS CLAUDE.md

Instructions for Vinalinux-Org/Nothan-OS, covering claude.md β€” nothanos, hard rules, toolchain, driver and design philosophy.

Vinalinux-Org/Nothan-OS Β· 499 tokens

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.

urob/zmk-config Β· 1,867 tokens

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.

modelcontextprotocol/ext-apps Β· 3 tokens