LaunchKit · 2026
Back to Skills

sql-server-toolkit

Command-line toolkit for Microsoft SQL Server.

0
515 downloads
by @sqlservr

Setup & Installation

openclaw skills install @sqlservr/sql-server-toolkit

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install sql-server-toolkit

Version History

v1.0.1Feb 21, 2026 - Version note by skill developer:

Initial release of the SQL Server Toolkit. - Supports schema creation, versioned migrations, index management, performance diagnostics, backup & restore, and bulk data operations. - Includes example SQL commands for common tasks such as connecting, running scripts, table creation, indexing, and backups. - Provides performance diagnostic commands using STATISTICS IO and TIME.

What This Skill Does

Command-line toolkit for Microsoft SQL Server. Covers schema creation, versioned migrations, index management, performance diagnostics, and backup and restore operations via sqlcmd.

Consolidates common SQL Server administrative tasks into a single CLI workflow, removing the need to switch between SSMS, custom scripts, and separate backup utilities.

When to use it

  • Running a versioned migration against a staging database before deployment
  • Diagnosing slow queries using IO and time statistics
  • Creating a full database backup before a major release
  • Bulk importing CSV data into a production table
  • Adding indexes to optimize frequently queried columns

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Back up MyDatabase to a local file

AGENT
  1. 1Connects to the SQL Server instance using sqlcmd
  2. 2Issues a BACKUP DATABASE command targeting the specified database
  3. 3Writes the backup to the specified disk path with FORMAT and INIT options
  4. 4Confirms successful backup completion
OUTPUT

Database backup file created at C:\backup\MyDatabase.bak

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Microsoft SQL Server instancesqlcmd utility installed