SkillAgentSearch skills...

db

Database operations. Usage /db [stats|connections|slow]

Install / Use

npx skills add sandk0/fancai

Installs into whichever agent you are using.

About this skill
⚡

Claude Commands

Claude Code slash commands

Quality Score

50/100

Supported Platforms

Claude Code

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.

Substance
14/30
Structure
14/20
Description
8/15
Adoption
0/20
Freshness
15/15

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.

SkillScoreStarsUpdatedFormat
db (this skill)by sandk05003mo agoClaude Commands
claude-memby thedotmack100101.7ktodayCLAUDE.md
Agent-Reachby Panniantong10099.4k4d agoCLAUDE.md
taste-skillby Leonxlnx10099.1ktodayCLAUDE.md
Understand-Anythingby Egonex-AI10087.0k7d agoCLAUDE.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.

description: 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

View on GitHub
GitHub Stars0
CategoryData
Updated2mo ago
Forks0

Trust signals

80/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium1 low