aidp-postgresql

aidp-postgresql is a skill for Claude Code from oracle-samples/oracle-aidp-samples. It costs 90 tokens per session (1,660 once invoked), scanned A, original, UPL-1.0.

A notebook connector for reading from or writing to PostgreSQL. PostgreSQL is an open-source relational database that stores data in tables and supports SQL queries.

In plain words
What is it for?
Use it to load PostgreSQL tables into Spark or write processed Spark data back to PostgreSQL.
Why use it?
It provides the connection setup needed to exchange data between PostgreSQL and Spark.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the oracle-ai-data-platform-workbench-spark-connectors plugin — 29 skills shipped together

Good fit Use it to load PostgreSQL tables into Spark or write processed Spark data back to PostgreSQL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oracle-samples/oracle-aidp-samples/aidp-postgresql
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oracle-samples/oracle-aidp-samples --skill aidp-postgresql
Clone the repo
git clone --depth 1 https://github.com/oracle-samples/oracle-aidp-samples

Made for: Claude Code.

Or install oracle-ai-data-platform-workbench-spark-connectors, the plugin that ships this one along with the rest of its 29 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aidp-postgresql

README.md
[![agentmods](https://agentmods.dev/badge/skills/oracle-samples/oracle-aidp-samples/aidp-postgresql/github.svg)](https://agentmods.dev/skills/oracle-samples/oracle-aidp-samples/aidp-postgresql)
Your own site
<a href="https://agentmods.dev/skills/oracle-samples/oracle-aidp-samples/aidp-postgresql"><img src="https://agentmods.dev/badge/skills/oracle-samples/oracle-aidp-samples/aidp-postgresql/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aidp-postgresql

Your own site · 80×15
<a href="https://agentmods.dev/skills/oracle-samples/oracle-aidp-samples/aidp-postgresql"><img src="https://agentmods.dev/badge/skills/oracle-samples/oracle-aidp-samples/aidp-postgresql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,660 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01660
Opus 5.5 $0.00036 $0.00664
Sonnet 5.5 $0.00018 $0.00332
Haiku 4.5 $0.00009 $0.00166

Measured 19d ago against content hash 131bdfb39599, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aidp-postgresql scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

import hashlib, os, urllib.request
ai/claude-code-plugins/oracle-ai-data-platform-workbench-spark-connectors/skills/aidp-postgresql/SKILL.md · 136 lines

The source is not reproduced here

Licensed UPL-1.0

The repository is licensed UPL-1.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · +4 lines 131bdfb39599
  2. 1mo ago First seen · 132 lines · 90 tokens per session scan A 9e042d248d84

Subscribe to this mod's changes

aidp-postgresql is a skill published in the GitHub repository oracle-samples/oracle-aidp-samples (56 stars, last pushed yesterday), licensed UPL-1.0. It adds 90 tokens to every session and 1,660 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

operational-datastore-selection-relational-and-nosql

Guides agents through choosing relational operational stores such as MySQL versus NoSQL options such as document, key-value, wide-column, or cache-backed systems. Use when deciding where application-adjacent or pipeline-adjacent operational data should live.

vaquarkhan/data-engineering-agent-skills · 61 tokens

datris-platform

Use Datris as the data platform for this project. Load this skill whenever the work involves getting data in from a file, an API, a website, a database or a document set; validating, transforming or landing data in a database, warehouse, object store or vector store; building a RAG or semantic-search index; scheduling…

datris/datris-platform-oss · 157 tokens

postgres

Query and manage PostgreSQL databases -- run SQL, inspect schemas, manage tables, and perform database administration.

clawdata/clawdata · 23 tokens

postgresdb

Use when PostgreSQL engine behaviour decides the answer — schema and type design, index choice, reading EXPLAIN on a slow query, zero-downtime DDL and backfills, or ops (roles, RLS, pooling, vacuum, partitioning, PITR). PG16, ORM-agnostic. NOT portable query logic (that is sql), NOT a managed provider's platform…

ericrisco/rsc-harness · 91 tokens

postgres-backup-restore

PostgreSQL backup & restore playbook for the docker instance: pgdump/pgdumpall recipes, WAL archiving + PITR setup (archivemode, archivecommand, recovery.signal, recoverytargettime, timelines), restore drills, and the PG16 no-incremental-backup constraint. Use when asked about backup, restore, PITR, pgdump…

fmflurry/settings-opencode · 113 tokens

huawei-cloud-dws-migration-teradata-to-dws

A migration workflow for moving Teradata database structures and data to Huawei Cloud DWS, a cloud data-warehouse service. It reads Teradata, converts compatible definitions, creates the target structures, transfers data through OBS, and validates the result.

huaweicloud/huaweicloud-skills · 275 tokens