Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add luanpdd/kit-mcp --skill consistencia-leitura-replicagit clone --depth 1 https://github.com/luanpdd/kit-mcpWrote 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/luanpdd/kit-mcp/consistencia-leitura-replica)<a href="https://agentmods.dev/skills/luanpdd/kit-mcp/consistencia-leitura-replica"><img src="https://agentmods.dev/badge/skills/luanpdd/kit-mcp/consistencia-leitura-replica/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/luanpdd/kit-mcp/consistencia-leitura-replica"><img src="https://agentmods.dev/badge/skills/luanpdd/kit-mcp/consistencia-leitura-replica.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.00054 | $0.04574 |
| Opus 5.5 | $0.00022 | $0.01830 |
| Sonnet 5.5 | $0.00011 | $0.00915 |
| Haiku 4.5 | $0.00005 | $0.00457 |
Grade A, and why
consistencia-leitura-replica 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 2mo 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 — 387 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Consistência Leitura Réplica — Supabase + Supavisor + Realtime
Quando usar
LLM carrega esta skill ao usar Supabase Pro+ com read replicas ou ao combinar Realtime broadcast com leitura subsequente do DB. Trigger phrases:
- "Supabase read replica", "réplica de leitura"
- "porta 6543 vs 5432", "Supavisor session vs transaction"
- "read-after-write", "leitura após escrita inconsistente"
- "monotonic reads", "leituras não-monotônicas"
- "consistent prefix reads", "prefixo causal violado"
- "replication lag Supabase", "atraso de replicação"
- "broadcast Realtime + SELECT stale"
- "pg_last_wal_replay_lsn", "WAL position detection"
Esta skill aplica DDIA Ch 5 "Problems With Replication Lag" ao stack Supabase. Cross-referenciada por supabase-realtime (v1.8) ao bundlear broadcast + leitura, e por multi-tenant-performance-scaling (v1.21) ao escalar Postgres em Pro+.
Termos canônicos (read-after-write consistency, monotonic reads, consistent prefix reads, replication lag, leader-follower replication) definidos em _shared-dados-distribuidos/glossary.md seções (a) e (b) — esta skill não duplica, apenas linka.
Regras absolutas
REGRA #1 (read-after-write own data): Para leituras do próprio dado do usuário dentro de janela de 5s após write, rotear para porta 5432 (líder) — não 6543. Sem isso, usuário cria post → GET retorna 404 → percepção de bug. Justify: DDIA p. 156 "always read the user's own profile from the leader".
REGRA #2 (sticky session monotonic): Para usuários ativos lendo de réplicas, escolher réplica via hash(user_id) mod N — não round-robin. Round-robin viola monotonic reads (DDIA p. 158). Mitigação obrigatória: fallback para líder se réplica down.
REGRA #3 (broadcast trust payload): Após receber Realtime broadcast com payload.record, NÃO fazer SELECT subsequente. Confiar no payload — server é a fonte canônica do evento. SELECT pode atingir réplica que ainda não replicou (lag típico 50-500ms).
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.
- 2mo ago First seen · 387 lines · 54 tokens per session scan A e14f0f1f0da2
consistencia-leitura-replica is a skill published in the GitHub repository luanpdd/kit-mcp (5 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 4,574 once invoked, about $0.0002 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-09-03.
consistencia-leitura-replica compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| consistencia-leitura-replicaluanpdd/kit-mcp | Skill | 5 | yesterday | MIT | A | 54 | Claude Code, Codex |
| azure-postgres-tsmicrosoft/skills | Skill | 3.3k | today | MIT | A | 94 | Claude Code |
| supabasesupabase/agent-skills | Skill | 3.2k | 19d ago | MIT | A | 185 | Claude Code, Codex |
| butterbasebutterbase-ai/butterbase | Skill | 3.0k | 2d ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| supabase-clifcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 60 | Claude Code |
| supabase-jsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 64 | Claude Code |
| supabase-nodealinaqi/maggy | Skill | 713 | 5d ago | MIT | A | 14 | Claude Code |