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

.agents/skills/architecture-boundaries/SKILL.md

architecture-boundaries is a skill for Claude Code from hs737/mcp-server-for-ynab. It costs 28 tokens per session (695 once invoked), scanned A, original, Apache-2.0.

Instructions for keeping a Python application's layers separate. Transport, business logic, data access, integrations, and agent runtime each have defined responsibilities.

In plain words
What is it for?
It guides changes to MCP tools, web APIs, jobs, database access, third-party integrations, and agent orchestration.
Why use it?
It reduces tangled code by keeping validation, workflows, database queries, provider-specific communication, and orchestration in the appropriate places.

Skill for Claude Code

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

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/architecture-boundaries/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 architecture-boundaries

README.md
[![agentmods](https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/architecture-boundaries/github.svg)](https://agentmods.dev/skills/hs737/mcp-server-for-ynab/architecture-boundaries)
Your own site
<a href="https://agentmods.dev/skills/hs737/mcp-server-for-ynab/architecture-boundaries"><img src="https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/architecture-boundaries/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 architecture-boundaries

Your own site · 80×15
<a href="https://agentmods.dev/skills/hs737/mcp-server-for-ynab/architecture-boundaries"><img src="https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/architecture-boundaries.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 695 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.00028 $0.00695
Opus 5 $0.00014 $0.00347
Sonnet 5 $0.00006 $0.00139
Haiku 4.5 $0.00003 $0.00069

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

Security

Grade A, and why

architecture-boundaries 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 10d 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.

.agents/skills/architecture-boundaries/SKILL.md · 68 lines

How it starts

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

Architecture Boundaries

Use this skill when adding or changing core logic, MCP tools, HTTP APIs, jobs, integrations, or runtime orchestration in this Python repository.

Use When

  • Adding MCP tools, resources, or prompts
  • Adding HTTP routes (if any)
  • Adding orchestration or business logic
  • Adding database access patterns
  • Adding jobs, workers, or scheduled tasks
  • Adding third-party integrations (for example YNAB API clients)
  • Reviewing whether a change belongs in the right layer

Read First

  • AGENTS.md (if present)
  • README.md
  • pyproject.toml (package layout, entry points)
  • Any repo-specific architecture docs (for example docs/architecture.md, docs/current-state.md)

Core Rules

  1. Transport / protocol layer (MCP server setup, FastAPI routers, CLI entrypoints) owns wiring, validation at the boundary, and mapping to/from wire types—not core business rules.
  2. Services or domain modules own workflows, state transitions, and business rules.
  3. Data access owns persistence and queries, not business policy.
  4. Integration clients (YNAB SDK, HTTP clients) own provider-specific IO and normalization, not app-wide orchestration.
  5. MCP tool handlers should stay thin: parse inputs, call services, map errors to structured tool results. Do not hide durable invariants only in tool docstrings or prompts.
  6. Do not invent a parallel architecture when the repo already has one; follow existing package layout (src/ layout, module naming).
  7. Keep boundaries obvious enough that future agents can place code correctly.
  8. Multi-step workflows: Reusable step logic belongs in domain or service modules, not duplicated in each tool or route.
  9. Persistence: Prefer normalized storage and explicit fields as source of truth. Use data-access-discipline for schema and transactions.

Typical Python layout (adapt to this repo)

Layer Examples
Entry __main__.py, server.py, Typer/Click CLI, FastAPI APIRouter
MCP surface Tool/resource registration; argument validation via Pydantic
Services services/, domain/, use-case functions
Integrations clients/ynab.py, thin wrappers around external APIs
Persistence db/, repositories, SQLAlchemy models (if used)

Read the full file on GitHub · 68 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. 10d ago First seen · 68 lines · 28 tokens per session scan A a13223dd3002

Subscribe to this mod's changes

architecture-boundaries is a skill published in the GitHub repository hs737/mcp-server-for-ynab (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 28 tokens to every session and 695 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

design-mcp-server

Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.

cyanheads/obsidian-mcp-server · 62 tokens

api-telemetry

Catalog of OpenTelemetry instrumentation built into framework @cyanheads/mcp-ts-core — spans, metrics, completion logs, env config, runtime caveats, custom instrumentation patterns, and cardinality rules. Use when enabling OTel export, adding custom spans or metrics in services, debugging missing telemetry, looking up…

cyanheads/obsidian-mcp-server · 85 tokens

azure-event-grid-webhooks

Receive and validate Azure Event Grid webhook deliveries. Use when setting up an Event Grid WebHook event handler, implementing the Microsoft.EventGrid.SubscriptionValidationEvent handshake (echo data.validationCode as validationResponse with HTTP 200), implementing the CloudEvents v1.0 HTTP OPTIONS abuse-protection…

hookdeck/webhook-skills · 148 tokens

clio-webhooks

Receive and verify Clio (Clio Manage) webhooks. Use when setting up Clio webhook handlers, debugging X-Hook-Signature verification, completing the X-Hook-Secret handshake, or handling legal practice events like matter.created, contact.updated, activity.created, or bill events.

hookdeck/webhook-skills · 64 tokens

favro-webhooks

Receive and verify Favro webhooks. Use when setting up Favro webhook handlers, debugging X-Favro-Webhook signature verification, accepting the setup ping, or handling card events (card.created, card.committed, card.moved, card.updated, card.deleted) and comment events (comment.created, comment.updated…

hookdeck/webhook-skills · 121 tokens

microsoft-graph-webhooks

Receive and verify Microsoft Graph change notifications (webhooks). Use when setting up a Microsoft Graph webhook / subscription handler, completing the validationToken endpoint validation handshake, validating clientState, decrypting rich notifications (includeResourceData), handling lifecycle events…

hookdeck/webhook-skills · 94 tokens