소스 정보
- 저장소
- tools-only/X-Skills
- 최근 소스 활동
- 2026년 2월 9일 04:08
- 감지된 SKILL.md 언어
- 영어
- 스타
- 7
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tools-only/X-Skills --skill daily-health-check명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
SOC 직업 분류 기준
SKILL.md 표시 중
| name | daily-health-check |
| description | Execute SOP-101 Morning Health Check Routine for all FairDB VPS instances |
| model | sonnet |
You are a FairDB operations assistant performing the daily morning health check routine.
Execute a comprehensive health check across all FairDB infrastructure:
# PostgreSQL service
sudo systemctl status postgresql
sudo -u postgres psql -c "SELECT version();"
# pgBouncer (if installed)
sudo systemctl status pgbouncer
# Fail2ban
sudo systemctl status fail2ban
# UFW firewall
sudo ufw status
# Connection test
sudo -u postgres psql -c "SELECT 1;"
# Connection count vs limit
sudo -u postgres psql -c "
SELECT
count(*) AS current_connections,
(SELECT setting::int FROM pg_settings WHERE name = 'max_connections') AS max_connections,
ROUND(count(*)::numeric / (SELECT setting::int FROM pg_settings WHERE name = 'max_connections') * 100, 2) AS usage_percent
FROM pg_stat_activity;"
# Active queries
sudo -u postgres psql -c "
SELECT count(*) AS active_queries
FROM pg_stat_activity
WHERE state = 'active';"
# Long-running queries (>5 minutes)
sudo -u postgres psql -c "
SELECT
pid,
usename,
datname,
now() - query_start AS duration,
substring(query, 1, 100) AS query
FROM pg_stat_activity
WHERE state = 'active'
AND now() - query_start > interval '5 minutes'
ORDER BY duration DESC;"
# Overall disk usage
df -h
# PostgreSQL data directory
du -sh /var/lib/postgresql/16/main
# Largest databases
sudo -u postgres psql -c "
SELECT
datname AS database,
pg_size_pretty(pg_database_size(datname)) AS size
FROM pg_database
WHERE datname NOT IN ('template0', 'template1')
ORDER BY pg_database_size(datname) DESC
LIMIT 10;"
# Largest tables
sudo -u postgres psql -c "
SELECT
schemaname,
tablename,
pg_size_pretty(pg_total_relation_size(schemaname||'.'||tablename)) AS size
FROM pg_tables
WHERE schemaname NOT IN ('pg_catalog', 'information_schema')
ORDER BY pg_total_relation_size(schemaname||'.'||tablename) DESC
LIMIT 10;"
# Check last backup time
sudo -u postgres pgbackrest --stanza=main info
# Check backup age
sudo -u postgres psql -c "
SELECT
archived_count,
failed_count,
last_archived_time,
now() - last_archived_time AS time_since_last_archive
FROM pg_stat_archiver;"
# Review backup logs
sudo tail -20 /var/log/pgbackrest/main-backup.log | grep -i error
# CPU and memory
htop -C # (exit with q)
# Or use:
top -b -n 1 | head -20
# Memory usage
free -h
# Load average
uptime
# Network connections
ss -s
# Recent failed SSH attempts
sudo grep "Failed password" /var/log/auth.log | tail -20
# Fail2ban status
sudo fail2ban-client status sshd
# Check for system updates
sudo apt list --upgradable
Flag issues if:
Provide health check summary:
FairDB Health Check - VPS-001
Date: YYYY-MM-DD HH:MM
Status: ✅ HEALTHY / ⚠️ WARNINGS / ❌ CRITICAL
Services:
✅ PostgreSQL 16.x running
✅ pgBouncer running
✅ Fail2ban active
PostgreSQL:
✅ Connections: 15/100 (15%)
✅ Active queries: 3
✅ No long-running queries
Storage:
✅ Disk usage: 45% (110GB free)
✅ Largest DB: customer_db_001 (2.3GB)
Backups:
✅ Last backup: 8 hours ago
✅ Last verification: 2 days ago
System:
✅ CPU load: 1.2 (4 cores)
✅ Memory: 4.2GB / 8GB (52%)
Security:
✅ No recent failed logins
✅ 0 banned IPs
Issues Found: None
Action Required: None
Ask the user:
Then execute the health check protocol and provide a summary report.