db
Database operations. Usage /db [stats|connections|slow]
Install / Use
npx skills add sandk0/fancaiInstalls into whichever agent you are using.
Claude Commands
Claude Code slash commands
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of db
db scores 50/100 on our quality scale, 586th of 600 Data & Analytics skills we index.
Its Claude Commands is 1001 bytes long, split into 4 sections with 3 code examples: fairly brief, so expect to fill in details yourself.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 3 months ago, so db is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
db compared with similar skills
All 4 of these similar skills score higher than db; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| db (this skill)by sandk0 | 50 | 0 | 3mo ago | Claude Commands |
| claude-memby thedotmack | 100 | 101.7k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 99.4k | 4d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 99.1k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 87.0k | 7d ago | CLAUDE.md |
Frequently asked questions
- How do I install db?
- Run
npx skills add sandk0/fancai. The install tabs above show the steps for each supported agent. - Which AI agents does db work with?
- It is written for Claude Code, as a Claude Commands file. Other agents that read the same format can often use it too.
- Is db safe to use?
- It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is db still maintained?
- The repository was last updated about 3 months ago, so db is actively maintained.
Skill content
View source on GitHubdescription: Database operations. Usage /db [stats|connections|slow] allowed-tools: Bash
Database Operations
Usage: /db stats | /db connections | /db slow
Stats (default)
ssh fancai "docker exec fancai_postgres psql -U fancai -c \"SELECT tablename, pg_size_pretty(pg_total_relation_size(schemaname||'.'||tablename)) AS size, n_live_tup AS rows FROM pg_stat_user_tables ORDER BY pg_total_relation_size(schemaname||'.'||tablename) DESC LIMIT 15;\""
Connections
ssh fancai "docker exec fancai_postgres psql -U fancai -c \"SELECT count(*) as total, state FROM pg_stat_activity GROUP BY state;\""
Slow Queries
ssh fancai "docker exec fancai_postgres psql -U fancai -c \"SELECT query, calls, mean_exec_time::numeric(10,2) as avg_ms FROM pg_stat_statements ORDER BY mean_exec_time DESC LIMIT 10;\"" 2>/dev/null || echo "pg_stat_statements not enabled"
IMPORTANT: Never run INSERT/UPDATE/DELETE/DROP without explicit user confirmation.
Related Skills
claude-mem
101.7kPersistent 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
99.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
99.1kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Understand-Anything
87.0kGraphs 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.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
