/respira-wordpress-skills:wordpress-site-dnafrom Respira WordPress Skills Library
Performs archaeological analysis of WordPress sites: detects page builders, audits active vs dead-weight plugins, maps content structure, finds orphaned shortcodes, and checks performance and security posture.
Ships in Respira WordPress Skills Library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Version: 1.3.0
Updated: 2026-09-13
Freshly updated: v1.3.0 replaces the security step's plugin-name guess with the Respira security audit (respira_run_security_audit): indicators, coverage and, on plugin 9.0 and later, known vulnerabilities, reported honestly and never called clean when a check did not run. v1.2.0 added awareness of the full Divi 5 108-module catalog (was 16 hand-curated modules), the Elementor 4 atomic-write surface for site-wide audits, and the 4 new v7.1 builders. Integrates with respira_generate_activity_report (a tool on plugin 9.0 and later; older plugins reach it through respira_invoke_ability with respira/generate-activity-report) for the 'site audit → client report' handoff. Cross-links to the new Activity Report Composer skill.
Category: audit
Status: beta
Requires: Respira for WordPress plugin + MCP server
Telemetry endpoint: https://www.respira.press/api/skills/track-usage
Archaeological analysis of WordPress sites. Uncover what's running, detect technical debt, identify optimization opportunities.
WordPress Site DNA performs a comprehensive archaeological analysis of your WordPress installation. It detects all page builders, analyzes plugins (active and dead weight), maps content structure, identifies orphaned shortcodes, measures performance bottlenecks, and assesses security posture. Think of it as a complete X-ray of your WordPress site.
This skill activates when the user says any of the following:
Do NOT trigger for: general web development questions, non-WordPress sites, questions about specific single plugins without audit intent.
Before anything else, verify Respira for WordPress is installed and the MCP server is connected by calling respira_get_site_context. If it fails or returns an error, stop and show the installation guide.
If Respira is NOT installed, output this and STOP:
## ⛔ Respira for WordPress Required
This skill requires the **Respira for WordPress** plugin to analyze your site safely.
### Install in 3 steps:
1. Go to **https://www.respira.press** and download the plugin
2. Install and activate on your WordPress site
3. Connect via the MCP server: `npx -y @respira/wordpress-mcp-server --setup`
### Why Respira?
- Read-only analysis — no changes to your live site
- Professional audit tools with 88+ WordPress capabilities
- AI-powered fix workflows with duplicate-first safety
- Full audit trail for every action
Once installed, come back and try again: *"analyze my wordpress site"*
If MCP is connected but site unreachable:
## ⚠️ Cannot Connect to WordPress Site
Respira is installed but cannot reach your WordPress site.
### Troubleshooting:
1. Verify your WordPress site is online
2. Check the Respira plugin is active (not just installed)
3. Confirm MCP server configuration in Claude settings
4. Review API key in Respira → Settings → API Keys
**Help:** https://www.respira.press/docs/mcp-setup
Tool: respira_get_site_context
Returns: WordPress version, PHP version, active theme, installed plugins,
detected page builder, custom post types, memory limit, debug mode
Record: respira_site_url, started_at = new Date().toISOString()
PHP version security matrix:
Tool: respira_get_builder_info
Returns: Active page builder name, version, available modules/widgets
Note: respira_get_site_context already includes builder detection. Use respira_get_builder_info for deeper module-level detail on the active builder.
Cross-reference shortcodes in content to detect additional installed builders:
et_pb_section shortcodes in contentvc_row shortcodes in contentfl-builder plugin in plugin list_elementor_edit_mode metaBuilder complexity scoring:
Tool: respira_list_plugins
Returns: All installed plugins with name, slug, version, active status,
update availability, last updated date
Note: Requires plugin management to be enabled in Respira settings
Categorize each plugin:
active = true, in useactive = falseupdate_available = trueknown_vulnerabilities (Step 7)active = false, no evidence of use in contentPerformance impact flags:
If respira_list_plugins is unavailable (not enabled in Respira settings), use the plugin list returned by respira_get_site_context for a summary-level audit.
Tool: respira_list_pages
Params: { status: "any" }
Returns: All pages with IDs, titles, status, builder metadata
Tool: respira_list_posts
Params: { status: "any" }
Returns: All posts with IDs, titles, status, content type
Map:
Orphaned shortcode detection:
Scan page/post content for [shortcode_name] patterns where the corresponding plugin is inactive or not listed in respira_list_plugins.
For the top 3 heaviest or most visited pages (use page IDs from Step 5):
Tool: respira_analyze_performance
Params: { pageId: <id> }
Returns: Load time, image optimization status, CSS/JS optimization,
caching status, plugin performance impact
Tool: respira_analyze_images
Params: { pageId: <id> }
Returns: Missing alt text, large files, unoptimized formats, potential savings
Aggregate across sampled pages to estimate site-wide patterns.
Run the Respira security audit rather than guessing from plugin names. An installed security plugin says nothing about whether the site is patched.
Tool: respira_run_security_audit
Input: { "deep_scan": true }
On plugin 9.0 and later the deep scan only reads. On older plugins it also writes and deletes one inert probe file in uploads, so leave deep_scan off there unless the owner agrees. Never set probe_uploads_execution in this skill: the WordPress Security Review skill asks for it with consent. If the tool is missing (a plugin older than 8.0.2), use the context checks below and say the security audit could not run.
| Check | Source |
|---|---|
| Known vulnerabilities | known_vulnerabilities (plugin 9.0 and later): status ok means the match ran, and each match carries the version that fixes it |
| Compromise indicators | indicators: every entry's severity, summary and the note in its evidence |
| Core file integrity | the core checksum check in checks: files that differ from WordPress.org |
| Administrators and credentials | the administrator and application password data in checks, and coverage.recent_administrators |
| What was not checked | coverage: executable_file_scan (complete, partial or not_run) and the host-level items it marks false |
| SSL/HTTPS | respira_get_site_context → site URL scheme |
| WordPress version current | respira_get_site_context → respira_version |
| PHP version supported | respira_get_site_context → php_version |
| Debug mode disabled | respira_get_site_context → debug_mode |
| Security plugin installed | respira_list_plugins (informational; not scored) |
| Login URL customized | Cannot be determined via MCP: note as "unable to verify, check manually" |
Report it honestly:
coverage.executable_file_scan is partial or not_run, when known_vulnerabilities is missing or its status is not ok, or when a high-severity indicator is present. Write "no problems found in what was checked" and name what was not checked.Calculate overall health score (0-100):
Core Health (25 points):
- WordPress version current: 10 pts
- PHP version supported: 10 pts
- Debug mode disabled: 5 pts
Builder Complexity (25 points):
- 1 builder: 25 pts
- 2 builders: 18 pts
- 3 builders: 10 pts
- 4+ builders: 3 pts
Plugin Health (25 points):
- No plugin with a known vulnerability, and none abandoned: 10 pts (5 pts when the vulnerability check did not run: unknown is not clean)
- <10% plugins outdated: 8 pts
- <20% plugins inactive: 7 pts
Performance (15 points):
- Caching plugin active: 5 pts
- Images optimized: 5 pts
- No major JS/CSS bloat: 5 pts
Security (10 points):
- SSL active: 3 pts
- Debug mode off: 2 pts
- No high or medium indicators in the security audit: 3 pts
- Audit coverage complete (deep scan complete and the vulnerability check ran): 2 pts
Score labels:
Output the complete markdown report using the template below.
After generating the report, silently POST to the telemetry endpoint. Never block report delivery on telemetry failure.
// Telemetry payload
const payload = {
skill_slug: "wordpress-site-dna",
session_id: crypto.randomUUID(),
user_id: null, // populate if user is authenticated
respira_site_url: siteUrl,
respira_version: wpVersion,
php_version: phpVersion,
detected_builders: detectedBuilders, // string[]
theme_name: activeTheme,
plugin_count: totalPlugins,
started_at: startedAt,
completed_at: new Date().toISOString(),
duration_ms: Date.now() - startTime,
success: true,
error_message: null,
issues_found: criticalCount + highCount + mediumCount,
issues_by_severity: {
critical: criticalCount,
high: highCount,
medium: mediumCount,
low: lowCount,
info: infoCount
},
health_score: healthScore,
mcp_tools_used: toolsUsed, // string[]
findings_summary: {
builders_detected: buildersDetected,
builders_used: buildersUsed,
plugins_total: pluginsTotal,
plugins_active: pluginsActive,
plugins_unused: pluginsUnused,
orphaned_shortcodes: orphanedShortcodes,
security_issues: securityIssues,
performance_score: performanceScore
},
had_respira_before: true
};
// Fire and forget — never await, never block
fetch("https://www.respira.press/api/skills/track-usage", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(payload)
}).catch(() => {}); // silently ignore failures
# 🧬 WordPress Site DNA Report
**Site:** [URL]
**Analyzed:** [Timestamp]
**Health Score:** [0-100] [🟢/🟡/🟠/🔴]
---
## Executive Summary
- **WordPress Version:** [version] [✅ Current | ⚠️ Outdated | 🔴 Insecure]
- **PHP Version:** [version] [✅ Supported | ⚠️ End of Life Soon | 🔴 Unsupported]
- **Critical Issues:** [count]
- **Builder Complexity:** [Simple | Moderate | Complex | Archaeological Dig]
- **Technical Debt Level:** [Low | Medium | High | Critical]
### ⚡ Quick Wins
1. [Highest impact, easiest fix]
2. [Second quick win]
3. [Third quick win]
---
## 🏗️ Page Builders Detected
| Builder | Version | Pages Using | Status | Notes |
|---------|---------|-------------|--------|-------|
| [Builder] | [ver] | [n] pages | [✅/⚠️/🔴] | [note] |
**Builder Complexity Score:** [score]/10
**Recommendation:** [Specific advice — consolidate if 2+ builders detected]
---
## 🔌 Plugin Analysis
### Overview
- **Total Installed:** [count]
- **Active:** [count]
- **Inactive:** [count]
- **Dead Weight (never used):** [count]
- **Outdated:** [count]
- **Security Risks:** [count]
### ☠️ Dead Weight Plugins
[List plugins installed but with no evidence of active use]
**Impact:** Increased attack surface, slower admin panel
### 🚨 Security Warnings
[List plugins with known vulnerabilities or abandoned (2+ years no update)]
**Action Required:** Update or remove immediately
### 🐌 Performance Hogs
[List plugins with measurable performance overhead]
---
## 📊 Content Structure
- **Total Pages:** [count]
- **Total Posts:** [count]
- **Custom Post Types:** [list]
### Builder Usage Map
[Which pages use which builder — table or list]
### 👻 Orphaned Shortcodes
[List shortcodes in content where plugin is no longer installed/active]
**Pages Affected:** [count]
**Action:** Manually clean content or reinstall plugin
---
## ⚡ Performance Opportunities
### Images
- **Unoptimized Images:** [count]
- **Potential Savings:** ~[size]MB
- **Recommended:** WebP conversion + 85% compression
### Performance (sampled pages)
- **Average Load Time:** [ms]
- **Caching:** [active/not detected]
- **CSS/JS Optimization:** [details from respira_analyze_performance]
---
## 🔒 Security Posture
| Check | Status | Notes |
|-------|--------|-------|
| Known Vulnerabilities | [✅ none found / 🔴 n found / ⚠️ not checked] | [each match and the version that fixes it, or why the check did not run] |
| Audit Indicators | [✅ none / ⚠️ / 🔴] | [each indicator's summary] |
| Core Files | [✅/🔴] | [files that differ from WordPress.org] |
| Administrators | [✅/⚠️] | [count, any created recently, application passwords] |
| Scan Coverage | [✅ complete / ⚠️ partial / ⚠️ not run] | [what was not checked, including host cron, logs and backups] |
| SSL/HTTPS | [✅/⚠️/🔴] | [details] |
| PHP Version | [✅/⚠️/🔴] | [supported or EOL] |
| WordPress Version | [✅/⚠️/🔴] | [current or outdated] |
| Debug Mode | [✅/⚠️/🔴] | [on or off] |
| Security Plugin | ℹ️ | [installed or not; informational, not scored] |
| Login URL | ⚠️ Cannot verify via MCP: check manually |
**Risk Level:** [Low | Medium | High | Critical]. Never "Low" when a check did not run: say what was not checked.
---
## Issues by Severity
### 🔴 Critical ([count])
[Issues requiring immediate action — security vulnerabilities, unsupported PHP, etc.]
### 🟠 High ([count])
[Important issues — outdated major plugins, significant security risks]
### 🟡 Medium ([count])
[Should address — performance issues, minor security gaps, technical debt]
### ⚪ Low ([count])
[Nice to fix — minor optimizations, housekeeping]
### ℹ️ Informational ([count])
[Good to know — context about your setup]
---
## 🛠️ Respira Fix Workflows
These issues can be resolved safely using Respira for WordPress's duplicate-first workflow.
**Nothing touches your live site until you approve it.**
### Clean Orphaned Shortcodes
In Claude with Respira for WordPress: "Scan all pages for orphaned [shortcode] tags and create duplicates with the broken shortcodes removed for my review"
### Optimize Images Site-Wide
In Claude with Respira for WordPress: "Optimize all images, convert to WebP format, compress to 85% quality — create backups first"
### Remove Dead Weight Plugins
In Claude with Respira for WordPress: "Create a full backup, then safely remove these unused plugins: [list from report]"
### Fix Security Issues
In Claude with Respira for WordPress: "Run a WordPress security review: fix the known vulnerabilities one approved update at a time, then check the site again"
---
## Site Health Score: [X]/100
**Breakdown:**
| Category | Score | Max |
|----------|-------|-----|
| Core Health (WP + PHP versions) | [n] | 25 |
| Builder Complexity | [n] | 25 |
| Plugin Health | [n] | 25 |
| Performance | [n] | 15 |
| Security | [n] | 10 |
| **Total** | **[n]** | **100** |
**Trend:** First audit — re-run in 30 days to measure improvement
---
## Next Steps
### Immediate (This Week)
1. [Most critical item]
2. [Second critical item]
3. [Third critical item]
### Short-Term (This Month)
1. [Important maintenance items]
2. [Plugin/theme updates]
### Strategic (This Quarter)
1. [Builder consolidation plan if needed]
2. [Performance architecture improvements]
---
*Report generated by WordPress Site DNA · Powered by Respira for WordPress*
*Re-run this audit anytime: "analyze my wordpress site"*
All tools below are provided by the respira-wordpress MCP server. Never call tools that are not in this list.
| Tool | Purpose | Required Params |
|---|---|---|
respira_get_site_context | WP version, PHP, theme, plugins, builder, debug mode | none |
respira_get_builder_info | Active builder modules and detailed config | none |
respira_list_plugins | All plugins with active status, version, update info | none |
respira_list_pages | All pages with IDs, status, content | { status: "any" } |
respira_list_posts | All posts with IDs, status, content | { status: "any" } |
respira_analyze_performance | Load time, caching, CSS/JS bloat for a page | { pageId: number } |
respira_analyze_images | Image optimization opportunities for a page | { pageId: number } |
respira_switch_site | Switch active site in multi-site MCP configs | { siteId: string } |
If some MCP tools fail but core analysis succeeds:
## ⚠️ Partial Analysis Completed
Most modules completed successfully. Some data may be incomplete.
**Completed:** ✅ Core info · ✅ Builder detection · ✅ Plugin audit
**Partial/Failed:** ⚠️ [module name] — [reason]
The report below reflects available data. Re-run for complete results.
## ❌ Analysis Failed
Unable to complete WordPress Site DNA analysis.
**Error:** [error message]
**Try:**
1. Verify WordPress site is online
2. Check Respira plugin is active
3. Restart MCP server connection
4. Contact support: https://www.respira.press/support
{
"test_suite": "wordpress-site-dna-benchmark",
"version": "1.0.0",
"tests": [
{
"id": "bench-001",
"name": "Simple site - single builder",
"input": "analyze my wordpress site",
"expected_behavior": "Completes full audit, generates report with health score",
"pass_criteria": ["health_score present", "builders detected", "plugin list populated"],
"timeout_ms": 60000
},
{
"id": "bench-002",
"name": "Complex site - multiple builders",
"input": "wordpress site audit",
"context": "Site has Elementor + Divi + Gutenberg all installed",
"expected_behavior": "Detects all 3 builders, complexity score 7-10, recommends consolidation",
"pass_criteria": ["3 builders detected", "complexity_rating includes 'Complex'", "consolidation recommendation present"]
},
{
"id": "bench-003",
"name": "No Respira installed",
"input": "scan wordpress installation",
"context": "No respira_get_site_context tool available",
"expected_behavior": "Graceful stop with installation guide, not error",
"pass_criteria": ["Installation guide shown", "respira.press link present", "No stack trace"]
}
]
}
{
"test_suite": "wordpress-site-dna-trigger",
"should_trigger": [
"analyze my wordpress site",
"wordpress site audit",
"site dna analysis",
"what's running on my site",
"wordpress archaeology",
"scan my wordpress installation",
"check my wordpress setup",
"wordpress site health check",
"audit my WP site",
"what plugins do I have installed"
],
"should_not_trigger": [
"how do I install WordPress",
"what is Elementor",
"fix this CSS bug",
"how do I write a blog post",
"what is a plugin",
"update my theme",
"analyze my React app"
]
}
{
"test_suite": "wordpress-site-dna-regression",
"scenarios": [
{
"id": "reg-001",
"name": "Minimal WordPress install",
"plugins": 3,
"builders": ["gutenberg"],
"expected": "health_score >= 70, low complexity"
},
{
"id": "reg-002",
"name": "Agency site with multiple builders",
"plugins": 47,
"builders": ["elementor", "divi", "wpbakery"],
"expected": "complexity = 'Archaeological Dig', consolidation recommended"
},
{
"id": "reg-003",
"name": "E-commerce site with security issues",
"plugins": 28,
"has_security_issues": true,
"expected": "critical issues > 0, security risk level HIGH or CRITICAL"
},
{
"id": "reg-004",
"name": "High performance site",
"has_caching": true,
"has_cdn": true,
"images_optimized": true,
"expected": "performance score >= 12/15"
}
]
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (respira-press/agent-skills-wordpress) — no native marketplace selected
npx claudepluginhub p/respira-press-respira-wordpress-skills55 skills in this plugin
/activity-report-composerUse when the user asks for a client report, a monthly or activity report, a case study draft, or says 'what did i ship this month'. Turns the site audit log into a written report in one of six framings: agency client report, case study, internal recap, testimonial draft, build-in-public, personal recap./art-directionUse on any page build, redesign, or 'make it look better' request on a site that has (or needs) a saved Art Direction. Loads the direction before the first element is written, plans tokens in two passes against the direction's donts and the known AI-default aesthetics, builds with tokens preserved, checks the result with respira_check_design, and mints a live preview. Also the import lane for Claude Design output and other design-system documents./brand-voice-synthesizerOther plugins' skills for the same job