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

.agents/skills/agent-runtime-guardrails/SKILL.md

agent-runtime-guardrails is a skill for Claude Code from hs737/mcp-server-for-ynab. It costs 21 tokens per session (554 once invoked), scanned A, original, Apache-2.0.

A set of engineering rules for autonomous agent runtimes, including MCP servers, tool execution, planning loops, memory, checkpoints, and approval steps. It focuses on making runtime behavior visible, limited, and separate from lasting business rules.

In plain words
What is it for?
Use it when adding or changing agent tools, tool-calling behavior, memory, checkpoints, planning, error handling, observability, or human approval flows.
Why use it?
It helps prevent agents from silently bypassing validation, permissions, budgets, rate limits, or approval boundaries. It also encourages clear errors and logging for long-running or multi-step work.

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/agent-runtime-guardrails/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 agent-runtime-guardrails

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hs737/mcp-server-for-ynab/agent-runtime-guardrails"><img src="https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/agent-runtime-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 554 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.00021 $0.00554
Opus 5 $0.00010 $0.00277
Sonnet 5 $0.00004 $0.00111
Haiku 4.5 $0.00002 $0.00055

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

Security

Grade A, and why

agent-runtime-guardrails 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 9d 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/agent-runtime-guardrails/SKILL.md · 57 lines

How it starts

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

Agent Runtime Guardrails

Use this skill when working on MCP servers, tool execution, planning loops, memory, checkpoints, approvals, or other agent-facing runtime behavior in this Python repository.

Use When

  • Adding or editing MCP tools, resources, or prompts
  • Changing tool-calling or error-mapping behavior
  • Adding memory or checkpoint systems
  • Adding human-in-the-loop approval boundaries
  • Reviewing runtime safety and observability

Read First

  • AGENTS.md (if present)
  • README.md
  • MCP SDK usage in this repo (server setup, lifespan, tool registration)
  • Any runtime or workflow docs (for example docs/agent-design.md, docs/current-state.md)

Core Rules

  1. Prompts and tool descriptions do not replace durable business rules or validation in code.
  2. Ephemeral conversation or session state does not replace persistent storage when durability is required.
  3. Runtime orchestration should be observable (structured logging, clear error types, traceable tool results).
  4. Human approvals or intervention boundaries should be explicit where relevant.
  5. Tools must not silently bypass application invariants (budget scope, auth, rate limits).
  6. Long-running or multi-step behavior should use explicit checkpoints or idempotent steps—not implicit “continue from chat” assumptions.
  7. Tool and server capabilities advertised to clients must match what is implemented.
  8. MCP boundary: Each tool should have a narrow, documented contract (Pydantic models or typed parameters). Prefer structured errors (isError, clear messages) over opaque stack traces in tool results.

Workflow

  1. Identify what belongs in MCP wiring versus service/domain logic.
  2. Make durable state transitions explicit in code, not only in prompts.
  3. Ensure important steps are observable through logs or persisted records.
  4. Check auth, env vars, and secrets handling (YNAB_*, tokens via env—not hardcoded).
  5. Update docs if tool behavior or required env changed.
  6. Verify unhappy paths: API failures, partial data, timeouts, invalid user input.

Read the full file on GitHub · 57 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. 9d ago First seen · 57 lines · 21 tokens per session scan A 660f6918155a

Subscribe to this mod's changes

agent-runtime-guardrails is a skill published in the GitHub repository hs737/mcp-server-for-ynab (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 554 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

webmcp-nexus

A coding guide for adding WebMCP tools to JavaScript or TypeScript projects. WebMCP lets AI agents call selected application functions through a standard interface.

alibaba/webmcp-nexus · 159 tokens

dark-memory

Use for governance, memory, drift detection, and audit trail via dark-memory-mcp. Covers 52 canonical + 3 red-team tools across 16 namespaces: session lifecycle, agentmemory CRUD+search, vibe-flow spec/artifact publish + drift, LLM-as-judge, delegation+mindset, research, observability, error observatory, governance…

Opita-Code/dark-memory-mcp · 353 tokens

driving-unreal

Use when driving an Unreal Engine 5.x editor through the unreal-ai-connection MCP tools — building or populating a level, spawning/transforming actors, authoring materials and material instances, setting up lighting and atmosphere, reconstructing a scene from a reference photo, setting up a sequencer/cinematic shot…

NAJEMWEHBE/unreal-ai-connection · 269 tokens

youtube-transcripts

Read and search YouTube videos through VidWords. Use when the user supplies a YouTube URL, a bare 11-character video id, a youtu.be or Shorts link, or a channel handle, and wants any of: the transcript or subtitles (TXT/SRT/VTT), what a video says about a topic, a quote with a citable timestamp, only the words spoken…

haljishi/vidwords-mcp · 111 tokens

lyrenth-web-reading

Read the content of one or many public web pages through Lyrenth, as clean Markdown instead of raw HTML. Use when the user gives a URL to read, summarize, quote, compare or extract from, or when a link needs to be opened to answer a question.

lyrenth/lyrenth-mcp · 61 tokens

ml-experiment-review

Use this skill when reviewing an ML experiment, benchmark, ablation, or training run.

NeoXider/neoxider-mcp-hub · 0 tokens