Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
pgdbm, async, postgresql, asyncpg, database, migrations, skills
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A PostgreSQL library for Python that provides high-level async database operations with built-in migration management, connection pooling, and testing utilities.
Choose your pattern based on your needs:
| If you have... | Use this pattern | See example |
|---|---|---|
| Single service | Single Database Manager | Quick Start below |
| Multiple services | Shared Pool Pattern | microservices/ |
| Multi-tenant SaaS | Schema Isolation | saas-app/ |
| Reusable library | Dual-Mode Pattern | Pattern Guide |
New to pgdbm? Start with our Production Patterns Guide to avoid common pitfalls and learn best practices from real-world experience.
pgdbm is designed so a module can either:
This keeps modules portable: the same code can run as a standalone service or as part of a larger app.
# Install using uv (recommended)
uv add pgdbm
# Or using pip
pip install pgdbm
# Install with CLI support (optional)
pip install pgdbm[cli]
pgdbm provides expert guidance skills for Claude Code that teach Claude how to work with the library effectively. When you use Claude Code with pgdbm, these skills automatically activate to provide:
No manual needed - just ask Claude naturally and the right skills load automatically!
# In Claude Code terminal, add the marketplace
/plugin marketplace add juanre/ai-tools
# Install all pgdbm skills (recommended)
/plugin install pgdbm@juanre-ai-tools
# Or install individual skills
/plugin install pgdbm-shared-pool@juanre-ai-tools
/plugin install pgdbm-testing@juanre-ai-tools
| Skill | Description | Install |
|---|---|---|
pgdbm | All pgdbm skills (recommended) | /plugin install pgdbm@juanre-ai-tools |
pgdbm-choosing-pattern | Choose the right pattern | /plugin install pgdbm-choosing-pattern@juanre-ai-tools |
pgdbm-shared-pool | Production connection pooling | /plugin install pgdbm-shared-pool@juanre-ai-tools |
pgdbm-dual-mode | Portable database libraries | /plugin install pgdbm-dual-mode@juanre-ai-tools |
pgdbm-standalone | Standalone service pattern | /plugin install pgdbm-standalone@juanre-ai-tools |
pgdbm-testing | Database testing patterns | /plugin install pgdbm-testing@juanre-ai-tools |
pgdbm-usage | Basic operations | /plugin install pgdbm-usage@juanre-ai-tools |
pgdbm-core-api | Complete API reference | /plugin install pgdbm-core-api@juanre-ai-tools |
pgdbm-migrations-api | Migrations API reference | /plugin install pgdbm-migrations-api@juanre-ai-tools |
pgdbm-common-mistakes | Common pitfalls to avoid | /plugin install pgdbm-common-mistakes@juanre-ai-tools |
Example: Setting up a FastAPI app
You ask:
"Help me build a FastAPI app with PostgreSQL connection pooling"
What happens:
pgdbm-shared-pool skillResult: Production-ready code following best practices, with proper pool management and schema isolation!
Example: Testing database code
You ask:
"Show me how to test my database code with fixtures"
What happens:
pgdbm-testing skilltest_db and test_db_with_schemapgdbm@juanre-ai-tools is listed by juanre/ai-tools — review the source before installing
npx claudepluginhub juanre/ai-tools --plugin pgdbmBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground