openccu-loom: Skill for Claude Code

.claude/skills/snapshot-parity/SKILL.md

snapshot-parity is a skill for Claude Code from SukramJ/openccu-loom. It costs 52 tokens per session (489 once invoked), scanned A, original, Apache-2.0.

A regression check that compares OpenCCU-Loom's domain model with the aiohomematic reference using the same device data. It checks whether both produce matching results.

In plain words
What is it for?
Use it after changing data-point creation, visibility marks, custom data-point composition, or channel methods.
Why use it?
It helps detect accidental differences after changing how data points or channels are created and exposed.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is SukramJ/openccu-loom's own configuration. It tells Claude Code how to work on openccu-loom 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 openccu-loom configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is -run TestModelSnapshotDumpAgainstGodevccu ./tests/integration/....

Reuse

Borrowing it

Nothing to install: this file belongs to SukramJ/openccu-loom. 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/SukramJ/openccu-loom/main/.claude/skills/snapshot-parity/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SukramJ/openccu-loom

Made for: Claude Code.

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 snapshot-parity

README.md
[![agentmods](https://agentmods.dev/badge/skills/sukramj/openccu-loom/snapshot-parity/github.svg)](https://agentmods.dev/skills/sukramj/openccu-loom/snapshot-parity)
Your own site
<a href="https://agentmods.dev/skills/sukramj/openccu-loom/snapshot-parity"><img src="https://agentmods.dev/badge/skills/sukramj/openccu-loom/snapshot-parity/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 snapshot-parity

Your own site · 80×15
<a href="https://agentmods.dev/skills/sukramj/openccu-loom/snapshot-parity"><img src="https://agentmods.dev/badge/skills/sukramj/openccu-loom/snapshot-parity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 489 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.00052 $0.00489
Opus 5.5 $0.00021 $0.00196
Sonnet 5.5 $0.00010 $0.00098
Haiku 4.5 $0.00005 $0.00049

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

Security

Grade A, and why

snapshot-parity 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 27d 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.

.claude/skills/snapshot-parity/SKILL.md · 44 lines

What it actually says

Cross-stack model-snapshot verification

An end-to-end regression check, not a parity mandate: it catches unintended model regressions when both stacks load the same wire data. The common-schema definition is notes/parity/model_snapshot_schema.md.

Both stacks run against the same godevccu release (the Python side builds the binary pinned in go.mod), so the wire data is identical by construction.

Run the three scripts in this order:

# 1. Dump OpenCCU-Loom's model against godevccu (~80k DPs, 60+ MB JSON).
go test -tags=integration -timeout=300s \
    -run TestModelSnapshotDumpAgainstGodevccu ./tests/integration/...

# 2. Dump aiohomematic's model against godevccu (~8k DPs, ~8 MB JSON).
#    The script builds the go.mod-pinned godevccu (needs `go` on PATH, or
#    GODEVCCU_BIN) and re-execs in the aiohomematic venv when openccu_data is
#    not on sys.path — without that it silently emits empty parameter labels
#    and masks real drift.
python3 script/aiohomematic_snapshot.py

# 3. Per-field diff (tolerated: `profile`, `wrapped_dps`; paramsets-channel
#    field excluded). Exit 0 means full intersection parity.
python3 script/model_snapshot_diff.py

OPENCCU_LOOM_SNAPSHOT_DEVICES=A,B,C scopes both sides to a smoke subset for fast iteration; the default loads the whole embedded fleet. The two snapshot JSONs under tests/integration/testdata/ (~70 MB) are gitignored — produced on demand, never committed.

Reading the result

The baseline is ~270 architecturally-accepted drifts. Growth beyond that in your area, without a matching entry in notes/parity/by_design.md, is a regression — not something to re-baseline.

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. 27d ago Changed 60c69e4be199
  2. 2mo ago First seen · 44 lines · 52 tokens per session scan A fc55922412e4

Subscribe to this mod's changes

snapshot-parity is a skill published in the GitHub repository SukramJ/openccu-loom (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 489 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-08-31.

Related

Other skills, from other repositories

home-assistant

Use when automating a smart home with Home Assistant 2026.10 — configuration.yaml and automations.yaml, triggers/conditions/actions YAML, REST API /api/states and /api/services, WebSocket subscribeevents, long-lived access tokens, Docker container installs; also for 'Configuration invalid' after a YAML edit, 401 from…

znlgis/opengis-skills · 93 tokens

unraid-management-agent

Monitor and control an Unraid server via the Unraid Management Agent's MCP server (125 tools, 5 resources, 6 diagnostic prompts) and REST API. Use when: connecting an AI client (Claude, ChatGPT, Cursor, Copilot, Gemini CLI) to Unraid; checking system, array, disk, Docker, VM, GPU, UPS, ZFS, or network status…

ruaan-deysel/unraid-management-agent · 198 tokens

bat-story-eval

Compare MCP tool behavior between target and baseline versions using pre-built and custom stories with diff-based triage.

homeassistant-ai/ha-mcp · 26 tokens

bat-adhoc

Run bot acceptance tests to validate MCP tools work correctly from a real AI agent's perspective. Use when testing PRs, detecting regressions, or verifying tool changes end-to-end with Claude/Gemini CLIs.

homeassistant-ai/ha-mcp · 48 tokens

voiden

Create and edit Voiden .void files for API testing. Covers the .void file format and all enabled extension block types.

VoidenHQ/voiden · 28 tokens

testing-websocket-api-security

Tests WebSocket API implementations for security vulnerabilities including missing authentication on WebSocket upgrade, Cross-Site WebSocket Hijacking (CSWSH), injection attacks through WebSocket messages, insufficient input validation, denial-of-service via message flooding, and information leakage through WebSocket…

xalgorix/xalgorix · 117 tokens