Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Fixing slow PostgreSQL queries v1.0.0

Use this resource to fix a slow PostgreSQL query while measuring the gain

New

  • 453 downloads
  • 141 likes
  • 237 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install postgres-slow-query-fix

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent identifies the real database and its most expensive queries, reproduces the baseline locally, applies the fix and compares results. You get a measured improvement, preserved behavior and a PR whose checks pass.

Mostly picked by

Updated November 2, 2026

Card for the “Fixing slow PostgreSQL queries” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md : eight-step method, from target to handoff
  • references/cloud-discovery.md : finding databases and queries in the cloud
  • references/local-proof.md : local reproduction and proof

Good fit for

  • A route takes several seconds and the database is the suspect
  • The same query repeats too often within one action

Not for

    Tags

    • postgresql
    • performance
    • queries
    • pull request

    About

    You say

    “The runs page takes six seconds to load. Find the slow query and fix it with a measurement.”

    Card for the “Fixing slow PostgreSQL queries” skill

    Skill published by paperclipai under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to fix a slow PostgreSQL query while measuring the gain
    3. Review and adjust the result

    Content preview

    Files

    • agents/openai.yaml0.1 KB
    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/cloud-discovery.md6.8 KB
    • references/local-proof.md10.7 KB
    • SKILL.md11.3 KB

    Origin and licence

    Listed unmodified

    Author
    paperclipai
    Source
    github.com/paperclipai/paperclip/tree/c2163b3ecf08c1d574685504fd1271a301d7bd1d/.agents/skills/fix-slow-queries
    Licence
    MIT

    Notice

    « fix-slow-queries » (paperclipai, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.