01
It starts by itself
weekly health check. Runs in Claude Code routine or cron.
- ↻ weekly health check
0 7 * * 1
Slow queries found and verified.
Install the Neon Postgres skill and make it a habit: follow https://gethabit.dev/skills/neondatabase/neon-postgres.md
269K installs103 starsApache-2.0 licenceSource on GitHub ↗

Neon Postgres
by neondatabase · 269K installs
The skill
The neon postgres skill guides your agent on Lakebase Postgres on Neon: pooled or direct connections, migrations on branches, read-only inspect checks and search.
Only when you ask.
The habit
Slow queries found and verified.
↻ Runs by itselfweekly health check
When does it start? How does it check its work? What does it remember?
Stops after one inspection pass and at most one query change per run.
Use the DATABASE_URL or .neon file that is already there instead of a new project.
Run the smallest relevant neon inspect db checks, or inspect_database through MCP.
Pick one specific query and read its plan with EXPLAIN (ANALYZE, BUFFERS, PREFETCH, FILECACHE) when it is safe.
For index, schema or query rewrites, load postgres-best-practices and carry the evidence over.
Test any migration on a branch of production over a direct connection.
Re-run the same check and workload and compare with the log.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Neon Postgres skill helps.
No. The skill treats unused-indexes as a candidate list and asks you to confirm the window and workload first.
Cache and stats reset when compute restarts, also on scale-to-zero. Run a normal workload before you read them.
Pooled for app traffic, direct for migrations, dumps and replication.
Copy the prompt at the top into your agent. It installs the skill from neondatabase/agent-skills and sets up the habit. Or run npx skills add neondatabase/agent-skills --skill neon-postgres.
Yes. It is published under Apache-2.0. Habit is free too.
Install the Neon Postgres skill and make it a habit: follow https://gethabit.dev/skills/neondatabase/neon-postgres.md
All neondatabase skills →More ops skills →
Works in
Made by neondatabase, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?