Tony is the domain specialist for databases in the CloudThinker Multi-Agent System. He optimizes slow queries, manages schema drift, validates backups, and right-sizes capacity across PostgreSQL, MySQL, Redis, and beyond — keeping your data layer fast, safe, and efficient.

These are leading patterns customers run with Tony across data tiers — query optimization, schema, backup, replication, tuning, and capacity. They're starting points, not the limit — extend, replace, or add your own sub-skill with the Skills Framework.
Slow Query Analysis
Identifies top-N slow queries from pg_stat_statements / performance_schema, proposes indexes and query rewrites, and validates impact on a read replica.
Migrations & Drift
Migration safety review (lock duration, blocking, rollback), drift detection between environments, and forward / backward compatibility checks.
Backup & PITR
Automated backup integrity checks, point-in-time recovery drills, and RTO / RPO measurement across primary, replica, and DR copies.
Replication & Failover
Replica lag monitoring, failover drill execution, and split-brain detection across PostgreSQL streaming, MySQL GTID, and Redis Cluster.
Tuning & Pooling
Autovacuum, work_mem, buffer pool, and connection-pool tuning based on workload signatures. PgBouncer / ProxySQL configuration review.
Storage & Growth
Storage forecasts, table-and-index growth modeling, and partition strategy recommendations for hot tables before they impact latency.
Ask Tony in chat to investigate, tune, or validate. He executes a one-shot run inside Sandbox Isolation against a read replica, never the primary, and exports a SQL diff with replica-validated impact you can apply through your migration tool of choice.
@tony please find the top 10 slow queries on staging Postgres and propose indexes with replica-validated impact.
Use /create-skill to capture the discovered surface, auth flow, Rules of Engagement, validation logic, and notification routing as a reusable Skill versioned in the Knowledge Base.
/create-skill optimize-postgres-queries --from-thread #current --scope staging-postgres --top 10 --propose-patch sql,migration
Invoke the saved Skill as a /-prefix Command from chat, webhook, or schedule. Re-runs are deterministic — same RoE, same surface, same CVE-mapped report.
/optimize-postgres-queries
Tony inherits the same platform primitives that protect every CloudThinker agent. Continuous database operations run against read replicas with strict scope, never mutating production data, and always with a tamper-evident audit trail.
Every run executes inside an ephemeral microVM with strict egress and a tamper-evident audit trail.
Guard-in and guard-out policy enforcement on every model call — PII / PHI redaction and secret detection by default.
Strict scope, method, and rate-limit constraints. Read-only proof-of-concept execution. No destructive operations.
Every reasoning step, tool call, and finding is recorded — exportable to your SIEM and reviewable by compliance.
Our database team partners directly with your platform, data, and SRE leads — slow-query reviews, migration safety audits, and PITR drill walkthroughs on request.