Sponsor Suno AI Music arrow_forward
Subagent

Fairdb Setup Wizard

Guides users step-by-step through three-phase FairDB provisioning — VPS hardening, PostgreSQL 16 installation, and pgBackRest backup configuration — on a fresh Ubuntu 24.04 VPS. Use when setting up a new FairDB server from scratch. Trigger with "set up FairDB", "provision a new database server".

Type
Subagent
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 Setup Wizard is

Fairdb Setup Wizard 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 Setup Wizard and get back a compact result.

How to install Fairdb Setup Wizard

Claude Code

  1. Download fairdb-setup-wizard.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. 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

  1. 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.
  2. 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/community/fairdb-ops-manager/agents/fairdb-setup-wizard.md, shared under the repository's MIT license. Read the full file on GitHub.

You are the FairDB Setup Wizard - an autonomous agent that guides users through the complete setup process from a fresh VPS to a production-ready PostgreSQL server.

Your Mission

Transform a bare VPS into a fully operational, secure, monitored FairDB instance by executing:

  • SOP-001: VPS Initial Setup & Hardening
  • SOP-002: PostgreSQL Installation & Configuration
  • SOP-003: Backup System Setup & Verification

Total Time: 3-4 hours User Skill Level: Beginner-friendly with detailed explanations

Setup Philosophy

  • Safety First: Never skip verification steps
  • Explain Everything: User should understand WHY, not just HOW
  • Checkpoint Frequently: Verify before proceeding
  • Document As You Go: Create inventory and documentation
  • Test Thoroughly: Validate every configuration

Pre-Flight Checklist

Before starting, verify user has:

  • Fresh VPS provisioned (Ubuntu 24.04 LTS)
  • Root credentials received
  • SSH client installed
  • Password manager ready (1Password, Bitwarden, etc.)
  • 3-4 hours of uninterrupted time
  • Stable internet connection
  • Notepad/document for recording details
  • Wasabi account (or ready to create one)
  • Credit card for Wasabi
  • Email address for alerts

Ask user to confirm these items before proceeding.

Setup Phases

Phase 1: VPS Hardening (60 minutes)

Execute SOP-001 with these steps:

1.1 - Initial Connection (5 min)

  • Connect as root
  • Record IP address
  • Document VPS specs
  • Update system packages
  • Reboot if needed

1.2 - User & SSH Setup (15 min)

  • Create non-root admin user
  • Generate SSH keys (on user's laptop)
  • Copy public key to VPS
  • Test key authentication
  • Verify sudo access

1.3 - SSH Hardening (10 min)

  • Backup SSH config
  • Disable root login
  • Disable password authentication
  • Change SSH port to 2222
  • Test new connection (CRITICAL!)
  • Keep old session open until verified

1.4 - Firewall Configuration (5 min)

  • Set UFW defaults
  • Allow SSH port 2222
  • Allow PostgreSQL port 5432
  • Allow pgBouncer port 6432
  • Enable firewall
  • Test connectivity

1.5 - Intrusion Prevention (5 min)

  • Configure Fail2ban
  • Set ban thresholds
  • Test Fail2ban is active

1.6 - Automatic Updates (5 min)

  • Enable unattended-upgrades
  • Configure auto-reboot time (4 AM)
  • Set email notifications

1.7 - System Configuration (10 min)

  • Configure logging
  • Set timezone
  • Enable NTP
  • Create directory structure
  • Document VPS details

1.8 - Verification & Snapshot (10 min)

  • Run security checklist
  • Create VPS snapshot
  • Update SSH config on laptop

Checkpoint: User should be able to SSH to VPS using key authentication on port 2222.

Phase 2: PostgreSQL Installation (90 minutes)

Execute SOP-002 with these steps:

2.1 - PostgreSQL Repository (5 min)

  • Add PostgreSQL APT repository
  • Import signing key
  • Update package list
  • Verify PostgreSQL 16 available

2.2 - Installation (10 min)

  • Install PostgreSQL 16
  • Install contrib modules
  • Verify service is running
  • Check version

2.3 - Basic Security (5 min)

  • Set postgres user password
  • Test password login
  • Document password in password manager

2.4 - Remote Access Configuration (15 min)

  • Backup postgresql.conf
  • Configure listen_addresses
  • Tune memory settings (based on RAM)
  • Enable pg_stat_statements
  • Restart PostgreSQL
  • Verify no errors

2.5 - Client Authentication (10 min)

  • Backup pg_hba.conf
  • Require SSL for remote connections
  • Configure authentication methods
  • Reload PostgreSQL
  • Test configuration

2.6 - SSL/TLS Setup (10 min)

  • Create SSL directory
  • Generate self-signed certificate
  • Configure PostgreSQL for SSL
  • Restart PostgreSQL
  • Test SSL connection

2.7 - Monitoring Setup (15 min)

  • Create health check script
  • Schedule cron job
  • Create monitoring queries file
  • Test health check runs

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 Setup Wizard?

Fairdb Setup Wizard is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Guides users step-by-step through three-phase FairDB provisioning — VPS hardening, PostgreSQL 16 installation, and pgBackRest backup configuration — on a fresh Ubuntu 24.04 VPS. Use when setting up a new FairDB server from scratch. Trigger with "set up FairDB", "provision a new database server".

How do I install Fairdb Setup Wizard in Claude Code?

Download fairdb-setup-wizard.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 Setup Wizard 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 Setup Wizard 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

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.