sqlag-review

sqlag-review is a skill for Claude Code from vanterx/mssql-performance-skills. It costs 188 tokens per session (8,896 once invoked), scanned A, original, MIT.

A review tool for SQL Server Always On Availability Groups, which keep database copies available across servers.

In plain words
What is it for?
It checks replicas, listeners, databases, backup settings, endpoints, certificates, firewall ports, distributed groups, and application connectivity.
Why use it?
It finds configuration gaps that could prevent failover, backups, network connections, security, or application access from working correctly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mssql-performance-skills plugin — 26 skills, 3 hooks, 1 MCP server shipped together

Good fit It checks replicas, listeners, databases, backup settings, endpoints, certificates, firewall ports, distributed groups, and application connectivity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vanterx/mssql-performance-skills/sqlag-review
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 vanterx/mssql-performance-skills --skill sqlag-review
Clone the repo
git clone --depth 1 https://github.com/vanterx/mssql-performance-skills

Made for: Claude Code.

Or install mssql-performance-skills, the plugin that ships this one along with the rest of its 26 skills, 3 hooks, 1 MCP server.

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 sqlag-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/vanterx/mssql-performance-skills/sqlag-review.svg)](https://agentmods.dev/skills/vanterx/mssql-performance-skills/sqlag-review)
Your own site
<a href="https://agentmods.dev/skills/vanterx/mssql-performance-skills/sqlag-review"><img src="https://agentmods.dev/badge/skills/vanterx/mssql-performance-skills/sqlag-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,896 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00188 $0.08896
Opus 5 $0.00094 $0.04448
Sonnet 5 $0.00038 $0.01779
Haiku 4.5 $0.00019 $0.00890

Measured 7d ago against content hash 1ac33e29a3eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sqlag-review 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 7d 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.

skills/sqlag-review/SKILL.md · 727 lines

How it starts

The opening of the file, as written. The whole thing — 727 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SQL Server Always On AG Configuration Review Skill

Purpose

Audit the configuration and design of one or more SQL Server Always On Availability Groups. Applies 37 checks (F1–F37) across seven categories:

  • F1–F6 — Prerequisites and instance setup: AlwaysOn feature, database recovery model, endpoint state, endpoint encryption, failure condition level, version alignment across replicas
  • F7–F13 — Replica configuration design: synchronous replica count, WAN session timeout, health check timeout, backup priority ties, replica join state, database join completeness, readable secondary availability
  • F14–F18 — Listener and network design: multi-subnet IP completeness, read-only routing URL, routing list on primary, non-default port documentation, MultiSubnetFailover guidance
  • F19–F23 — Backup strategy: automated backup preference, preferred-replica guard function, log backup scheduling, compression, and missed offload opportunity
  • F24–F27 — Endpoint security: cross-domain Windows auth, certificate expiry, RC4 algorithm, firewall port gaps
  • F28–F33 — Distributed AG and advanced features: listener URL requirement for distributed AGs, Basic AG limits, Contained AG auth, synchronous distributed link, cross-database dependencies
  • F34–F37 — Operational monitoring: Extended Events AG session, listener IP conformance, AG database-count scale ceiling, automatic seeding left active during a manual-restore workflow

Scope distinction: This skill audits configuration correctness ("is the AG designed right?"). Use /sqlhadr-review (H1–H28) for runtime health ("is the AG healthy right now?") and /sqlclusterlog-review (L1–L30) for WSFC cluster log events.


Input

Accept any of:

  • File path — path to a saved text or CSV file containing the catalog view output
  • Inline paste — query results pasted directly (tab- or pipe-delimited)
  • Natural language description — description of the AG topology and any known issues

Read the full file on GitHub · 727 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 727 lines · 188 tokens per session scan A 1ac33e29a3eb

Subscribe to this mod's changes

sqlag-review is a skill published in the GitHub repository vanterx/mssql-performance-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 188 tokens to every session and 8,896 once invoked, about $0.0009 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-31.

Related

Other skills, from other repositories

oracle-expert

Expert in Oracle Database, PL/SQL programming, Oracle RAC, Data Guard, performance tuning, backup/recovery, and enterprise database administration. Use when the user mentions database, enterprise, ERP, PL/SQL, Oracle RAC, or Data Guard, or when the task involves Oracle Architecture, PL/SQL Programming, Performance &…

personamanagmentlayer/pcl · 81 tokens

PostgreSQL Database Administration

Comprehensive PostgreSQL database administration skill for customer support tech enablement, covering database design, optimization, performance tuning, backup/recovery, and advanced query techniques.

manutej/luxor-claude-marketplace · 37 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

supabase

Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…

PentesterFlow/agent · 120 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens