postgresql-external-dev
PostgreSQL knowledge for low-code stacks. Schema design for external database connections (compatible SQL patterns for NocoDB and NocoBase — table creation, column types, relations, indexes, anti-patterns), plus the 29-tool PostgreSQL MCP reference and the PostgREST REST API.
v1.2.9Updated
- postgresql
- postgres
- database
- schema
- sql
- postgrest
- mcp
- nocodb
- nocobase
- external-database
- low-code
- dev
- agents-store
Install
Pick your agent for the steps.
Install on Claude Code
1.Add the marketplace
/plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
/plugin install postgresql-external-dev@agents-store-claude-pluginsType it inside Claude Code.
Install on GitHub Copilot CLI
1.Add the marketplace
copilot plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
copilot plugin install postgresql-external-dev@agents-store-claude-plugins
GitHub Copilot CLI does not receive: commands, agents.
Install on Cursor
1.Manual install
Cursor has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Cursor reads plugins from.
Cursor’s plugin documentation now lives at docs.grok.com (cursor.com/docs/plugins redirects there). Plugins come from its marketplace, a team marketplace or a local folder.
Install on Codex
1.Add the marketplace
codex plugin marketplace add Agents-Store/codex-plugins2.Install the plugin
codex plugin add postgresql-external-dev@agents-store-codex-plugins
Codex does not receive: commands, agents.
Install on Gemini CLI
1.Clone the mirror
git clone https://github.com/Agents-Store/gemini-extensions2.Install the plugin
gemini extensions link ./gemini-extensions/postgresql-external-devRun it from the folder you cloned into.
Consumer access to Gemini CLI ended on 2026-06-18. This target serves enterprise Gemini Code Assist; Antigravity is the consumer successor.
Install on Antigravity
1.Clone the mirror
git clone https://github.com/Agents-Store/antigravity-skills2.Install the plugin
agy plugin install ./antigravity-skills/postgresql-external-devRun it from the folder you cloned into.
Antigravity does not receive: commands.
Install on Kimi Code
1.Clone the mirror
git clone https://github.com/Agents-Store/kimi-plugins2.Install the plugin
/plugins install ./kimi-plugins/postgresql-external-devRun it from the folder you cloned into, and type it inside Kimi Code.
Kimi Code does not receive: commands, agents, hooks, MCP servers.
Install on Devin
1.Install the plugin
devin plugins install Agents-Store/devin-plugins#postgresql-external-dev
Devin does not receive: commands, agents, hooks, MCP servers.
Install on Hermes Agent
1.Install the plugin
hermes plugins install Agents-Store/hermes-plugins/postgresql-external-dev
Hermes Agent does not receive: commands, agents, hooks, MCP servers.
Install on OpenCode
1.Manual install
OpenCode has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place OpenCode reads plugins from.
OpenCode does not receive: hooks.
Install on Pi
1.Manual install
Pi has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Pi reads plugins from.
Pi does not receive: commands, agents, hooks, MCP servers.
Install on OpenClaw
1.Clone the mirror
git clone https://github.com/Agents-Store/openclaw-generated-plugins2.Install the plugin
openclaw plugins install ./openclaw-generated-plugins/postgresql-external-devRun it from the folder you cloned into.
OpenClaw does not receive: commands, agents, hooks, MCP servers.
Install on Agent Plugins 1.0
1.Manual install
Agent Plugins 1.0 has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Agent Plugins 1.0 reads plugins from.
Agent Plugins 1.0 does not receive: commands, agents, hooks.
What is inside
Skills (8)
- column-types
This skill should be used when the user asks "what SQL type for", "which column type", "NocoDB column types", "NocoBase field types", "type compatibility", "how to store email/url/phone/json/rating", "what type for currency", "decimal vs double", "jsonb", "uuid column", "ARRAY column", "PostgreSQL enum", or needs to choose the correct PostgreSQL type that works in both NocoDB and NocoBase.
- create-tables
This skill should be used when the user asks to "create a table", "design a schema", "set up a database", "create PostgreSQL tables for NocoDB", "create tables for NocoBase external DB", "what PK type to use", "UUID primary key", "table without a primary key", "does NocoBase need a license", or needs to understand how NocoDB and NocoBase interact with the same PostgreSQL database.
- examples
This skill should be used when the user asks for a "full example", "complete schema", "e-commerce schema", "blog schema", "CRM schema", "content management schema", "show me a real schema", "sample database", "end-to-end example", or wants to see a complete working PostgreSQL schema with all tables, constraints, indexes, and relations that is compatible with NocoDB and NocoBase.
- modify-schema
This skill should be used when the user asks to "alter a table", "rename a column", "change column type", "drop a column", "drop a table", "remove a constraint", "delete a junction table", "add default value", "set NOT NULL", "sync schema", "meta sync", "refresh data source", "NocoDB doesn't show the new column", or needs to modify an existing PostgreSQL schema that is connected to NocoDB or NocoBase.
- postgres-mcp-tools
This skill should be used when the user wants to "run SQL through MCP", "use the PostgreSQL MCP tools", "execute_sql", "inspect a database schema over MCP", "list indexes, locks or bloated tables", "analyze query performance with MCP", "check database status", "get a query plan", "MCP Toolbox for Databases", or needs the tool reference of the 29-tool PostgreSQL MCP server for querying and administering a PostgreSQL database.
- postgrest-api
This skill should be used when the user wants to "use PostgREST", "make REST calls to PostgreSQL", "CRUD over HTTP on a PostgreSQL table", "upsert with on_conflict", "Prefer header options", "return=representation", "max-affected", "call a stored function over REST", "read PostgreSQL from an n8n HTTP Request node", or "read PostgreSQL from a Trigger.dev task with fetch".
- relations
This skill should be used when the user asks to "create a relation", "add foreign key", "set up one-to-many", "many-to-many relation", "one-to-one", "self-referential", "junction table", "composite primary key", "FK constraint", "create index on FK", or needs to connect tables in a PostgreSQL database that works with NocoDB and NocoBase.
- troubleshoot
This skill should be used when the user asks about "incompatible types", "what to avoid", "schema checklist", "NocoDB doesn't recognize", "NocoBase can't read", "ARRAY not working", "ENUM alternative", "jsonb support", "UUID primary key problem", "external PostgreSQL missing in NocoBase", "naming conventions", "validation checklist", or encounters issues with a PostgreSQL schema connected to NocoDB or NocoBase.
Agents (1)
- postgresql-schema-designer
Use this agent when the user needs help designing PostgreSQL database schemas that are compatible with low-code platforms (NocoDB, NocoBase) as external data sources. <example> Context: User needs to design a multi-table schema user: "Help me design a database schema for a project management app that will be connected to NocoDB" assistant: "I'll use the postgresql-schema-designer agent to design a compatible schema with proper relations." <commentary> User needs a multi-table schema with relations — agent will ensure all tables, FK constraints, indexes, and types are compatible with NocoDB and NocoBase. </commentary> </example> <example> Context: User needs to set up a Many-to-Many relation user: "I need to connect products and tags with a many-to-many relation for my NocoBase external database" assistant: "I'll use the postgresql-schema-designer agent to create the junction table with proper composite PK." <commentary> M2M relations require specific NocoDB-style junction tables with composite PK — agent knows this pattern. </commentary> </example> <example> Context: User is unsure which column type to use user: "What PostgreSQL type should I use for a currency field that works in both NocoDB and NocoBase?" assistant: "I'll use the postgresql-schema-designer agent to recommend the compatible type." <commentary> Agent has the full compatibility table and can recommend decimal(10,2) for currency fields. </commentary> </example>
README
PostgreSQL knowledge for low-code stacks: schema design for external database connections (compatible SQL patterns for creating and modifying databases that work as external data sources for NocoDB and NocoBase), the PostgreSQL MCP tool reference, and the PostgREST REST API.
Compatible Platforms
- NocoDB — connects PostgreSQL as an external data source; can create and alter tables itself only when Allow Schema Edit is enabled (off by default), otherwise you change the schema with SQL and run Meta Sync
- NocoBase — connects as an external data source and reads the schema only. The PostgreSQL connector (
@nocobase/plugin-data-source-external-postgres) requires a commercial license — Standard edition or above, not available in Community. After a schema change, refresh the data source
See compatible-platforms.md for detailed compatibility info.
Safe Defaults, Wider Support
The skills generate conservative defaults that behave the same on both platforms: serial/bigserial PK named id, json, text for select fields, timestamp. Upstream docs and source accept more — jsonb, uuid keys, ARRAY, native ENUM, geometric types — with per-platform caveats. The column-types and troubleshoot skills list them; check on your target versions before using one.
Skills
| Skill | Description |
|---|---|
create-tables | Table creation templates, PK conventions, NocoDB vs NocoBase roles, tables without a primary key |
column-types | Type compatibility table (text, numeric, date/time, boolean, JSON, select, special) and per-platform support for jsonb, uuid, ARRAY, ENUM, geometric types |
modify-schema | ALTER TABLE operations — add, rename, change type, drop columns and constraints — plus Meta Sync / refresh afterwards |
relations | One-to-Many, One-to-One, Many-to-Many, Self-referential with FK constraints and indexes |
examples | Complete e-commerce schema walkthrough with all relation types |
troubleshoot | Type caveats by platform, anti-patterns, verification checklist |
postgres-mcp-tools | Reference for the 29-tool PostgreSQL MCP server (MCP Toolbox for Databases): run SQL, inspect schemas, monitor performance and replication |
postgrest-api | PostgREST over HTTP: CRUD, upsert with on_conflict, Prefer options, the max-affected safety net, use from n8n and Trigger.dev |
Agent
postgresql-schema-designer — Designs PostgreSQL schemas compatible with low-code platforms. Ensures all tables, relations, types, and indexes follow NocoDB/NocoBase conventions.
Installation
Install via Agents Store or add manually to your Claude Code plugins.
Prerequisites
- PostgreSQL 15 to 19 (supported upstream; 14 reached end of life on 2026-11-12; NocoDB recommends 14 or later). Version 13 and older are end of life. NocoBase's external connector documents 9.5 as its minimum
- NocoDB and/or NocoBase instance for connecting the database
- For NocoBase: a commercial license that includes the external PostgreSQL data source plugin
Source
- Source on GitHub
- Mirror: Agents-Store/claude-plugins
- Mirror: Agents-Store/cursor-plugins
- Mirror: Agents-Store/codex-plugins
- Mirror: Agents-Store/gemini-extensions
- Mirror: Agents-Store/antigravity-skills
- Mirror: Agents-Store/kimi-plugins
- Mirror: Agents-Store/devin-plugins
- Mirror: Agents-Store/hermes-plugins
- Mirror: Agents-Store/opencode-plugins
- Mirror: Agents-Store/pi-extensions
- Mirror: Agents-Store/openclaw-generated-plugins
- Mirror: Agents-Store/agentplugins