mcp-server-for-ynab: Skill for Claude Code

.agents/skills/live-api-verification/SKILL.md

live-api-verification is a skill for Claude Code from hs737/mcp-server-for-ynab. It costs 24 tokens per session (1,171 once invoked), scanned A, original, Apache-2.0.

A workflow for checking YNAB API responses and MCP connection changes against the real service. YNAB is a budgeting application with an API for accessing financial data.

In plain words
What is it for?
Use it when editing YNAB response models, adding API routes or tools, changing MCP startup or transport, or checking whether a claimed integration really works.
Why use it?
Hand-written test data can match an incorrect response model, so tests alone may miss changes or mismatches in the live API.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is hs737/mcp-server-for-ynab's own configuration. It tells Claude Code how to work on mcp-server-for-ynab 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 mcp-server-for-ynab configures →

Part of the mcp-server-for-ynab plugin — 12 skills, 2 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to hs737/mcp-server-for-ynab. 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/hs737/mcp-server-for-ynab/master/.agents/skills/live-api-verification/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hs737/mcp-server-for-ynab

Made for: Claude Code.

Or install mcp-server-for-ynab, the plugin that ships this one along with the rest of its 12 skills, 2 MCP servers.

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 live-api-verification

README.md
[![agentmods](https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/live-api-verification.svg)](https://agentmods.dev/skills/hs737/mcp-server-for-ynab/live-api-verification)
Your own site
<a href="https://agentmods.dev/skills/hs737/mcp-server-for-ynab/live-api-verification"><img src="https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/live-api-verification.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,171 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00024 $0.01171
Opus 5 $0.00012 $0.00585
Sonnet 5 $0.00005 $0.00234
Haiku 4.5 $0.00002 $0.00117

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

Security

Grade A, and why

live-api-verification scanned grade A 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "Authorization: Bearer $YNAB_API_KEY" \
.agents/skills/live-api-verification/SKILL.md · 114 lines

How it starts

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

Live API Verification

Use this skill whenever a change touches how a YNAB response is parsed, or how an agent connects to the server. The test suite cannot catch drift between a response model and the real API, because every payload in it was written by hand: the model and the fixture are the same guess.

Use When

  • Adding or editing a model under src/mcp_server_for_ynab/models/ynab/
  • Adding a raw tool or a ynab_client wrapper for a new route
  • Upgrading the mcp SDK, or changing transport/CLI startup
  • Reviewing a claim that a tool "works" when only unit tests were run
  • Investigating a tool that fails in a client but passes in CI

The Failures This Prevents

The money movement models were written by analogy with transactions. They required date on a movement and name/amount on a group. The real API sends none of those — it sends month, moved_at, and category endpoints. All four money movement tools failed at validation on every call, while the suite passed, because no test used a real payload and no test touched the family at all.

Two properties made this invisible:

  1. Hand-written fixtures agree with the model by construction.
  2. The tool boundary returns failures as a structured error payload with isError: False, so a caller that only checks the MCP result looks fine.

The write tools failed four more ways, each invisible to the same suite:

  • category-groups in the path where the API wants category_groups, so YNAB answered "Invalid URI" for create and update alike
  • categories_create could not send category_group_id, which the API requires, so no category could ever be created
  • the bulk update model expected data.bulk, a shape this route does not return, so the write succeeded and the response failed to parse
  • the group create and update routes return a group without its categories, which the response model required

None of these are visible from the request side. Three of the four failed after YNAB had already accepted the write.

Read the full file on GitHub · 114 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. 8d ago First seen · 114 lines · 24 tokens per session scan A 7e1f50dd7e5c

Subscribe to this mod's changes

live-api-verification is a skill published in the GitHub repository hs737/mcp-server-for-ynab (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 24 tokens to every session and 1,171 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.