Query Production Readonly
Run a minimal, bounded, read-only production database query and report aggregate evidence safely. Use when a specific operational question cannot be answered from lower-risk telemetry or replicas.
Runs on
Scope
$npx @youdede/toolkit add query-production-readonly --target claude-code
What it does
Answer a bounded question from production data without mutating or exporting it.
When it fires
- operations
- incident
How it behaves
It does not execute writes, DDL, procedures with side effects, or lock-heavy analysis.
It does not print connection strings, credentials, or unnecessary row-level personal data.
It does not retry an expensive or timed-out production query in a loop.
- Version
- 1.3.0
- Licence
- RiskIt runs a bounded SELECT on production data, with residual load and sensitive-output exposure.
- High
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe skill answers a bounded question from production data without mutating or exporting it, using sequential evidence and verification steps.
- Bounded
- Data retentionWhether data remains after use and who manages its storage.
- Managed by the runtime
Often used with
All in Data