# neon-postgres-egress-optimizer

> Claude/Codex skill by [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 57 stars · 27k installs · Updated 2026-04-14

Diagnose and fix excessive Postgres egress (network data transfer) in a codebase. Use when a user mentions high database bills, unexpected data transfer costs, network transfer charges, egress spikes, "why is my Neon bill so high", "database costs jumped", SELECT \* optimization, query overfetching, reduce Neon costs, optimize database usage, or wants to reduce data sent from their database to their application. Also use when reviewing query patterns for cost efficiency, even if the user doesn't explicitly mention egress or data transfer.

## Install

```sh
git clone https://github.com/neondatabase/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/skills/neon-postgres-egress-optimizer ~/.claude/skills/neon-postgres-egress-optimizer
```

## Links

- HTML page: https://omgskills.com/skills/neondatabase/agent-skills/neon-postgres-egress-optimizer/
- GitHub: https://github.com/neondatabase/agent-skills
- Author: [@neondatabase](https://omgskills.com/library/neondatabase/index.md)

## More from this repo

- [neon](https://omgskills.com/skills/neondatabase/agent-skills/skills/neon/index.md) — Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions,...
   - [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 105 stars
- [neon-ai-gateway](https://omgskills.com/skills/neondatabase/agent-skills/skills/neon-ai-gateway/index.md) — One API and one credential for frontier and open-source LLMs and embedding models, built into your Neon branch and...
   - [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 105 stars
- [neon-auth](https://omgskills.com/skills/neondatabase/agent-skills/skills/neon-auth/index.md) — Used to add authentication to a new app.
   - [@neondatabase](https://omgskills.com/library/neondatabase/index.md) · 105 stars
