git-proxy: Skill for Claude Code

.agents/skills/sink-parity/SKILL.md

sink-parity is a skill for Claude Code, Codex from finos/git-proxy. It costs 22 tokens per session (1,152 once invoked), scanned A, original, Apache-2.0.

A database-maintenance guide for keeping file-based, MongoDB, and PostgreSQL storage backends consistent. A backend is one implementation of the same data-storage contract, and this guide requires all of them to support each change.

In plain words
What is it for?
Use it when changing shared data types, storage adapters, migrations, or the PostgreSQL schema so every supported backend is updated together.
Why use it?
It prevents a feature from working with one storage system while failing for users of another.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is finos/git-proxy's own configuration. It tells Claude Code and Codex how to work on git-proxy 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 git-proxy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to finos/git-proxy. 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/finos/git-proxy/main/.agents/skills/sink-parity/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/finos/git-proxy

Made for: Claude Code, Codex.

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 sink-parity

README.md
[![agentmods](https://agentmods.dev/badge/skills/finos/git-proxy/sink-parity/github.svg)](https://agentmods.dev/skills/finos/git-proxy/sink-parity)
Your own site
<a href="https://agentmods.dev/skills/finos/git-proxy/sink-parity"><img src="https://agentmods.dev/badge/skills/finos/git-proxy/sink-parity/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 sink-parity

Your own site · 80×15
<a href="https://agentmods.dev/skills/finos/git-proxy/sink-parity"><img src="https://agentmods.dev/badge/skills/finos/git-proxy/sink-parity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,152 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.00022 $0.01152
Opus 5.5 $0.00009 $0.00461
Sonnet 5.5 $0.00004 $0.00230
Haiku 4.5 $0.00002 $0.00115

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

Security

Grade A, and why

sink-parity 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 20d 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/sink-parity/SKILL.md · 70 lines

How it starts

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

Keep the sink backends at feature parity.

Read AGENTS.md first. It is the canonical project guide for this repository.

GitProxy persists its state through interchangeable sink backends: src/db/file (NeDB), src/db/mongo, and src/db/postgres. They all implement the Sink interface in src/db/types.ts, and deployments pick one via the sink config. A feature that exists in one backend but not the others is a bug waiting for whichever deployment uses the others.

Use this skill whenever a change touches any of:

  • the Sink interface or the entity classes (Repo, User, push types) in src/db/types.ts
  • any backend adapter under src/db/file, src/db/mongo, or src/db/postgres
  • the migration framework (src/db/migrations) or the postgres schema

The contract

  • src/db/types.ts is the single source of truth: the Sink interface plus the doc comments on its members define the behaviour every backend must provide. No backend implementation, mongo included, outranks the contract. A new Sink member or entity field is not done until all three backends implement it in the same change; do not leave a backend behind for a follow-up.
  • npm run check-types:server enforces the interface structurally, but it cannot see semantic drift. The rest of this checklist exists for what the compiler cannot catch.

Adding or changing a Sink member

  1. Add the member to the Sink interface with a doc comment stating its semantics (ordering, case sensitivity, empty-result shape).
  2. Implement it in src/db/file, src/db/mongo, and src/db/postgres. The doc comment on the interface member is the reference for behaviour, not any one backend: whichever implementation lands first defines the semantics, so spell them out in the doc comment and make the other backends match it. Historically most members appeared in mongo first, but new functionality can just as well start in postgres; do not assume mongo is the template.
  3. Export it from each backend's index.ts and wire the dispatcher in src/db/index.ts.
  4. Add unit tests for every backend, not just the one you started from.

Read the full file on GitHub · 70 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. 20d ago First seen · 70 lines · 22 tokens per session scan A 01f0bb9a2b33

Subscribe to this mod's changes

sink-parity is a skill published in the GitHub repository finos/git-proxy (262 stars, last pushed today), licensed Apache-2.0. It adds 22 tokens to every session and 1,152 once invoked, about $0.0001 per session on Opus 5.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-10-07.

Related

Other skills, from other repositories

ring:mapping-service-resources

Mapping a Go service's Service -> Module -> Resource hierarchy for dispatch-layer registration: detects modules and per-module PostgreSQL/MongoDB/RabbitMQ resources, database names, and shared databases, generates MongoDB index migration pairs (.up.json/.down.json), detects existing Postgres migrations, emits an HTML…

LerianStudio/ring · 97 tokens

fastapi-init-skill

A tool that creates a complete FastAPI web-service starting point, including database choices, login protection, file uploads, streaming responses, API documentation, and start or restart scripts.

jiushiwon/wg-skills · 229 tokens

database-expert

Advanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, or implementing data patterns.

travisjneuman/.claude · 36 tokens

database-migrator

Migrates databases between providers (Postgres, MySQL, Supabase, PlanetScale, MongoDB). Reads source schema, generates migration scripts, handles data type mapping, foreign keys, indexes, triggers, stored procedures. Validates migration with row counts and checksums. Generates migration-plan.md with step-by-step…

OneWave-AI/claude-skills · 76 tokens

database-schema-designer

Designs relational and document database schemas from requirements or an existing app - tables and collections, keys, relationships, constraints, indexes driven by real query patterns, ERDs, and reversible migration scripts - with PostgreSQL (including Supabase) as the default and MySQL, SQLite, and MongoDB supported.…

OneWave-AI/claude-skills · 141 tokens

agent-database-expert

Specialist subagent: Expert database architect and engineer for PostgreSQL, MongoDB, Redis, and all major databases. Use when designing schemas, optimizing queries, planning migrations, implementing caching, or troubleshooting database performance.

travisjneuman/.claude · 49 tokens