alignment-audit
Skill0 starsChanged 2 months agoMITView on GitHub
Audit structured data against visible page text — numeric claims, entities, FAQ/HowTo presence, required fields, sameAs — with fixes.
In this repository15 other files it gives its agents.
- auditSkill
- citable-passageSkill
- content-briefSkill
- entity-coverageSkill
- humanizerSkill
- internal-linksSkill
- meta-tagsSkill
- navboost-auditSkill
- optimizeSkill
- researchSkill
- schema-genSkill
- scoreSkill
- seo-fundamentalsSkill
- topic-clustersSkill
- write-seoSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_page.py "<url>" --json — returns parsed JSON-LD blocks, headings, and body text from the …
- Distinctive: line 18
If no JSON-LD is returned, check Microdata/RDFa attributes in the raw HTML, then say "not detected in static HTML — confirm with Rich …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/alignment-audit — Content ↔ structured data alignment
Target: $ARGUMENTS
Basis: Google's structured-data guidelines require markup to describe content visible on the page; non-representative markup, or FAQ/HowTo content users cannot see, can trigger a manual action and loses rich-result eligibility (CONFIRMED tier — ${CLAUDE_PLUGIN_ROOT}/skills/seo-fundamentals/references/patent-signals.md, G4). Aligned markup also strengthens entity identity (sameAs, Person/Organization).
Extraction
- Run
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch_page.py "<url>" --json— returns parsed JSON-LD blocks, headings, and body text from the raw HTML (WebFetch strips<script>, so never use it for this step). For a local file:fetch_page.py <file.html> --json. - If no JSON-LD is returned, check Microdata/RDFa attributes in the raw HTML, then say "not detected in static HTML — confirm with Rich Results Test (renders JS)". Never report "no schema" from static HTML alone.
- Body: headings, paragraphs, lists, tables, byline, visible dates, prices, ratings.
Modules
- Numeric claims — every price, percentage, count, duration, date, rating in the body vs the corresponding schema field. Status per claim: MATCH / MISMATCH / TEXT-ONLY / SCHEMA-ONLY; action: keep / fix text / fix schema / add / remove.
- Named entities — people, organizations, products, places, versions: declared in schema? name consistent ("Anthropic" vs "Anthropic Inc.")?
sameAspresent? Status: VERIFIED / INCONSISTENT / NO SCHEMA / WEAK ENTITY. - FAQ / HowTo presence — each schema Q/A pair or step must appear in the body verbatim or near-verbatim; missing → SCHEMA SPAM (policy violation). Note that these types no longer yield rich results for most sites; recommend removing them unless the content is genuinely on the page and useful as entity data.
- Completeness — required and recommended fields per type (Article: headline, author, datePublished, image; Product: name, image, description, offers; Person: name + sameAs, jobTitle, url; Organization: name, url + sameAs, logo; Review: itemReviewed, reviewRating, author; FAQPage: mainEntity[]). Missing required → CRITICAL; declared without body counterpart → HOLLOW.
- sameAs — each URL authoritative (Wikidata, LinkedIn, ORCID, Crunchbase, official registries), resolving, and about the same entity; missing for Person/Organization/Brand/LocalBusiness → WEAK ENTITY.
Verdict
| Verdict | Condition |
| ✅ ALIGNED | no misalignments |
| 🟡 MINOR | 1–3, none critical |
| 🟠 MAJOR | ≥4, or any critical (schema spam, missing required field) |
| 🔴 SOURCE TRUST RISK | multiple critical + schema spam |
Output
- Schema inventory (type, key properties, where found).
- Findings per module in the formats above, each with evidence (field path ↔ body quote).
- Verdict.
- Prioritized fixes — Critical (schema spam, missing required, wrong-entity sameAs) → High (numeric mismatch, missing sameAs for Person/Organization) → Medium (name inconsistency, hollow fields) → Low (recommended fields).
- Corrected JSON-LD when the fix is mechanical (or hand off to
/schema-gen); re-test with Rich Results Test and the Schema.org validator.
Caveat: some schema legitimately carries richer data than the body (accessibility, machine-readable variants). The rule is: schema must not claim what the body contradicts or omits entirely.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

