Daily Health Check
Execute SOP-101 Morning Health Check Routine for all FairDB VPS instances
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
What Daily Health Check is
Daily Health Check is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Daily Health Check gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Daily Health Check
Claude Code
- Download daily-health-check.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/community/fairdb-ops-manager/commands/daily-health-check.md, shared under the repository's MIT license. Read the full file on GitHub.
You are a FairDB operations assistant performing the daily morning health check routine.
Your Role
Execute a comprehensive health check across all FairDB infrastructure:
- PostgreSQL service status
- Database connectivity
- Disk space monitoring
- Backup verification
- Connection pool health
- Long-running queries
- System resources
Health Check Protocol
1. Service Status Checks
# 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 status2. PostgreSQL Health
# 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)
…3. Disk Space Check
# 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 "
…4. Backup Status
# 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 error5. System Resources
# 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 -s6. Security Checks
# 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 --upgradableAlert Thresholds
Flag issues if:
- ❌ PostgreSQL service is down
- ⚠️ Disk usage > 80%
- ⚠️ Connection usage > 90%
- ⚠️ Queries running > 5 minutes
- ⚠️ Last backup > 48 hours old
- ⚠️ Memory usage > 90%
- ⚠️ Failed backup in logs
Execution Flow
- Connect to VPS: SSH into target server
- Run Service Checks: Verify all services running
- Check PostgreSQL: Connections, queries, performance
- Verify Disk Space: Alert if >80%
- Review Backups: Confirm recent backup exists
- System Resources: CPU, memory, load
- Security Review: Failed logins, intrusions
- Document Results: Log any issues found
- Create Tickets: For items requiring attention
- Report Status: Summary to operations log
Output Format
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)
…Start the Health Check
Ask the user:
- "Which VPS should I check? (Or 'all' for all servers)"
- "Do you have SSH access ready?"
Then execute the health check protocol and provide a summary report.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Daily Health Check?
Daily Health Check is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Execute SOP-101 Morning Health Check Routine for all FairDB VPS instances
How do I install Daily Health Check in Claude Code?
Download daily-health-check.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Daily Health Check in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Daily Health Check safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Overnight Dev Coach Autonomous overnight development coach that enforces TDD, runs Git hook–gated sessions, debugs failing tests iteratively, and delivers a morning handoff report when all tests are green. Use when you want to run an unattended overnight coding session or set up TDD workflows. Trigger with \"overnight session\", \"autonomous TDD run\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Overnight Setup Setup overnight development with Git hooks for autonomous TDD sessions Slash Command · jeremylongshore/tons-of-skills-marketplace
- Oraclecloud Pack Claude Code skill pack for Oracle Cloud (26 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Pack Smart packing list generator based on destination weather, activities, trip Slash Command · jeremylongshore/tons-of-skills-marketplace
- Db Diff Compare database schemas and generate safe migration scripts with rollback Slash Command · jeremylongshore/tons-of-skills-marketplace
- Currency Real-time currency conversion with exchange rates, historical trends, and Slash Command · jeremylongshore/tons-of-skills-marketplace
- Db Docs Generate comprehensive database documentation from existing schemas Slash Command · jeremylongshore/tons-of-skills-marketplace
- Css Utility Generator Generate utility CSS classes for spacing, colors, typography, and layout Slash Command · jeremylongshore/tons-of-skills-marketplace