azure-sql
Skill by sickn33
Provisions and manages Azure SQL Database, Elastic Pools and Cosmos DB using Azure CLI commands. It covers security, backups and replication for teams deploying managed databases on Azure.
Install azure-sql
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-sql ~/.claude/skills/azure-sqlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-sql ~/.gemini/antigravity-cli/skills/azure-sqlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a set of Azure CLI command examples for deploying and managing Azure SQL Database, Elastic Pools and Cosmos DB. It covers server and database creation, firewall and VNet rules, failover groups and geo-replication, backup and restore, performance tuning, and security settings such as threat protection, auditing and transparent data encryption. Its introduction also mentions Terraform configurations, which are kept in a separate reference file.
The examples favor Entra-only authentication, disabled public network access and private endpoints. The skill is docs-only, so helper scripts and templates are not bundled. It is aimed at engineers who deploy managed databases on Azure and want a reference for the relevant Azure CLI commands. The source warns that the examples create billable resources and that they should be checked against cost limits and tested restore and failover plans first.
Written from the project's SKILL.md and checked against it.
What it can do
- Create SQL servers and databasesProvisions logical SQL servers and General Purpose, Business Critical and Hyperscale databases with az sql commands.
- Elastic poolsCreates an elastic pool and moves databases into it.
- Firewall and VNet rulesCreates, lists and removes firewall rules and VNet rules for a SQL server.
- Geo-replication and failoverSets up failover groups, active geo-replication and manual failover to a secondary server.
- Backup and restoreConfigures short-term and long-term retention and restores databases to a point in time.
- Performance tuningLists advisor recommendations, scales the database tier and checks usage metrics.
- Security hardeningCovers threat protection, auditing to storage or Log Analytics, and transparent data encryption.
- Cosmos DB setupCreates a Cosmos DB account, database, container and throughput settings, including autoscale migration.
What you need
- Azure subscription
- Azure CLI installed from an approved, signed package
- Privileged access to the Azure subscription
- Entra ID group object ID for SQL administrators
Try asking
- Create an Entra-only Azure SQL server with public network access disabled
- Set up a failover group between two Azure SQL servers
- Configure 14-day short-term backup retention for my production database
Good to know
- Docs-only: helper scripts and templates are not bundled.
- The examples provision billable resources and can interrupt databases.
- A regional replica is asynchronous, so failover can lose data.
- Cosmos DB indexing-policy.json and referenced network or storage resources must be supplied separately.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-sql/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/details.md4 KB
Alternatives to azure-sql
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
azure-sql: common questions
Does this skill create Azure resources by itself?
No. It provides Azure CLI examples that the user runs. The source notes that these examples provision billable resources.
Does it support SQL username and password login?
The source says to use Entra-only authentication. It states that the old SQL login BACPAC example is not supported with that setup and that passwords and keys should not be passed in argv.
Can it set up Cosmos DB as well as Azure SQL?
Yes. The skill includes Cosmos DB account, database, container and throughput commands alongside the Azure SQL examples.
How do I install azure-sql?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-sql free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-sql safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-sql?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
