description: "Phase 2 (Technical): Focus diagnostic scan for code-level health — crawl site, validate redirect, sitemap, schema, robots, images, canonicals, and Core Web Vitals" version: "1.2"
/seo-technical <domain|url> [--scope homepage|priority|full] [--compare]
Purpose
Focused technical SEO audit. Activates technical sub-agents to check crawlability, indexability, sitemap health, schema markup, image optimization, international hreflang tags, redirects, security headers, and page speed. Produces a Technical Health Score (0-100) and code-centric action plan.
📎 Reference: Weight tables and output formats are adapted dynamically from
seo-audit-ref.md, ignoring content-specific categories.
Scope Control
| Scope | Pages Analyzed | When to Use |
|---|---|---|
homepage | Homepage only | Quick technical check, first-time audit |
priority | Homepage + settings.priority_pages from project.json | Default — checks critical pages for technical bugs |
full | Homepage + internal links discovered (max 50 pages) | Full crawler audit for technical issues |
- If no
--scopespecified → auto-select:- If
settings.priority_pagesexists in project.json → usepriority - If no priority pages → use
homepage
- If
Skills Activated (up to 8)
| # | Skill | Role | Condition |
|---|---|---|---|
| 1 | seo-technical | Crawlability, indexability, security, redirects, custom 404, robots.txt | Always |
| 2 | seo-schema | Schema.org syntax and completeness validation | Always |
| 3 | seo-sitemap | XML sitemap presence, format, and crawling access | Always |
| 4 | seo-images | Alt tags, image formats, dimensions, and dimensions in HTML | Always |
| 5 | seo-hreflang | Canonical links and localized hreflang tags matching | Always |
| 6 | seo-geo | AI crawler agents access rules (robots.txt validation) | Always |
| 7 | seo-google | CrUX/PageSpeed API interaction for CWV (LCP, INP, CLS) | If API credentials available |
| 8 | seo-content | Runs HTML On-page elements audit (onpage_auditor.py) | Always |
Prerequisites
- Recommended: Run
/seo-onboardfirst for project folder initialization. - Required: Domain must be live and reachable.
- Not compatible:
phase == "greenfield"— domain must be published first.
Checkpointing
After each step completes, update
project.json.workflow_checkpointwith{workflow: "seo-technical", step: N, timestamp: "..."}.
Sub-Agent Coordination
This workflow delegates to technical specialists under the coordination of @[tech-seo-director]:
- Primary Executor: @[tech-seo-director] (leads crawling, redirect validation, and score compilation)
- Sub-Agents: @[schema-engineer] (validates schema markup), @[algo-forecaster] (analyzes AI bots rules).
Steps
Init/load domain project (Primary Agent: @[tech-seo-director]) — Follow
.agents/rules/seo-domain-project.md:PROJECT_DIR = .seo/(Workspace-scoped)- Load or initialize
.seo/project.json - If
phase == "greenfield"→ check reachability → if live, update phase to"onboarded"and proceed; if not → STOP
Load project context (Primary Agent: @[tech-seo-director]) —
priority_pages,primary_goal,industryDetermine audit scope (Primary Agent: @[tech-seo-director]) — select scope per rules above.
Run Parallel Technical Audit (Primary Agent: @[tech-seo-director] | Sub-Agents: @[schema-engineer], @[algo-forecaster]) — Run the parallel orchestrator with
--tech-only:python .agents/scripts/run_plugin_script.py seo-core parallel_audit_runner.py <url> \ --project-dir .seo/ \ --scope <scope> \ --max-workers 4 \ --goal <primary_goal> \ --industry <industry> \ --tech-only \ [--compare <previous_technical_json>]Final verification (Primary Agent: @[tech-seo-director]) (
.agents/rules/seo-core.md):- All findings tagged
[FETCHED] - Score breakdown lists checked vs skipped
- If CWV skipped → add: ⚠️ Performance/CWV score unavailable
- All findings tagged
Save outputs (Primary Agent: @[tech-seo-director]):
.seo/reports/technical-{date}.md.seo/data/technical-{date}.json
Update project.json (Primary Agent: @[tech-seo-director]) — append to
runs[]with"type": "technical"andcategory_scores(ignoring "content").Suggest next step:
- Technical Score ≥ 80: "Run
/seo-auditor/seo-strategyto focus on Content & Market Authority" - Technical Score < 80: "⚠️ Consider
/seo-executeto patch robots.txt, schema, or redirect chains"
- Technical Score ≥ 80: "Run