matterbridge-hass: Skill for Claude Code

.agents/skills/verify-agent-context/SKILL.md

verify-agent-context is a skill for Claude Code, Codex from Luligu/matterbridge-hass. It costs 53 tokens per session (475 once invoked), scanned A, original, Apache-2.0.

An agent-configuration checking procedure for identifying the coding agent, its Git repository location and branch, and whether it loaded shared instructions. Git is a system for tracking code changes; a worktree is a separate working folder linked to a Git repository.

In plain words
What is it for?
It is for checking agent identity, current-folder and Git details, shared AGENTS.md instructions, and related rules or skills.
Why use it?
It helps find configuration, repository-location and branch problems before they affect coding work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; installed under .agents/ (shared by several agents).

This is Luligu/matterbridge-hass's own configuration. It tells Claude Code and Codex how to work on matterbridge-hass itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything matterbridge-hass configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Luligu/matterbridge-hass. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Luligu/matterbridge-hass/main/.agents/skills/verify-agent-context/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Luligu/matterbridge-hass

Made for: Claude Code, Codex.

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 verify-agent-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/luligu/matterbridge-hass/verify-agent-context/github.svg)](https://agentmods.dev/skills/luligu/matterbridge-hass/verify-agent-context)
Your own site
<a href="https://agentmods.dev/skills/luligu/matterbridge-hass/verify-agent-context"><img src="https://agentmods.dev/badge/skills/luligu/matterbridge-hass/verify-agent-context/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.

agentmods 80×15 button for verify-agent-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/luligu/matterbridge-hass/verify-agent-context"><img src="https://agentmods.dev/badge/skills/luligu/matterbridge-hass/verify-agent-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00053 $0.00475
Opus 5.5 $0.00021 $0.00190
Sonnet 5.5 $0.00011 $0.00095
Haiku 4.5 $0.00005 $0.00047

Measured 5d ago against content hash 6f4736424f30, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verify-agent-context 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/verify-agent-context/SKILL.md · 18 lines

What it actually says

Agent configuration check

Run this check and reply with a short report. Do not modify any file.

  1. First, report the absolute current working directory and whether you are working in a linked Git worktree or a direct folder (the main checkout or a non-Git folder). Verify using git rev-parse --show-toplevel, git rev-parse --absolute-git-dir and git rev-parse --path-format=absolute --git-common-dir: different Git and common directories indicate a linked worktree; matching directories indicate the main checkout. If the folder is not a Git repository, report it as a direct non-Git folder. Report the current branch using git symbolic-ref --quiet --short HEAD; if HEAD is detached, report detached HEAD and the short commit ID from git rev-parse --short HEAD. For a non-Git folder, report the branch as not applicable. Include the repository root when it differs from the current directory, and make this location and branch information the first row of the report.
  2. State which agent you are (GitHub Copilot, Codex, Claude Code or Gemini / Antigravity) and, if known, the model.
  3. Confirm you have the shared instructions from AGENTS.md in context. Quote its title line, including the version.
  4. List the rule files in .agents/rules/ and, for each, say whether its content is already in your context or only reachable on demand.
  5. List the skills you discovered from .agents/skills/ and from any tool-specific folder such as .claude/skills/ or .github/skills/.
  6. Read .agents/rules/testing.instructions.md and report the version at the end of its description frontmatter to prove the file is readable.
  7. Report the result as a markdown table with the columns Item, Status, Notes.
  8. Report the context size, including the number of instructions, rules, and skills currently loaded.
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. 5d ago First seen · 18 lines · 53 tokens per session scan A 6f4736424f30

Subscribe to this mod's changes

verify-agent-context is a skill published in the GitHub repository Luligu/matterbridge-hass (195 stars, last pushed 4d ago), licensed Apache-2.0. It adds 53 tokens to every session and 475 once invoked, about $0.0002 per session on Opus 5.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-10-24.