Back to Marketplace
🩺
Marketplace / Maintenance / Site Doctor

Site Doctor

By Agentic Community 31 downloads
Free

🩺 Site Doctor

> Diagnoses your site's health. Finds broken links, database bloat, orphaned content, outdated plugins, and PHP errors.

FieldValue
Slugsite-doctor
Version1.0.0
CategoryMaintenance
AuthorAgentic Community
Required Capabilitiesmanage_options

What It Does

Site Doctor is a diagnostic and maintenance advisory agent that surfaces technical health issues and recommends fixes. It runs a comprehensive health check that scores your site 0-100 across database health, content hygiene, plugin status, and performance metrics, then produces a prioritised action list.

The agent digs deep into database health — table sizes, autoload option bloat, transient accumulation — and identifies orphaned content like old drafts, trashed posts, excessive revisions, and spam comments. It scans for broken internal links by actually fetching each URL with HTTP requests, and reads the PHP debug log to surface recent errors and warnings.

Site Doctor also evaluates performance-related factors: theme status, media library health (oversized images, orphaned attachments), caching configuration, Core Web Vitals via PageSpeed Insights, autoload impact analysis, and CSS/JS asset counts. All tools are read-only — Site Doctor diagnoses and recommends but never modifies your site.

Tools

ToolRiskDescription
run_health_checkNoneRun a comprehensive health check across database, content, and plugins. Returns an overall score and grade.
get_database_healthNoneCheck WordPress database health: table sizes, overhead, autoloaded options, transients, and overall statistics.
get_orphaned_contentNoneFind orphaned content: auto-drafts, revisions, trashed posts, pending reviews, and spam comments.
check_plugin_statusNoneList all installed plugins with their active/inactive status, version, and available updates.
check_broken_internal_linksNoneScan published posts for broken internal links (404s). Fetches each internal URL and reports dead links.
get_php_errorsNoneRead the WordPress debug.log file and return recent PHP errors, warnings, and notices.
check_theme_statusNoneList installed themes with status, version, parent info, update availability, and compatibility checks.
scan_media_libraryNoneAnalyse the media library for oversized images, orphaned attachments, storage usage, and file-type breakdown.
verify_core_integrityNoneCompare WordPress core files against official checksums to detect modified, missing, or unexpected files.
check_caching_statusNoneDetect active caching mechanisms: object cache, page cache plugins, opcode cache, and cache constants.
check_core_web_vitalsNoneCheck Core Web Vitals (LCP, INP, CLS) for a URL using Google PageSpeed Insights API.
check_autoload_impactNoneEstimate page load impact of autoloaded wp_options. Returns total size, top offenders, and recommendations.
check_asset_countNoneCount CSS and JS files loaded on a page. Flags excessive asset loading that can hurt Core Web Vitals.

Example Prompts

  • "Run a full site health check"
  • "How big is my database and what's bloating it?"
  • "Find broken internal links across my site"
  • "Show me recent PHP errors from the debug log"
  • "Check my Core Web Vitals — is my homepage passing?"
  • "Are any of my themes outdated or missing updates?"
  • "Is object caching or page caching set up on my site?"
  • "Which autoloaded options are slowing down my page load?"

_Generated by Agent Builder for WordPress_

Share this agent