mozaiks: Skill for Claude Code

.agents/skills/persistence-change/SKILL.md

persistence-change is a skill for Claude Code from BlocUnited-LLC/mozaiks. It costs 30 tokens per session (434 once invoked), scanned A, original, MIT.

A review and implementation guide for changes to how an application stores data and generates persistence-related code. It covers data contracts, migrations, repository boundaries, and the standard persistence context.

In plain words
What is it for?
Use it when changing data contracts, database migrations, repository or policy files, generated module rules, or ModuleContext.persistence.
Why use it?
It helps prevent incompatible storage changes and keeps generated code aligned with the project's persistence rules. It also identifies related runtime changes that may need companion work.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to BlocUnited-LLC/mozaiks. 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/BlocUnited-LLC/mozaiks/main/.agents/skills/persistence-change/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BlocUnited-LLC/mozaiks

Made for: Claude Code.

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 persistence-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/blocunited-llc/mozaiks/persistence-change.svg)](https://agentmods.dev/skills/blocunited-llc/mozaiks/persistence-change)
Your own site
<a href="https://agentmods.dev/skills/blocunited-llc/mozaiks/persistence-change"><img src="https://agentmods.dev/badge/skills/blocunited-llc/mozaiks/persistence-change.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 434 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.00030 $0.00434
Opus 5 $0.00015 $0.00217
Sonnet 5 $0.00006 $0.00087
Haiku 4.5 $0.00003 $0.00043

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

Security

Grade A, and why

persistence-change 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 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.

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/persistence-change/SKILL.md · 56 lines

What it actually says

Before starting: git fetch origin && gh pr list --state open && git log origin/main --oneline -3 — if another agent has an open PR touching the same files you need, wait for it to merge or branch off it instead of main.

Use this skill when a change touches persistence contracts or generated module repo boundaries.

Inspect first:

  • AGENTS.md
  • AGENTS.md
  • docs/architecture/builder/data-contract-and-revision-contract.md
  • docs/architecture/foundations/events-and-data/persistence-and-artifact-storage.md
  • factory_app/build_context/AppGenerator/file_contracts.yaml when generator file families or backend defaults are involved

Current persistence truth:

  • data_contract is the canonical planning object
  • data/contract.json is the exported app artifact
  • data/migrations/{migration_id}.json is the additive migration artifact
  • generated module repo code uses ModuleContext.persistence as ctx.persistence
  • ctx.db is absent and non-canonical
  • backend/repo.py, backend/policy.py, and backend/schemas.py are the canonical persistence support files

Companion routing:

  • Add runtime-change when ModuleContext.persistence, runtime persistence injection, or runtime persistence behavior changes.
  • Add appgenerator-change when generated data/contract.json, data/migrations/{migration_id}.json, or generated module persistence output changes.

Do not reintroduce:

  • backend/models.py
  • backend/models/*.py
  • backend/database/schema.json
  • backend/database/seed.json
  • raw persistence logic in handler.py or service.py

Return:

  1. Layer changed
  2. Runtime/platform impact
  3. App workspace impact
  4. Persistence artifacts affected
  5. Tests required/run
  6. Compatibility risk
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 · 56 lines · 30 tokens per session scan A 42bfb5e4ba9a

Subscribe to this mod's changes

persistence-change is a skill published in the GitHub repository BlocUnited-LLC/mozaiks (25 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 434 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-08-30.

Related

Other skills, from other repositories

review-prs

Review a GitHub pull request in the googleapis/mcp-toolbox repo against the team's reviewer checklist: PR title/description conventions, linked issue, logic errors and unhandled edge cases, breaking changes, test coverage, docs updates, security (input handling), and new dependencies. Use whenever a maintainer asks…

googleapis/mcp-toolbox · 162 tokens

fix-failing-tests

Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…

googleapis/mcp-toolbox · 87 tokens

stale-sweep

Sweep the googleapis/mcp-toolbox repo for issues and PRs with no real activity in N days (default 60), sort each by whose silence it is (the author's, ours, or nobody's), and draft the nudge or close comment. Use whenever a maintainer asks for a stale sweep, backlog cleanup, or an SLO check, e.g. "stale sweep", "find…

googleapis/mcp-toolbox · 159 tokens

triage-issues

Triage GitHub issues in the googleapis/mcp-toolbox repo: propose the correct labels (type / priority / product / status), check for duplicates, verify a bug has enough info to act on, and draft a triage comment. Use whenever a maintainer asks you to triage, label, categorize, prioritize, or "look at" an issue (or a…

googleapis/mcp-toolbox · 164 tokens

building-pydantic-ai-agents

Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, defer capability loading, stream output, define agents…

pydantic/pydantic-ai · 85 tokens

migrating-langchain-to-pydantic-ai

Migrate Python LangChain or LangGraph applications to Pydantic AI. Use for LangChain agents, chains, LCEL, or direct LangGraph graphs, persistence, interrupts, and streaming. Do not use for migrations centered on createdeepagent or Deep Agents harness features.

pydantic/pydantic-ai · 69 tokens