sql-style

sql-style is a skill for Claude Code, Codex from hardness1020/awesome-agent-architecture. It costs 10 tokens per session (33 once invoked), scanned A, original, MIT.

A set of rules for formatting SQL, the language used to work with databases. It requires lowercase keywords, commas at the ends of lines, and common table expressions instead of nested queries.

In plain words
What is it for?
Writing or rewriting SQL queries to match the project’s house style.
Why use it?
It keeps database code consistent and easier for the team to read and review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/hardness1020/awesome-agent-architecture/sql-style
Any agent
npx skills add hardness1020/awesome-agent-architecture --skill sql-style
Clone the repo
git clone --depth 1 https://github.com/hardness1020/awesome-agent-architecture

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 sql-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/hardness1020/awesome-agent-architecture/sql-style.svg)](https://agentmods.dev/skills/hardness1020/awesome-agent-architecture/sql-style)
Your own site
<a href="https://agentmods.dev/skills/hardness1020/awesome-agent-architecture/sql-style"><img src="https://agentmods.dev/badge/skills/hardness1020/awesome-agent-architecture/sql-style.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 33 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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.00010 $0.00033
Opus 5 $0.00005 $0.00016
Sonnet 5 $0.00002 $0.00007
Haiku 4.5 $0.00001 $0.00003

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

Security

Grade A, and why

sql-style 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 6d 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.

sections/07-skills/src/skills/sql-style/SKILL.md · 7 lines

What it actually says

SQL STYLE: lowercase keywords, trailing commas, CTEs over subqueries.

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. 6d ago First seen · 7 lines · 10 tokens per session scan A 41069dcb5667

Subscribe to this mod's changes

sql-style is a skill published in the GitHub repository hardness1020/awesome-agent-architecture (857 stars, last pushed 8d ago), licensed MIT. It adds 10 tokens to every session and 33 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

cqrs-implementation

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

wshobson/agents · 35 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens

prisma-postgres-setup

Set up a new Prisma Postgres database and connect it to a local project using the Management API. Use when asked to "set up a database", "create a Prisma Postgres project", "get a connection string", "connect my app to Prisma Postgres", or "provision a database".

nitrocloudofficial/nitrostack · 67 tokens