/aeo-toolkit:aeo-content-freshnessfrom AEO Toolkit
Makes a site's date signals (dateModified, datePublished, sitemap lastmod) honest and consistent. Detects future dates, identical timestamps, and mismatches. Hands off to seo-content-decay for deciding which pages to refresh.
Ships in AEO Toolkit. 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.
None: SKILL.md is the whole skill.
Freshness signals are the visible date on a page, the dateModified in its JSON-LD, and the
<lastmod> in the sitemap. Engines use them to decide what changed and what is worth fetching
again. They only help while they are true. This skill makes the three agree with reality, and
stops anyone "freshening" dates without freshening content.
It matters for content whose accuracy ages: pricing, regulations, tool comparisons, statistics, how-tos for software, "best of" lists. A reader and an engine both want to know it is current.
It matters little for evergreen reference pages (a definition, a history, a recipe). An old date
on a page that is still correct is not a defect. The audit agrees: aeo.content-freshness checks
that a date exists and parses, not how recent it is.
Never change a date to make a page look newer when the content has not changed. Google's
people-first content guidance lists "changing the date of pages to make them seem fresh when the
content has not substantially changed" as a warning sign of content made for search engines first.
Adding or removing lots of content only to look fresh is another. Google's sitemap guidance says
that if lastmod does not match reality, "eventually we're not going to believe you anymore".
| Rule | What it checks | Passes when |
|---|---|---|
aeo.content-freshness | JSON-LD items of type Article, NewsArticle, BlogPosting, TechArticle or WebPage. For each it reads dateModified, falling back to datePublished | At least one such date exists and parses with Date.parse |
tech.sitemap-lastmod-trustworthy | Sitemap <lastmod> values | See below |
How tech.sitemap-lastmod-trustworthy decides, exactly:
lastmod: passes. lastmod is optional and is not penalized when absent.lastmod is more than 24 hours in the future.new Date() at build time.What the audit cannot tell you:
aeo.content-freshness passes with a datePublished alone, and does not compare JSON-LD with
the visible date, so a mismatch is invisible to it.dateModified is not earlier than datePublished.So a green audit means "the signals exist and are not obviously broken", not "they are honest". Do the consistency check yourself.
With the MCP server. analyze_website_aeo returns failed aeo.content-freshness in topFixes.
It does not list tech.sitemap-lastmod-trustworthy (that rule is in the crawlability category,
outside what the tool summarizes), so check the sitemap by hand.
Without it.
# Dates in sitemap
curl -sL https://example.com/sitemap.xml | grep -oE '<lastmod>[^<]+' | sort | uniq -c | sort -rn | head
# Dates in a page's JSON-LD
curl -sL https://example.com/post | grep -oE '"(dateModified|datePublished)"\s*:\s*"[^"]+"'
# Visible date
curl -sL https://example.com/post | grep -iE 'updated|published|<time'
A single value repeated across the whole sitemap, a value equal to today, or a value in the future is a bug. For a given post, the visible date, the JSON-LD date and the sitemap lastmod should describe the same moment (allowing for date-only versus full timestamp).
Was there a real change? Use Google's own bar for sitemaps: "last significant modification". Changing the primary text, adding or changing structured data, or updating links counts. A sidebar tweak or footer change does not.
| Situation | Action |
|---|---|
| Content changed materially | Update dateModified, visible "Updated" date and sitemap lastmod together |
| Only template, footer, nav or styling changed | Leave all three alone |
| Typo or minor wording fix | Your call; it is not required to bump. Do not bump in bulk. |
| Page never had a date | Add datePublished with the real first-publish date. Add dateModified only if the page has genuinely been revised |
| CMS cannot tell real edits from template changes | Omit lastmod for those URLs. Google says leaving it out is fine |
| Build tool stamps every page at deploy | Stop. Derive from the content's real edit date |
If you cannot find the real date (no git history, no CMS record), do not invent one. Ask the user, or leave the field out.
Which pages deserve a real refresh? That is a traffic question, not a date question. Hand off
to seo-content-decay: it calls gsc_decay and separates pages that lost rank (refresh helps) from
pages that lost clicks at steady rank (refreshing will not help). Then come back here to apply the
dates correctly after the content has actually been updated.
updated: field, or the last git commit that touched the content file (for example
git log -1 --format=%cI -- path/to/post.md). Beware that a git commit date moves when someone
reformats or renames a file; use a frontmatter field if you need control.lastmod from the same value. That removes drift by design.<time datetime="..."> element. Google asks for a user-visible date labelled like that, and for the
structured and visible values to match.datePublished and, if revised,
dateModified, in ISO 8601. Date alone is required; time and timezone are optional but give
precision. If you give a timezone, give the correct one. Never use a future date, and the date
must be about the page's own publication or update, not the event it describes.<lastmod> only where you trust it. Use a supported date format (ISO 8601, as in sitemaps.org). Never emit a
build timestamp.{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "How to ...",
"datePublished": "2026-03-02",
"dateModified": "2026-10-18"
}
Per-stack wiring (Next.js sitemap.ts, Astro, WordPress) is short enough that you can reuse the
principle: find where the sitemap is generated and replace new Date() with the content date.
analyze_website_aeo and confirm aeo.content-freshness is no longer in topFixes.
Check the sitemap rule by hand as described above.lastmod, which Google says it uses as a signal for scheduling crawls only when it proves reliable.lastmod. The textbook cause of tech.sitemap-lastmod-trustworthy failing.
Frameworks default to this when no date is supplied.datePublished and dateModified, consistency, no future dates): https://developers.google.com/search/docs/appearance/publication-dates, verified 2026-11-13lastmod and ping ("last significant modification", must match reality): https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping, verified 2026-11-13packages/scoring/src/aeo-rules.ts (aeo.content-freshness) and technical-seo-rules.ts (tech.sitemap-lastmod-trustworthy), read 2026-11-13What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
25 skills in this plugin
/aeoEntry point for making a website show up and get cited in AI answers (ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews, Copilot). Use when someone asks to "do AEO" on a site, improve AI search visibility, get recommended by ChatGPT, audit a site for answer engines, or fix a list of AEO audit findings, and it is not yet clear which specific fix applies. Runs or reads an audit, groups the failures, orders them by impact, and hands each group to the skill that owns it. Uses the aeo-toolkit MCP server if connected; works without it./aeo-ai-crawler-accessCheck and fix whether AI crawlers can reach a site, and decide which ones to allow. Use when someone asks "why isn't ChatGPT or Perplexity citing my site", "should I block GPTBot", "allow AI crawlers", "AI bots blocked", "robots.txt for AI", "Cloudflare is blocking AI bots", or when the audit fails aeo.ai-bots-allowed or tech.robots-present. Covers training bots vs search and user-fetch bots, robots.txt, and CDN/WAF blocking that overrides robots.txt. Uses the aeo-toolkit MCP server if connected; works without it./aeo-ai-referral-analyticsMeasure traffic that AI assistants send to a site, using Google Analytics 4. Use when someone asks "how much traffic comes from ChatGPT/Perplexity/Claude", "are AI answers sending us visitors", "set up an AI traffic channel in GA4", "which pages do AI assistants send people to", or "is our AEO work driving visits". Covers the GA4 query, a reusable referrer regex, landing pages, and why the number is always an undercount. Requires the aeo-toolkit MCP server, signed in to an AEO Toolkit account with Google connected.npx claudepluginhub advance-labs/aeo-toolkit --plugin aeo-toolkit