Individual skill
db-readonly-hardened
Run safe read-only queries against MySQL or PostgreSQL for data inspection, reporting, and troubleshooting. Use when the user asks to read tables, inspect schema, count rows, sample data, or export query results without modifying data.
skills/db-readonly-hardened/SKILL.md
Source commit 40095dcfb778f82d3ab36df2573ee936830fa4b7
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 25
- Repository last updated
- Apr 21, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- ai-behavior-analysis Repository topic
- ai-safety Repository topic
- ai-safety-research Repository topic
- ai-security Repository topic
- ai-skills Repository topic
- mcp Repository topic
- ai-skill-safety Repository topic
- data Derived category
- data-databases Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SAFETY.mddoc · 17,386 bytesSKILL.mdcore · 3,132 bytesSKILL.mdcore · 3,132 bytesSKILL.mdcore · 3,132 bytesSKILL.mdcore · 3,132 bytesreferences/query-cookbook.mddoc · 875 bytesscripts/db_readonly.shruns · 2,893 bytes
Read excerpt
# db-readonly
Use this skill for database read tasks only.
## What this skill does
- Connect to **PostgreSQL** or **MySQL** using connection env vars
- Execute **SELECT / WITH / EXPLAIN** queries only
- Optionally save output to CSV/TSV/JSON
- Block risky SQL (`INSERT`, `UPDATE`, `DELETE`, `DROP`, `ALTER`, etc.)
## Connection env vars
### PostgreSQL