resonate-server-postgres

resonate-server-postgres is a skill for Claude Code, Codex from resonatehq/resonate-skills. It costs 112 tokens per session (3,067 once invoked), scanned A, original, Apache-2.0.

Instructions for running the Resonate workflow protocol inside a PostgreSQL 16 or newer database using SQL procedures, with pg_cron handling scheduled work. No separate server process or network port is used.

In plain words
What is it for?
Use it to install the database schema, configure pg_cron, connect through SQL-based RPC, and start workflows from supported Deno applications.
Why use it?
It can remove the need to operate a separate Resonate server, but it is not the same as a Resonate server that merely stores data in PostgreSQL. It also has a limited client setup and requires database access instead of an HTTP URL.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to install the database schema, configure pg_cron, connect through SQL-based RPC, and start workflows from supported Deno applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/resonatehq/resonate-skills/resonate-server-postgres
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 resonatehq/resonate-skills --skill resonate-server-postgres
Clone the repo
git clone --depth 1 https://github.com/resonatehq/resonate-skills

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 resonate-server-postgres

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/resonatehq/resonate-skills/resonate-server-postgres"><img src="https://agentmods.dev/badge/skills/resonatehq/resonate-skills/resonate-server-postgres.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,067 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.00112 $0.03067
Opus 5 $0.00056 $0.01533
Sonnet 5 $0.00022 $0.00613
Haiku 4.5 $0.00011 $0.00307

Measured 11d ago against content hash 1fce74a1f9c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

resonate-server-postgres 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 11d 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.

resonate-server-postgres/SKILL.md · 163 lines

How it starts

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

Resonate on Postgres

Overview

resonatehq/resonate-pg implements the Resonate protocol as a schema of PL/pgSQL stored procedures. You load one file into a Postgres 16+ database and the database is the server — storage, queue, and timer, with pg_cron driving all three.

Three things an agent must internalize before writing any code:

  1. It is not the core server on Postgres. Those are different things and users conflate them constantly. The core server supports Postgres: you run a binary and Postgres holds its state. resonate-pg is Postgres: there is no binary, no process, and no port. If the user wants a Resonate server that stores data in Postgres, send them to the core server instead — it is more mature and every SDK can talk to it.
  2. It is not drop-in, and there is no URL. There is no HTTP server, so RESONATE_URL is meaningless. Workers reach the protocol by calling resonate.resonate_rpc(jsonb) over a database connection, which needs a client that speaks SQL.
  3. One client exists, and it targets Deno. @resonatehq/supabase on JSR is the only implementation. Python, Go, Rust, and Java have nothing, and each is tracked as an open issue. Say this before the user commits, not after.

Related: resonate-supabase-deployments-typescript (deploying workers as Edge Functions against this server), resonate-server-nats and resonate-server-scylladb (the other two providers), resonate-server-deployment (core server on systemd).

Scope boundary: this skill covers the server — installing it, what it implements, how to operate it. For wiring and deploying a worker against it, use the Supabase deployments skill above.

When to use this skill

  • The user already runs Postgres and does not want to deploy a process beside it.
  • The user asks whether Resonate can run on Supabase, or "just in my database."
  • The user is operating an existing resonate-pg install — timers, retention, grants.

Read the full file on GitHub · 163 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. 11d ago First seen · 163 lines · 112 tokens per session scan A 1fce74a1f9c8

Subscribe to this mod's changes

resonate-server-postgres is a skill published in the GitHub repository resonatehq/resonate-skills (6 stars, last pushed 19d ago), licensed Apache-2.0. It adds 112 tokens to every session and 3,067 once invoked, about $0.0006 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.