db
Query the database — schemas, tables, records
Install / Use
npx skills add brain-bootstrap/claude-code-brain-bootstrapInstalls into whichever agent you are using.
Claude Commands
Claude Code slash commands
Quality Score
Category
Data & AnalyticsSupported Platforms
Skill content
View source on GitHubdescription: Query the database — schemas, tables, records disable-model-invocation: true effort: low argument-hint: "[schemas|tables|describe table|query SQL]"
Query the database: $ARGUMENTS
Instructions
Determine action from arguments:
| Argument | Action |
|----------|--------|
| schemas | {{DB_LIST_SCHEMAS_CMD}} |
| tables | {{DB_LIST_TABLES_CMD}} |
| describe <table> | {{DB_DESCRIBE_CMD}} <table> |
| <raw-sql> | {{DB_QUERY_CMD}} "<sql>" \| cat |
SQLite note: If commands show
$DB_PATH, set the env var to the actual DB file path before running (it varies by deployment/runtime config). Check project docs or config files for the configured path.
⚠️ Always use non-interactive mode:
- PostgreSQL:
psql -c "SQL" | cat - MySQL:
mysql -e "SQL" | cat - SQLite:
sqlite3 db.sqlite "SQL" - MongoDB:
mongosh --eval "db.collection.find()" --quiet
Related Skills
caveman
107.2k🪨 why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
claude-mem
94.4kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
84.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
83.6kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Security Score
Audited on Apr 25, 2026
