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 calvinchengx/data-agent-service --skill dialect-postgresgit clone --depth 1 https://github.com/calvinchengx/data-agent-serviceWrote 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/calvinchengx/data-agent-service/dialect-postgres)<a href="https://agentmods.dev/skills/calvinchengx/data-agent-service/dialect-postgres"><img src="https://agentmods.dev/badge/skills/calvinchengx/data-agent-service/dialect-postgres/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/calvinchengx/data-agent-service/dialect-postgres"><img src="https://agentmods.dev/badge/skills/calvinchengx/data-agent-service/dialect-postgres.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.00015 | $0.00371 |
| Opus 5.5 | $0.00006 | $0.00148 |
| Sonnet 5.5 | $0.00003 | $0.00074 |
| Haiku 4.5 | $0.00002 | $0.00037 |
Grade A, and why
dialect-postgres 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 1mo 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.
What it actually says
Applies to sources whose dialect is postgres.
- Row ceiling: the executor appends
LIMIT n. Do not writeLIMIT,FETCH FIRST, orTOP(TOPis a syntax error here). - Identifiers:
schema.table; unquoted names fold to lower case. Quote with"double quotes"only if the described column name has capitals or spaces. - Dates:
date_trunc('month', col),extract(year from col),to_char(col, 'YYYY-MM'),col + interval '1 day',age(a, b). Minutes between timestamps:extract(epoch from (b - a)) / 60. - Strings:
||for concatenation,length,lower;ILIKEfor case-insensitive matching. - Division: integer / integer is integer. Cast with
::numericbefore any ratio. - Booleans are real:
WHERE flagandcount(*) FILTER (WHERE cond)are idiomatic;AVG(CASE WHEN cond THEN 1.0 ELSE 0.0 END)also works for a rate. - Nulls:
AVG/SUMskip nulls;count(col)skips,count(*)does not.coalescewhen the catalog says a column is nullable and the question needs a total. - Grouping by an alias in
GROUP BYis allowed; referencing a select alias inWHEREis not. - Text search or JSON operators are available but rarely what the catalog describes — prefer the described column.
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.
- 1mo ago First seen · 18 lines · 15 tokens per session scan A 67fbf3b5a0ee
dialect-postgres is a skill published in the GitHub repository calvinchengx/data-agent-service (0 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 371 once invoked, about $0.0001 per session on Opus 5.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-08-31.
Other skills, from other repositories
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…
azure-mgmt-mongodbatlas-dotnet
Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.
azure-resource-manager-mysql-dotnet
Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…
azure-resource-manager-redis-dotnet
Azure Resource Manager SDK for Redis in .NET. Use for MANAGEMENT PLANE operations: creating/managing Azure Cache for Redis instances, firewall rules, access keys, patch schedules, linked servers (geo-replication), and private endpoints via Azure Resource Manager. NOT for data plane operations (get/set keys, pub/sub) …
azure-cosmos-db-py
Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service layer classes with CRUD operations, partition key strategies, parameterized queries, or TDD patterns for Cosmos. Triggers…
azure-cosmos-ts
Azure Cosmos DB JavaScript/TypeScript SDK (@azure/cosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management. Triggers: "Cosmos DB", "@azure/cosmos", "CosmosClient", "document CRUD", "NoSQL queries", "bulk operations", "partition key", "container.items".