AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Sql

skill-graysurf-agent-kit-sql · by graysurf

A Claude skill from graysurf/agent-kit.

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-graysurf-agent-kit-sql

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-graysurf-agent-kit-sql)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
Archived

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Sql? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

SQL

Contract

Prereqs:

  • bash available on PATH.
  • Dialect client available on PATH:
  • postgres: psql (the runner tries Homebrew libpq/bin when available)
  • mysql: mysql (the runner tries Homebrew mysql-client/bin when available)
  • mssql: sqlcmd (the runner tries Homebrew mssql-tools18/bin when available)
  • Connection settings provided via exported env vars and/or an env file.

Inputs:

  • Dialect subcommand: postgres, mysql, or mssql.
  • --prefix : env var prefix.
  • --env-file : file to source for env vars (use /dev/null to rely on already-exported env vars).
  • One of:
  • --query ""
  • --file
  • -- (pass-through to the selected client)

Outputs:

  • Query results printed to stdout from the selected client; diagnostics to stderr.

Exit codes:

  • 0: success
  • 2: wrapper usage error
  • non-zero: connection/auth/query error from the selected client or wrapper

Failure modes:

  • Missing client binary, missing required prefixed env vars, or DB unreachable/auth failure.

Overview

Use this canonical SQL skill for all supported database clients. Pick the dialect with the first argument:

  • postgres uses psql and _PGHOST, _PGPORT, _PGUSER, _PGPASSWORD,

_PGDATABASE.

  • mysql uses mysql and _MYSQL_HOST, _MYSQL_PORT, _MYSQL_USER,

_MYSQL_PASSWORD, _MYSQL_DB.

  • mssql uses sqlcmd and _MSSQL_HOST, _MSSQL_PORT, _MSSQL_USER,

_MSSQL_PASSWORD, _MSSQL_DB.

MSSQL optional extras:

  • _MSSQL_TRUST_CERT: set to 1|true|yes to pass -C to sqlcmd.
  • _MSSQL_SCHEMA: passed as -v schema= to sqlcmd.

Prefer read-only queries unless the user explicitly requests data changes.

Quick Start

Run PostgreSQL:

$AGENT_HOME/skills/tools/sql/sql/scripts/sql.sh \
  postgres \
  --prefix TEST \
  --env-file /dev/null \
  --query "select 1;"

Run MySQL:

$AGENT_HOME/skills/tools/sql/sql/scripts/sql.sh \
  mysql \
  --prefix TEST \
  --env-file /dev/null \
  --query "select 1;"

Run SQL Server:

$AGENT_HOME/skills/tools/sql/sql/scripts/sql.sh \
  mssql \
  --prefix TEST \
  --env-file /dev/null \
  --query "select 1;"

Safety Rules

Ask before running UPDATE, DELETE, INSERT, MERGE, TRUNCATE, or schema changes.

Output and Clarification Rules

  • Follow the shared template at $AGENT_HOME/skills/tools/sql/_shared/references/ASSISTANT_RESPONSE_TEMPLATE.md.

Scripts (only entrypoints)

  • $AGENT_HOME/skills/tools/sql/sql/scripts/sql.sh

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.