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.
curl -O https://raw.githubusercontent.com/hs737/mcp-server-for-ynab/master/.agents/skills/data-access-discipline/SKILL.mdgit clone --depth 1 https://github.com/hs737/mcp-server-for-ynabWrote 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.
[](https://agentmods.dev/skills/hs737/mcp-server-for-ynab/data-access-discipline)<a href="https://agentmods.dev/skills/hs737/mcp-server-for-ynab/data-access-discipline"><img src="https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/data-access-discipline/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.
<a href="https://agentmods.dev/skills/hs737/mcp-server-for-ynab/data-access-discipline"><img src="https://agentmods.dev/badge/skills/hs737/mcp-server-for-ynab/data-access-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00585 |
| Opus 5 | $0.00010 | $0.00293 |
| Sonnet 5 | $0.00004 | $0.00117 |
| Haiku 4.5 | $0.00002 | $0.00059 |
Grade A, and why
data-access-discipline 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data Access Discipline
Use this skill when adding tables, queries, migrations, persistence helpers, cross-entity writes, or scope or tenant enforcement.
Use When
- Adding or changing schema
- Writing new queries
- Adding persistence helpers or repository modules
- Adding cross-table workflows
- Reviewing DB access placement
- Tightening scope or tenant rules
Read First
AGENTS.md(if present)README.md- Architecture and data docs in this repo (for example
docs/architecture.md,docs/data-access-patterns.md,docs/data-model.md,docs/environment.md) - Migration tooling config (for example
alembic.ini, SQLAlchemy models undersrc/, Django migrations—whatever this repo uses)
Core Rules
- Persistence code should be consistent and discoverable.
- Business rules should not be buried in route or MCP tool handlers.
- Persistence helpers should not quietly own domain policy.
- Cross-entity workflows should have a clear orchestration layer (service/module), not ad hoc scripts.
- Scope or tenant boundaries should be enforced explicitly.
- Schema changes, migrations, and related docs should move together.
- Domain-facing shapes should be intentional, not accidental spillover from ORM rows or raw dicts.
- Single source of truth: Prefer normalized tables and explicit columns for durable state. In-memory aggregates assembled for reads must not be duplicated as parallel persisted blobs unless documented and intentional.
- Multi-write consistency: When several SQL statements must succeed or fail together, use one outer transaction (
session.begin(),async with session.begin(), or equivalent). Pass the same session/connection into helpers; avoid nested transaction calls that commit independently. Keep slow network or external API calls outside the transaction; persist only after durable inputs are ready.
Workflow
- Identify whether the task is schema, query, migration, or workflow related.
- Place query or persistence logic in the repo’s established pattern.
- Keep cross-entity business logic out of thin repository functions.
- Review whether scope and ownership enforcement are explicit.
- Update migrations, docs, and tests as needed.
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.
- 9d ago First seen · 59 lines · 21 tokens per session scan A 431513bee6d1
data-access-discipline 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 585 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.
Other skills, from other repositories
api-canvas
DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…
api-mirror
Stand up a persistent, self-refreshing local mirror of a bulk upstream dataset with the MirrorService (@cyanheads/mcp-ts-core/mirror). Use when a server wraps a large or slow API and should query a synced local index (embedded SQLite + FTS5) instead of paginating the live API per request.
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.
cmdb-patterns
Create ServiceNow CIs and cmdbrelci relationships, walk upstream/downstream impact, detect orphan/stale CIs, and align discovered CIs with the proper sysclassname hierarchy.
gliderecord-patterns
Write efficient ServiceNow GlideRecord queries — addQuery vs addEncodedQuery, setLimit, GlideAggregate for counts, avoiding N+1 in loops, query operators, and safe CRUD with workflow control.
organize-database
Transform unstructured Notion pages into a well-designed database with proper schema and migration.