Skip to content
Back to skills

Sqlserver

ASecurity

Read-only SQL Server queries over pyodbc with named connection profiles. SELECT-only by default (--write to override); returns rows as JSON; schema/table introspection.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
toolspythongobashsql

Security analysis

A100/100

Pro scans all 16 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add Procesio-Externals/procesio-cli --skill sqlserver --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sqlserver?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sqlserver
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/procesio-externals-sqlserver/badge)](https://www.skillsdirectory.com/skills/procesio-externals-sqlserver)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sqlserver
description: Read-only SQL Server queries over pyodbc with named connection profiles. SELECT-only by default (--write to override); returns rows as JSON; schema/table introspection.
---

# sqlserver

Read-only SQL Server queries over pyodbc with named connection profiles. SELECT-only by default (--write to override); returns rows as JSON; schema/table introspection.

## How to call it

```bash
python scripts/run-tool.py sqlserver <action> [--args]
# e.g. sqlserver query --profile default --sql "SELECT TOP 10 * FROM dbo.Customer"
```

One JSON object on stdout for success; `{"error": {"code", "message", "details"}}` and a non-zero exit on failure. Progress and logs go to stderr only.

**Start with `query`.**

## Actions

| action | required args | what it does |
|---|---|---|
| `add-profile` | `--name`, `--server` | Store a connection profile (config only; set the password separately via set-credential). |
| `columns` | `--profile`, `--table` | List a table's columns (name, type, nullable, length, default). |
| `migrate` | `--profile` | List or apply versioned .sql migrations (forward-only; tracking table; apply gated behind --apply). list is read-only and the default. |
| `profiles` | — | List configured connection profiles (no passwords). |
| `query` | `--profile`, `--sql` | Run read-only SQL (SELECT by default; --write allows non-SELECT). Params bound via ? placeholders, never interpolated. |
| `schema-diff` | `--left`, `--right` | Diff two schema mirrors or live profiles (objects added/removed/changed + unified diffs). Read-only. |
| `schema-extract` | `--profile` | Mirror all DB objects to local .sql files (one per object; incremental; read-only). |
| `tables` | `--profile` | List tables and views, optionally restricted to one schema. |
| `test-connection` | `--profile` | Connect and return the masked connection string + server version (never the password). |

---

Generated from `tools/sqlserver/tool.yaml` by `scripts/build-tool-skill.py`. Do not edit by hand — change the manifest and regenerate.

Files in this skill

  • MOVED-TO-CENTRAL.md1.3 KB
  • README.md9.1 KB
  • SKILL.md2 KB
  • SQLSERVER-SCHEMA-NOTES.md20.9 KB
  • connection.py8.8 KB
  • main.py21.4 KB
  • profiles.template.json3 B
  • schema.py22.5 KB
  • tests/conftest.py944 B
  • tests/test_connection.py3 KB
  • tests/test_dbprofiles.py3.1 KB
  • tests/test_dbquery.py7.6 KB
  • tests/test_manifest_sync.py2.5 KB
  • tests/test_sqlserver.py11.1 KB
  • tests/test_sqlserver_schema.py18.8 KB
  • tool.yaml8.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.