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.
npx skills add benjaminasterA/antigravity-awesome-skills --skill azure-postgres-tsgit clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skillsWrote 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.
[](https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-postgres-ts)<a href="https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-postgres-ts"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/azure-postgres-ts/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.
<a href="https://agentmods.dev/skills/benjaminastera/antigravity-awesome-skills/azure-postgres-ts"><img src="https://agentmods.dev/badge/skills/benjaminastera/antigravity-awesome-skills/azure-postgres-ts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03226 |
| Opus 5.5 | $0.00000 | $0.01290 |
| Sonnet 5.5 | $0.00000 | $0.00645 |
| Haiku 4.5 | $0.00000 | $0.00323 |
Grade A, and why
azure-postgres-ts 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 3mo 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.
This is a copy
91% identical to azure-postgres-ts — 25 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 483 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Azure PostgreSQL for TypeScript (node-postgres)
Connect to Azure Database for PostgreSQL Flexible Server using the pg (node-postgres) package with support for password and Microsoft Entra ID (passwordless) authentication.
Installation
npm install pg @azure/identity
npm install -D @types/pg
Environment Variables
# Required
AZURE_POSTGRESQL_HOST=<server>.postgres.database.azure.com
AZURE_POSTGRESQL_DATABASE=<database>
AZURE_POSTGRESQL_PORT=5432
# For password authentication
AZURE_POSTGRESQL_USER=<username>
AZURE_POSTGRESQL_PASSWORD=<password>
# For Entra ID authentication
AZURE_POSTGRESQL_USER=<entra-user>@<server> # e.g., [email protected]
AZURE_POSTGRESQL_CLIENTID=<managed-identity-client-id> # For user-assigned identity
Authentication
Option 1: Password Authentication
import { Client, Pool } from "pg";
const client = new Client({
host: process.env.AZURE_POSTGRESQL_HOST,
database: process.env.AZURE_POSTGRESQL_DATABASE,
user: process.env.AZURE_POSTGRESQL_USER,
password: process.env.AZURE_POSTGRESQL_PASSWORD,
port: Number(process.env.AZURE_POSTGRESQL_PORT) || 5432,
ssl: { rejectUnauthorized: true } // Required for Azure
});
await client.connect();
Option 2: Microsoft Entra ID (Passwordless) - Recommended
import { Client, Pool } from "pg";
import { DefaultAzureCredential } from "@azure/identity";
// For system-assigned managed identity
const credential = new DefaultAzureCredential();
// For user-assigned managed identity
// const credential = new DefaultAzureCredential({
// managedIdentityClientId: process.env.AZURE_POSTGRESQL_CLIENTID
// });
// Acquire access token for Azure PostgreSQL
const tokenResponse = await credential.getToken(
"https://ossrdbms-aad.database.windows.net/.default"
);
const client = new Client({
host: process.env.AZURE_POSTGRESQL_HOST,
database: process.env.AZURE_POSTGRESQL_DATABASE,
user: process.env.AZURE_POSTGRESQL_USER, // Entra ID user
password: tokenResponse.token, // Token as password
port: Number(process.env.AZURE_POSTGRESQL_PORT) || 5432,
ssl: { rejectUnauthorized: true }
});
await client.connect();
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.
- 3mo ago First seen · 483 lines · 0 tokens per session scan A b2d03e87c10c
azure-postgres-ts is a skill published in the GitHub repository benjaminasterA/antigravity-awesome-skills (527 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,226 tokens. A static security scan graded it A with 0 findings. It is 91% identical to azure-postgres-ts, differing in 25 lines, and is treated as a copy.
azure-postgres-ts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| azure-postgres-tsbenjaminasterA/antigravity-awesome-skills | Skill | 527 | yesterday | MIT | A | 0 | Claude Code, Codex |
| azure-postgres-tsmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 94 | Claude Code |
| supabasesupabase/agent-skills | Skill | 3.2k | 2d ago | MIT | A | 185 | Claude Code, Codex |
| butterbasebutterbase-ai/butterbase | Skill | 3.0k | 4d ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| supabase-clifcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 60 | Claude Code |
| supabase-jsfcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 64 | Claude Code |
| supabase-nodealinaqi/maggy | Skill | 713 | 7d ago | MIT | A | 14 | Claude Code |