AGENTS.md@testsB

AGENTS.md@tests from homeassistant-ai/ha-mcp is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add homeassistant-ai/ha-mcp/tests/AGENTS.md@git:20261019.93bcf52

Pins git:20261019.93bcf52 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
AGENTS.md file
Repository
homeassistant-ai/ha-mcp
Path
tests/AGENTS.md
Versions recorded
7
Latest version
git:20261019.93bcf52, committed Oct 19, 2026
First version recorded
Oct 1, 2026
Size
18,023 bytes
Repository stars
5,167
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Test Infrastructure and Rules

## Custom Component (ha_mcp_tools)

- Component is installed into the Docker container by `_install_custom_component` in `src/e2e/_conftest_seed.py`
- HA's `call_service(return_response=True)` wraps results in `{"changed_states": [], "service_response": {...}}`. Most tools unwrap it with `unwrap_service_response()` (`src/ha_mcp/tools/util_helpers.py`); `ha_call_service` instead *splits* it, projecting `changed_states` into `result` and surfacing `service_response` once at the top level (issue #2085)
- `hass.async_add_executor_job` only passes positional args — use `lambda:` wrappers for calls needing kwargs (e.g., `mkdir(parents=True, exist_ok=True)`)
- HA Docker image uses `annotatedyaml` (PyYAML wrapper), NOT `ruamel.yaml` — custom components needing ruamel must declare it in `manifest.json` requirements
- Feature flags (`ENABLE_YAML_CONFIG_EDITING`, `HAMCP_ENABLE_FILESYSTEM_TOOLS`) are set in `ha_container_with_fresh_config` fixture

## Backend Lanes and How to Gate a Test

The suite runs on several backends, and a test that only makes sense on some
of them is gated by a marker rather than a runtime `skip`. The markers and
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add homeassistant-ai/ha-mcp/tests/AGENTS.md@sha256:9863ed349f96f8f5

The line at the top of this page pins the label git:20261019.93bcf52, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jhmj3w7wkvx6jjx4.svg)](https://markdownregistry.com/a/art_jhmj3w7wkvx6jjx4)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Oct 1, 2026 and Oct 19, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261019.93bcf52 latest2026-10-19 93bcf52 18,023 BB view · diff
git:20261017.df275c82026-10-17 df275c8 17,612 BB view · diff
git:20261006.4f5fb872026-10-06 4f5fb87 17,130 BB view · diff
git:20261003.4de57fd2026-10-03 4de57fd 16,978 BB view · diff
git:20261003.de933112026-10-03 de93311 16,977 BB view · diff
git:20261001.17d86582026-10-01 17d8658 16,938 BB view · diff
git:20261001.29f16da2026-10-01 29f16da 16,812 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Size between 200 bytes and 200 KB (18023 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for AGENTS.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

homeassistant-ai/ha-mcp · 5,167 stars · license MIT · pushed 2026-10-21 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_jhmj3w7wkvx6jjx4
GET https://markdownregistry.com/api/v1/resolve?ref=homeassistant-ai/ha-mcp/tests/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/9863ed349f96f8f589d3ab9280429bc64164c55184772db9f99d7f157b453372

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from homeassistant-ai/ha-mcp

bat-adhoc SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/bat-adhoc/SKILL.md · Run bot acceptance tests to validate MCP tools work correctly from a real AI agent's perspective. Use when testing PRs…
git:20260926.4e60907 · audit A · 5,167 stars
bat-story-eval SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/bat-story-eval/SKILL.md · Compare MCP tool behavior between target and baseline versions using pre-built and custom stories with diff-based…
git:20260926.4e60907 · audit A · 5,167 stars
contrib-pr-review SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/contrib-pr-review/SKILL.md · Review a contribution PR for safety, quality, and readiness. Checks for security concerns, test coverage, size…
git:20260928.793abe9 · audit A · 5,167 stars
contributors-update SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/contributors-update/SKILL.md · Find merged PR authors missing from README and update the contributors list after approval
git:20260719.177dae1 · audit A · 5,167 stars
issue-analysis SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/issue-analysis/SKILL.md · Deep analysis of a single GitHub issue with codebase exploration, implementation planning, and architectural…
git:20260516.bad13aa · audit A · 5,167 stars
issue-to-pr-resolver SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/issue-to-pr-resolver/SKILL.md · Implement a GitHub issue end-to-end — create a worktree branch, implement the feature with tests, create a draft PR…
git:20260926.4e60907 · audit A · 5,167 stars
my-pr-checker SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/my-pr-checker/SKILL.md · Manage your own GitHub pull requests — check CI status, inline review comments, PR-level comments, resolve review…
git:20260926.4e60907 · audit A · 5,167 stars
wt SKILL.md skill
homeassistant-ai/ha-mcp · .claude/skills/wt/SKILL.md · Create a git worktree in worktree/ subdirectory with up-to-date master
git:20260506.0c8cd0d · audit A · 5,167 stars
AGENTS.md AGENTS.md file
homeassistant-ai/ha-mcp · AGENTS.md
git:20261019.621a4f5 · audit A · 5,167 stars
CLAUDE.md CLAUDE.md file
homeassistant-ai/ha-mcp · CLAUDE.md
git:20250919.2eb83e0 · audit B · 5,167 stars
AGENTS.md@homeassistant-addon-webhook-proxy-dev AGENTS.md file
homeassistant-ai/ha-mcp · homeassistant-addon-webhook-proxy-dev/AGENTS.md
git:20260702.a543521 · audit A · 5,167 stars
CLAUDE.md@homeassistant-addon-webhook-proxy-dev CLAUDE.md file
homeassistant-ai/ha-mcp · homeassistant-addon-webhook-proxy-dev/CLAUDE.md
git:20260702.a543521 · audit B · 5,167 stars

Every file in homeassistant-ai/ha-mcp

Other files named AGENTS.md@tests

AGENTS.md@tests AGENTS.md file
vercel-labs/fx · tests/AGENTS.md
git:20261019.7e2f67d · audit A · 3,489 stars
AGENTS.md@tests AGENTS.md file
sipyourdrink-ltd/bernstein · tests/AGENTS.md
git:20260930.47f60b4 · audit A · 1,310 stars
AGENTS.md@tests AGENTS.md file
microsoft/github-copilot-for-azure · tests/AGENTS.md
git:20260923.0403a05 · audit A · 259 stars
AGENTS.md@tests AGENTS.md file
izittmarvin/nova-agent · tests/AGENTS.md
git:20260908.e2d0385 · audit A · 165 stars
AGENTS.md@tests AGENTS.md file
ppgranger/token-saver · tests/AGENTS.md
git:20260919.8bd664b · audit A · 158 stars
AGENTS.md@tests AGENTS.md file
damionrashford/rivalsearchmcp · tests/AGENTS.md
git:20260222.c55f9bc · audit A · 133 stars
AGENTS.md@tests AGENTS.md file
databricks/unity-gateway · tests/AGENTS.md
git:20261021.c6462df · audit A · 113 stars
AGENTS.md@tests AGENTS.md file
nvidia/srt-slurm · tests/AGENTS.md
git:20260929.92fbe04 · audit A · 93 stars

Browse by kind, by grade B, or by owner.