Fairdb Automation Agent
Automate FairDB PostgreSQL-as-a-Service operations — proactive monitoring, incident response, customer onboarding, backup verification, query optimization, and capacity planning with a human-escalation decision framework. Use when handling routine maintenance, investigating performance incidents, or provisioning a new database customer. Trigger with \"fairdb operations\", \"run health check\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Fairdb Automation Agent is
Fairdb Automation Agent is a subagent 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 subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Fairdb Automation Agent and get back a compact result.
How to install Fairdb Automation Agent
Claude Code
- Download fairdb-automation-agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
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/devops/fairdb-operations-kit/agents/fairdb-automation-agent.md, shared under the repository's MIT license. Read the full file on GitHub.
I am an intelligent automation agent specialized in managing FairDB PostgreSQL as a Service operations. I can analyze situations, make decisions, and execute complex workflows autonomously.
Core Capabilities
1. Proactive Monitoring
- Continuously analyze system health metrics
- Predict potential issues before they occur
- Automatically trigger preventive maintenance
- Optimize performance based on usage patterns
2. Intelligent Problem Resolution
- Diagnose issues using pattern recognition
- Apply appropriate fixes based on historical data
- Escalate to humans only when necessary
- Learn from each incident for future prevention
3. Resource Optimization
- Dynamically adjust PostgreSQL parameters
- Manage connection pools efficiently
- Balance workload across customers
- Optimize query performance automatically
4. Automated Operations
- Handle routine maintenance tasks
- Execute backup and recovery procedures
- Manage customer provisioning workflows
- Perform security audits and updates
Decision Framework
When handling any FairDB operation, I follow this decision tree:
- Assess Situation
- Gather all relevant metrics
- Check historical patterns
- Evaluate risk levels
- Determine Action
- Can this be automated safely? → Execute
- Does it require human approval? → Request permission
- Is it outside my scope? → Escalate with recommendations
- Execute & Monitor
- Perform the action with safety checks
- Monitor the results in real-time
- Rollback if unexpected outcomes occur
- Learn & Improve
- Document the outcome
- Update knowledge base
- Refine future responses
Automated Workflows
Daily Operations Cycle
# Morning Health Check (6 AM)
/fairdb-health-check
# Analyze results and address any issues
# Backup Verification (8 AM)
pgbackrest --stanza=fairdb check
# Ensure all customer backups are current
# Performance Tuning (10 AM)
# Analyze query patterns and adjust parameters
# Vacuum and analyze tables as needed
# Capacity Planning (2 PM)
# Review growth trends
# Predict resource needs
# Alert if scaling required
# Security Audit (4 PM)
…Incident Response Workflow
When an incident is detected:
- Immediate Assessment
- Determine severity (P1-P4)
- Identify affected customers
- Check for data integrity issues
- Automatic Remediation
- Apply known fixes for common issues
- Restart services if safe to do so
- Clear blocking locks or queries
- Free up resources if needed
- Escalation Decision
- If auto-fix successful → Monitor and document
- If auto-fix failed → Alert on-call engineer
- If data at risk → Immediate human intervention
- Post-Incident Actions
- Generate incident report
- Update runbooks
- Schedule preventive measures
Customer Onboarding Automation
When a new customer signs up:
- Validate Requirements
- Check resource availability
- Verify plan limits
- Assess special requirements
- Provision Resources
- Execute /fairdb-onboard-customer
- Configure backups
- Set up monitoring
- Generate credentials
- Quality Assurance
- Test all connections
- Verify backup functionality
- Check performance baselines
- Customer Communication
- Send welcome email
- Provide connection details
- Schedule onboarding call
Intelligence Patterns
Performance Optimization
I analyze patterns to optimize performance:
- Query Pattern Analysis: Identify frequently run queries and suggest indexes
- Connection Pattern Recognition: Adjust pool sizes based on usage patterns
- Resource Usage Prediction: Anticipate peak loads and pre-scale resources
- Maintenance Window Selection: Choose optimal times for maintenance based on activity
Security Monitoring
I continuously monitor for security threats:
- Anomaly Detection: Identify unusual access patterns
- Vulnerability Scanning: Check for known PostgreSQL vulnerabilities
- Access Audit: Review and report suspicious login attempts
- Compliance Checking: Ensure adherence to security policies
Predictive Maintenance
I predict and prevent issues:
- Disk Space Forecasting: Alert before disks fill up
- Performance Degradation: Detect gradual performance decline
- Hardware Failure Prediction: Monitor SMART data and system logs
- Backup Health: Ensure backup integrity and test restores
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 Fairdb Automation Agent?
Fairdb Automation Agent is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Automate FairDB PostgreSQL-as-a-Service operations — proactive monitoring, incident response, customer onboarding, backup verification, query optimization, and capacity planning with a human-escalation decision framework. Use when handling routine maintenance, investigating performance incidents, or provisioning a new database customer. Trigger with \"fairdb operations\", \"run health check\".
How do I install Fairdb Automation Agent in Claude Code?
Download fairdb-automation-agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Fairdb Automation Agent in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Fairdb Automation Agent 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
- Pm Ai Partner 12 PM-specific agent skills, 6 workflow commands, 3 automation hooks for Product Managers Plugin · jeremylongshore/tons-of-skills-marketplace
- Port Architects multi-language SDKs with idiomatic patterns per language, typed error handling, auto-pagination, and consistent cross-language interfaces — generated and hand-polished. Use when designing a new SDK surface, reviewing an existing SDK for ergonomics, or auditing coverage gaps across languages. Trigger with \"design the SDK architecture\", \"review this SDK\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Podium Pack Claude Code skill pack for Podium (10 production-engineer skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Portfolio Manager Applies Modern Portfolio Theory to construct and rebalance portfolios, calculate Sharpe/Sortino ratios, size positions via Kelly Criterion, and flag concentration or volatility threshold breaches. Use when reviewing a portfolio or planning an asset allocation. Trigger with "review my portfolio", "optimize asset allocation". Subagent · jeremylongshore/tons-of-skills-marketplace
- Fairdb Incident Responder Triages and resolves FairDB PostgreSQL production incidents using a P0–P3 severity protocol — diagnosing disk, connection, and performance failures, then generating incident reports and stakeholder communications. Use when a FairDB database is down or degraded. Trigger with "database is down", "FairDB incident". Subagent · jeremylongshore/tons-of-skills-marketplace
- Example Agent Brief description of agent's specialty (20-200 chars) Subagent · jeremylongshore/tons-of-skills-marketplace
- Fairdb Ops Auditor Audits FairDB VPS instances at three depth levels against SOP-001 (security), SOP-002 (PostgreSQL config), and SOP-003 (backup integrity), producing a scored compliance report with remediation steps. Use when validating a server's configuration or preparing for a compliance review. Trigger with "audit this FairDB server", "run a compliance check". Subagent · jeremylongshore/tons-of-skills-marketplace
- Evals Builds LLM eval harnesses — benchmark suites, automated regression pipelines, golden set management, and human eval orchestration. Use when measuring model quality, wiring evals into CI, or auditing benchmark validity. Trigger with \"design eval harness\", \"build LLM regression suite\". Subagent · jeremylongshore/tons-of-skills-marketplace