agentsclimarketplace

Db query

Skill vaibhavsaxena022/skills/db-query

Explore and query a database safely, especially in shared or production-like environments. Use when inspecting data or debugging via SQL through a DB tool or agent (TablePlus, psql, an MCP DB connection). Read-first, with destructive writes gated behind confirmation.From its SKILL.md

Install
npx -y skills add vaibhavsaxena022/skills --skill db-query

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.4 KB, 193 tokens by cl100k_base, as published. Nobody here has run it

Safe DB Query

Treat every connection as if it might be production.

Do

  • Confirm which environment/database you're connected to before running anything.
  • Start read-only: SELECT with an explicit LIMIT while exploring.
  • Inspect the schema first (columns, indexes, row counts) before writing queries.
  • Scope every query with a precise WHERE; parameterize inputs.
  • Wrap risky writes in a transaction — check the affected row count, then COMMIT (or ROLLBACK).

Don't

  • Don't run UPDATE/DELETE without a WHERE clause — ever.
  • Don't run destructive or schema-changing statements without explicit confirmation.
  • Don't SELECT * from large tables unbounded — use LIMIT and filters.
  • Don't paste credentials or connection strings into shared output.
  • Don't assume you're on a dev database — verify first.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.