metaxy: Skill for Claude Code

.claude/skills/syrupy/SKILL.md

syrupy is a skill for Claude Code from anam-org/metaxy. It costs 40 tokens per session (2,317 once invoked), scanned A, original, Apache-2.0.

A pytest snapshot-testing tool called Syrupy that saves expected outputs and compares later test results with them. Pytest is a popular testing framework for Python.

In plain words
What is it for?
Use it for Python tests that check computed data, API responses, UI components, or other results that should stay stable.
Why use it?
It catches unexpected changes in complex results, API responses, or interface output without requiring every value to be asserted separately.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Part of the metaxy plugin — 8 skills, 5 agents, 1 hook shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to anam-org/metaxy. 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/anam-org/metaxy/main/.claude/skills/syrupy/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/anam-org/metaxy

Made for: Claude Code.

Or install metaxy, the plugin that ships this one along with the rest of its 8 skills, 5 agents, 1 hook.

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 syrupy

README.md
[![agentmods](https://agentmods.dev/badge/skills/anam-org/metaxy/syrupy/github.svg)](https://agentmods.dev/skills/anam-org/metaxy/syrupy)
Your own site
<a href="https://agentmods.dev/skills/anam-org/metaxy/syrupy"><img src="https://agentmods.dev/badge/skills/anam-org/metaxy/syrupy/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 syrupy

Your own site · 80×15
<a href="https://agentmods.dev/skills/anam-org/metaxy/syrupy"><img src="https://agentmods.dev/badge/skills/anam-org/metaxy/syrupy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,317 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00040 $0.02317
Opus 5 $0.00020 $0.01158
Sonnet 5 $0.00008 $0.00463
Haiku 4.5 $0.00004 $0.00232

Measured 7d ago against content hash 261cf9d732af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

syrupy 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 7d 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/syrupy/SKILL.md · 408 lines

How it starts

The opening of the file, as written. The whole thing — 408 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Syrupy - Pytest Snapshot Testing

Syrupy is a zero-dependency pytest snapshot testing plugin that enables asserting the immutability of computed results through simple, idiomatic assertions.

Docs: https://syrupy-project.github.io/syrupy/

What is Syrupy?

Syrupy is a snapshot testing library that:

  • Captures the output/state of code at a point in time
  • Compares future test runs against saved snapshots
  • Automatically manages snapshot files in __snapshots__ directories
  • Integrates naturally with pytest's assertion syntax

Core Philosophy

Three Design Principles:

  1. Extensible: Easy to add support for custom/unsupported data types
  2. Idiomatic: Natural pytest-style assertions (assert x == snapshot)
  3. Sound: Fails tests if snapshots are missing or different

Target Use Case: Testing complex data structures, API responses, UI components, or any computed results that should remain stable over time.

Snapshot Fixture API

Core Methods

The snapshot fixture accepts several options per assertion:

  • matcher: Control how objects are serialized
  • exclude: Filter out properties from snapshots
  • include: Include only specific properties
  • extension_class: Use a different serialization format
  • diff: Capture only differences from a base
  • name: Custom name for the snapshot

Usage with Options

assert data == snapshot(matcher=my_matcher, exclude=my_filter, name="custom_name")

Built-in Extensions

Syrupy provides several snapshot extensions for different use cases:

AmberSnapshotExtension (Default)

  • Human-readable format
  • Stores all snapshots in .ambr files
  • Supports all Python built-in types
  • Custom object representation via __repr__

JSONSnapshotExtension

  • Stores snapshots as JSON files (.json extension)
  • Useful for API responses and complex data structures
  • Machine-readable format
  • Import from syrupy.extensions.json

Usage Example:

import pytest
from syrupy.extensions.json import JSONSnapshotExtension


@pytest.fixture
def snapshot_json(snapshot):
    return snapshot.use_extension(JSONSnapshotExtension)


def test_api_call(client, snapshot_json):
    resp = client.post("/endpoint")
    assert resp.status_code == 200
    assert snapshot_json == resp.json()

Read the full file on GitHub · 408 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 408 lines · 40 tokens per session scan A 261cf9d732af

Subscribe to this mod's changes

syrupy is a skill published in the GitHub repository anam-org/metaxy (119 stars, last pushed 18d ago), licensed Apache-2.0. It adds 40 tokens to every session and 2,317 once invoked, about $0.0002 per session on Opus 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-09-01.

Related

Other skills, from other repositories

test-review

You are an expert DataHub test reviewer. Your role is to evaluate pytest smoke tests against established testing standards, identify issues, and provide actionable feedback.

datahub-project/datahub · 0 tokens

chart-defaults

Find the actual runtime default value of any AG Charts configuration option, and keep JSDoc Default: markers accurate. Use when documenting a default, verifying a change has not altered one, writing tests against default behaviour, or auditing whether a TypeScript comment matches the theme template.

ag-grid/ag-charts · 60 tokens

animation-test-migration

Migrate a series type from ratio-snapshot animation tests and manual -test docs pages to frame-trajectory coverage. Use when converting a series (area, pie, scatter, histogram, range-bar, candlestick, radar, …) to the trajectory harness.

ag-grid/ag-charts · 57 tokens

mock-data-generator

A tool that creates realistic sample data from a schema or type definition. Sample data is made-up information used while building or testing software.

chainlesschain/chainlesschain · 19 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

migrate-xunit-to-xunit-v3

Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…

dotnet/skills · 149 tokens