golem-add-postgres-rust

golem-add-postgres-rust is a skill for Claude Code, Codex from golemcloud/golem. It costs 52 tokens per session (594 once invoked), scanned A, original, no licence file.

A guide for connecting a Rust Golem agent to PostgreSQL, a relational database that stores data in tables and supports SQL queries.

In plain words
What is it for?
Use it to connect to PostgreSQL, run SQL statements, or perform database transactions from Rust agent code.
Why use it?
It helps the agent use PostgreSQL without having to work out the database connection and transaction code alone.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

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.

agentmods
npx agentmods add skills/golemcloud/golem/golem-add-postgres-rust
Any agent
npx skills add golemcloud/golem --skill golem-add-postgres-rust
Clone the repo
git clone --depth 1 https://github.com/golemcloud/golem

Made for: Claude Code, Codex.

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 golem-add-postgres-rust

README.md
[![agentmods](https://agentmods.dev/badge/skills/golemcloud/golem/golem-add-postgres-rust.svg)](https://agentmods.dev/skills/golemcloud/golem/golem-add-postgres-rust)
Your own site
<a href="https://agentmods.dev/skills/golemcloud/golem/golem-add-postgres-rust"><img src="https://agentmods.dev/badge/skills/golemcloud/golem/golem-add-postgres-rust.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00052 $0.00594
Opus 5 $0.00026 $0.00297
Sonnet 5 $0.00010 $0.00119
Haiku 4.5 $0.00005 $0.00059

Measured 2d ago against content hash 9dc2028eeac2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

golem-add-postgres-rust scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

golem-skills/skills/rust/golem-add-postgres-rust/SKILL.md · 79 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

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. 2d ago First seen · 79 lines · 52 tokens per session scan A 9dc2028eeac2

Subscribe to this mod's changes

golem-add-postgres-rust is a skill published in the GitHub repository golemcloud/golem (1,512 stars, last pushed yesterday), with no licence file. It adds 52 tokens to every session and 594 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. 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

cli-forge-data

Design and implement safe PostgreSQL database changes for Rust/SQLx applications. Use for new schemas, migrations, constraints, indexes, repositories, transaction boundaries, state machines, idempotency, concurrency control, queues, multi-tenancy, soft deletion, ledgers, outbox/inbox, repair jobs, or corrections…

Destynova2/cli-code-skills · 76 tokens

rc-sqlx

Implements and reviews SQLx 0.8+ with PostgreSQL in Rust — PgPool, query/queryas, bind parameters, transactions, migrations, compile-time macros, database tests. Use when writing or changing SQLx/Postgres access from Rust. Do not use for Axum routing alone (rc-axum), SvelteKit (rc-sveltekit), Rust idioms (rc-rust), or…

rodolfochicone/rc-project · 94 tokens

sea-orm

SeaORM v2 (open-source, Postgres/MySQL/SQLite) and SeaORM-X (commercial MSSQL) patterns for Rust backends. Use when: adding SeaORM to a project, writing migrations, generating entities, performing CRUD (insert, select, update, delete), paginating results, loading relations, handling on-conflict, using the v2…

pedromneto97/custom-skills · 110 tokens

nexql-mcp-dev

Guides phased implementation and testing of the standalone Rust nexql-mcp Postgres MCP server. Use when working in this repo, implementing nexql-mcp crates, porting from pro/src/mcp or dbindex, writing MCP tools, or starting a new session here.

NexQL-OSS/mcp · 62 tokens

code-quality

General Correctness rules, Rust patterns, comments, avoiding over-engineering. When writing code always take these into account.

tursodatabase/turso · 26 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens