/polygres:polygres-sdkfrom polygres
Provides the Polygres Python SDK for building application code with text, vector, graph, and hybrid retrieval, plus row writes, pagination, and typed error handling. Use MCP tools for interactive grounded answers.
Ships in polygres. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build Python application code against the public polygres-sdk package and a
project's Runtime API. Use $polygres-cli instead for human authentication,
control-plane project administration, imports, migrations, and API-key management.
For an interactive grounded answer, prefer available Polygres MCP tools. Read
references/mcp-tool-contract.md and
references/mcp-grounded-context.md, then use the discovered read catalog.
Continue with the SDK workflow for persistent Python application integration,
backend-owned automation, or an MCP fallback.
pyproject.toml, requirements files, and existing client setup.polygres-sdk and polygres-cli versions before live
or end-to-end testing. If testing a Polygres source checkout, create an
isolated environment, reinstall both packages from that checkout under its
dependency-installation policy, and verify their versions and import origins.
Do not substitute PyPI packages for the checkout under test.POLYGRES_API_KEY and POLYGRES_RUNTIME_URL from server-side
environment configuration. Never log or embed either value.client.project(project_mode="synced") and read
references/synced-projects.md.project.readiness() before relying on graph, existing vector, or
legacy hybrid retrieval. For new semantic retrieval, prefer Polygres AI
Context: call project.context.get_capabilities() and then inspect collection
status or verification. Use project.connection_info() only for passwordless
connection metadata.project.context namespace. Prefer
$polygres-cli for interactive setup. Use SDK mutations for explicit,
backend-owned automation, return them immediately, and wait only when the
application workflow requires a terminal result.query_embedding_generation. Otherwise use an application-supplied vector
with the matching model and dimensions. Use real row IDs returned by the SDK
or verified application data for graph anchors.references/client-setup.md for installation, environment variables,
endpoint selection, readiness, and passwordless connection information.references/synced-projects.md for synced-project API-key limits,
unavailable write and database surfaces, source-authoritative writes, and
CLI or dashboard control-plane handoff.references/graph-retrieval.md for graph calls, real row-ID discovery,
direction, depth, and fan-out limits.references/vector-and-text.md for text input on existing vector
configurations, vector compatibility, TSVector, fuzzy retrieval, and thresholds.references/hybrid-and-rag.md for graph-first, vector-first, joint
retrieval, chaining, provenance, deduplication, and context budgets.references/context.md for pgContext collection identity, named vectors,
model selection, text queries and query plans, operations, and point lifecycle.references/rows.md for validated single-row insert, upsert, ignore,
retry, ambiguous-commit, and pipeline checkpoint behavior.references/errors-pagination-testing.md for typed models, cursors,
automatic pagination, exceptions, retries, and mocked tests.references/mcp-grounded-context.md for interactive grounded answers
through the available MCP Context tools.project.context for backend-owned pgContext collection configuration.
Activate $polygres-cli for interactive human workflows and control-plane work.project.vector only with a previously registered, enabled configuration
that is effectively Ready. HNSW requires its exact physical index to be Ready;
index_kind: none can serve exact scan without HNSW. Do not infer a
registration from a physical-only index or design new setup around
vector-configuration creation; use
project.context.create_collection() instead.use_credits=True only when the application intends additional credit usage
and the project has spending permission.connection_info() as passwordless metadata. It does not return a
database password. Never call it for a synced project.project.rows for a synced project or use rows validation as a
capability probe. Mutate the source database instead.State project mode and the Runtime API context without secrets, retrieval strategy, filters and
bounds, pagination behavior, provenance fields retained, tests run, and any
readiness or configuration work still required through $polygres-cli.
agents/openai.yaml (opens in a new tab)references/client-setup.md (opens in a new tab)references/context.md (opens in a new tab)references/errors-pagination-testing.md (opens in a new tab)references/graph-retrieval.md (opens in a new tab)references/hybrid-and-rag.md (opens in a new tab)references/mcp-grounded-context.md (opens in a new tab)references/mcp-tool-contract.md (opens in a new tab)references/rows.md (opens in a new tab)references/synced-projects.md (opens in a new tab)references/vector-and-text.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
polygres, python-sdk, retrieval, vector-search, graph-search
npx claudepluginhub evokoa/polygres-skills --plugin polygres5 skills in this plugin
/polygres-cliUse available Polygres MCP tools or the Polygres CLI to authenticate, operate standard or synchronized projects, import data, apply migrations, configure retrieval, manage Runtime keys and durable operations, and check readiness. Use the CLI for explicit command-line work and as the documented fallback for operations outside the MCP catalog./polygres-data-pipelineSet up or extend Polygres through available MCP tools and supported fallbacks for ingestion, memory, graph, embeddings, synchronization, retrieval, RAG, and agent integration. Use for personalized recommendations, complete data-pipeline setup, and verification from a short outcome or detailed specification./polygres-Other plugins' skills for the same job