diagnostic-arch-narrative

diagnostic-arch-narrative is a skill for Claude Code from dr-robert-li/cowork-wordpress-expert. It costs 82 tokens per session (3,545 once invoked), scanned A, original, MIT.

A final reporting step that combines findings from diagnostic checks into a health summary across security, code quality, database health, performance, architecture, and infrastructure.

In plain words
What is it for?
Use it as the last step of a full diagnostic run, after the other checks have completed and produced their findings.
Why use it?
It turns separate technical results into one overview with letter grades and a ranked list of the three most urgent issues.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wordpress-expert plugin — 54 skills shipped together

Good fit Use it as the last step of a full diagnostic run, after the other checks have completed and produced their findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dr-robert-li/cowork-wordpress-expert/diagnostic-arch-narrative
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dr-robert-li/cowork-wordpress-expert --skill diagnostic-arch-narrative
Clone the repo
git clone --depth 1 https://github.com/dr-robert-li/cowork-wordpress-expert

Made for: Claude Code.

Or install wordpress-expert, the plugin that ships this one along with the rest of its 54 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diagnostic-arch-narrative

README.md
[![agentmods](https://agentmods.dev/badge/skills/dr-robert-li/cowork-wordpress-expert/diagnostic-arch-narrative/github.svg)](https://agentmods.dev/skills/dr-robert-li/cowork-wordpress-expert/diagnostic-arch-narrative)
Your own site
<a href="https://agentmods.dev/skills/dr-robert-li/cowork-wordpress-expert/diagnostic-arch-narrative"><img src="https://agentmods.dev/badge/skills/dr-robert-li/cowork-wordpress-expert/diagnostic-arch-narrative/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diagnostic-arch-narrative

Your own site · 80×15
<a href="https://agentmods.dev/skills/dr-robert-li/cowork-wordpress-expert/diagnostic-arch-narrative"><img src="https://agentmods.dev/badge/skills/dr-robert-li/cowork-wordpress-expert/diagnostic-arch-narrative.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.03545
Opus 5 $0.00041 $0.01773
Sonnet 5 $0.00016 $0.00709
Haiku 4.5 $0.00008 $0.00354

Measured 11d ago against content hash 6f09dfcecd6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

diagnostic-arch-narrative scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

"detail": "## Overall Health: Grade C\n\nScan covered 4 domains with 11 findings total (1 critical, 4 warning, 6 informational).\nFirst scan for this site — no prior data available for trend comparison.\n\n### Security\n

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/diagnostic-arch-narrative/SKILL.md · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Diagnostic: Architecture Narrative Synthesizer

CRITICAL SEQUENCING REQUIREMENT: This skill MUST run LAST in the /diagnose full-mode skill list. If it runs before other skills complete, COMBINED_FINDINGS will be incomplete and the narrative will be misleading. Register it at the end of the skill execution array.

You synthesize findings from all diagnostic skills in the current run into a single cross-domain health narrative. You do NOT run any new checks, connect to WordPress, execute WP-CLI commands, or grep files. You read structured findings and produce a single ARCH-NARR finding with an A-F health grade, domain-grouped bullet-point narrative, and "Top 3 issues to fix first" ranked list.

Overview

Individual diagnostic skills (security, code quality, database health, performance, architecture) each produce focused technical findings in their domain. After all skills complete, COMBINED_FINDINGS contains the full picture — but users need a synthesized cross-domain view that tells them:

  1. What grade is their site at overall?
  2. What are the key issues per domain — in one place?
  3. What three things should they fix first?

This skill is the culminating output of a full diagnostic run. It is an aggregator, not a probe.

What this skill does NOT do:

  • Connect to the WordPress site via SSH, Docker, or direct access
  • Run WP-CLI commands (no wp commands)
  • Execute grep or find on the codebase
  • Generate new findings through code analysis
  • Run any bash commands except reading the prior report file

What this skill DOES do:

  • Read COMBINED_FINDINGS (JSON array passed by /diagnose)
  • Optionally read memory/{site}/latest.md for prior scan grade comparison
  • Apply the grading matrix (identical to report-generator thresholds)
  • Group findings by domain category
  • Rank top 3 priority issues
  • Produce exactly ONE structured finding: ARCH-NARR

Input Sources

Source 1: COMBINED_FINDINGS (Required)

The primary input is the COMBINED_FINDINGS JSON array assembled by /diagnose after all preceding skills complete. This array contains every finding from every skill that ran in the current session.

Read the full file on GitHub · 306 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 306 lines · 82 tokens per session scan A 6f09dfcecd6d

Subscribe to this mod's changes

diagnostic-arch-narrative is a skill published in the GitHub repository dr-robert-li/cowork-wordpress-expert (28 stars, last pushed 6mo ago), licensed MIT. It adds 82 tokens to every session and 3,545 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.