powersync

powersync is a skill for Claude Code from powersync-ja/agent-skills. It costs 203 tokens per session (2,262 once invoked), scanned A, original, MIT.

A guided set of instructions for adding PowerSync to an application. PowerSync keeps a local copy of app data up to date with a database, including when the app works offline.

In plain words
What is it for?
Use it when setting up or debugging offline-first data sync with Supabase, Postgres, MongoDB, MySQL, or Microsoft SQL Server.
Why use it?
It helps avoid guessing how to configure cloud or self-hosted sync, connect a backend, and use the client libraries correctly.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions AGENTS.md.

not rated 23repo changed 3d ago A scan Socket: warnSnyk: failSkillSpector: pass 203 tokens original MIT

Good fit Use it when setting up or debugging offline-first data sync with Supabase, Postgres, MongoDB, MySQL, or Microsoft SQL Server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/powersync-ja/agent-skills/powersync
Install

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.

Any agent
npx skills add powersync-ja/agent-skills --skill powersync
Clone the repo
git clone --depth 1 https://github.com/powersync-ja/agent-skills

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin powersync-skills — /plugin install powersync-skills after adding the marketplace above.

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 powersync

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/powersync-ja/agent-skills/powersync"><img src="https://agentmods.dev/badge/skills/powersync-ja/agent-skills/powersync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 203 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,262 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
  • Socket warn 27 Nov 2026
  • Snyk fail 1 Dec 2026
  • 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.00203 $0.02262
Opus 5.5 $0.00081 $0.00905
Sonnet 5.5 $0.00041 $0.00452
Haiku 4.5 $0.00020 $0.00226

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

Security

Grade A, and why

powersync 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/trim.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/powersync/SKILL.md · 108 lines

How it starts

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

PowerSync Skills

Use this skill to onboard a project onto PowerSync and to keep it healthy afterwards, without trial-and-error. Treat this as a guided workflow first and a reference library second.

Agents: Read AGENTS.md before proceeding. It contains the mandatory compliance rules and onboarding playbook. The Quick Rules below are a reminder, not a substitute. powersync login is PowerSync Cloud only (PAT); self-hosted does not use it.

Terminology

  • Operator — the human directing this agent (whose request you are fulfilling).
  • User — an end-user of the operator's PowerSync app (JWT subjects, the row a sync stream filters by, the person calling disconnectAndClear()).

If a sentence is ambiguous, default to the operator interpretation. Full legend in AGENTS.md.

Quick Rules

  • CLI-first. Use the PowerSync CLI for all operations. Do not hand-write config files. See references/powersync-cli.md.
  • Ask, don't assume. Ask the operator: Cloud vs self-hosted, and which backend (Supabase, Postgres, MongoDB, Azure DocumentDB, MySQL, MSSQL). Do not default to Supabase.
  • Backend before frontend. Deploy sync config and verify the service before writing app code.
  • Sync Streams for new projects. Sync Rules are legacy.
  • Keep credentials in .env, never hardcoded. Record URLs and keys in .env as they become available; config (!env) and app code read from there.
  • Default scope on existing projects: sync-config only. Do not edit service.yaml or cli.yaml unless the operator explicitly authorized service/infra changes in this conversation.
  • Confirm the target instance before any mutating command (deploy, destroy, stop, link --create, pull instance). Never deploy to an instance not authorized by the operator. Treat production as off-limits unless explicitly approved.
  • Use project memory. If your harness supports it, persist the CLI invocation, sync-config path, authorized instance ids + environment (dev/staging/prod), and allowed scope of changes. Verify saved values still match reality before acting on them. See AGENTS.md § "Continuous Use & Guardrails".

Read the full file on GitHub · 108 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. 3d ago Changed 31de7647c976
  2. 9d ago Changed 7c9ba6228215
  3. 17d ago Changed · +1 lines 1c70f269385b
  4. 22d ago Changed 195741313a7e
  5. 29d ago Changed 1b992bf0d9ba
  6. 1mo ago Changed · +7 lines e8c885efe053
  7. 1mo ago Changed 7ea041e1cca7
  8. 2mo ago Changed · +1 lines · +6 tokens per session 67523f4ea21c
  9. 2mo ago Changed a0ee5f4351f9
  10. 2mo ago First seen · 99 lines · 197 tokens per session scan A 37e69bb3fcac

Subscribe to this mod's changes

powersync is a skill published in the GitHub repository powersync-ja/agent-skills (23 stars, last pushed yesterday), licensed MIT. It adds 203 tokens to every session and 2,262 once invoked, about $0.0008 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-08-30.

Related

powersync compared with skills from other repositories

powersync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
powersyncpowersync-ja/agent-skillsSkill23yesterdayMITA203Claude Code
backend-specialisthuangwb8/skillsSkill515d agoMITA62Claude Code, Codex
insforgeaiskillstore/marketplaceSkill509todaynoneA121Codex
convexaiskillstore/marketplaceSkill509todaynoneA202Claude Code, Codex
firebase-developmentaiskillstore/marketplaceSkill509todaynoneA67Claude Code, Codex
python-database-patternsaiskillstore/marketplaceSkill509todaynoneA43Claude Code
convex-expertaiskillstore/marketplaceSkill509todaynoneA78Claude Code, Codex