aeo-content-freshness
Skill5 starsChanged 18 days agoApache-2.0View on GitHub
Make a site's "last updated" signals honest and consistent, and decide which pages are worth a real refresh. Use when someone asks about dateModified, datePublished, "last updated" dates on posts, whether to bump dates to look fresh, sitemap lastmod values, a sitemap where every URL has today's date, future dates in a sitemap, or why an audit fails aeo.content-freshness or tech.sitemap-lastmod-trustworthy. Hands off to seo-content-decay to choose which pages to refresh. Uses the aeo-research and aeo-toolkit MCP servers if connected; works without them.
In this repository23 other files it gives its agents.
- aeo-ai-crawler-accessSkill
- aeo-ai-referral-analyticsSkill
- aeo-answer-first-contentSkill
- aeo-article-author-schemaSkill
- aeo-citation-earningSkill
- aeo-eeat-trust-signalsSkill
- aeo-faq-qa-schemaSkill
- aeo-indexabilitySkill
- aeo-llms-txtSkill
- aeo-local-business-schemaSkill
- aeo-organization-entitySkill
- aeo-page-metadataSkill
- aeo-product-schemaSkill
- aeo-server-renderingSkill
- aeo-site-structureSkill
- aeoSkill
- aeo-structured-data-validationSkill
- aeo-visibility-trackingSkill
- seo-bing-coverageSkill
- seo-cannibalizationSkill
- seo-content-decaySkill
- seo-high-intent-ctrSkill
- seo-traffic-dropSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
No entry has a parseable lastmod: passes.
- Very specific: line 39
Fails: if any lastmod is more than 24 hours in the future.
- Very specific: line 40
Fails: if every entry carries the identical timestamp and that timestamp is within the last 24 hours.
- Distinctive: line 52
Do the consistency check yourself.
- Distinctive: line 75
Was there a real change?: Use Google's own bar for sitemaps: "last significant modification".
- Distinctive: line 88
If you cannot find the real date (no git history, no CMS record), do not invent one.
- Distinctive: line 132
Check the sitemap rule by hand as described above.
- Distinctive: line 146
Prefer a full timestamp with offset where precision matters.
- Distinctive: line 149
Updating a stale page's date without checking its facts: If the numbers are old, the date is a lie.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Content freshness, honestly
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.
When this matters, and when it doesn't
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".
Detect
| 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:
- Fewer than 3 sitemap entries: passes, too few to judge.
- No entry has a parseable
lastmod: passes.lastmodis optional and is not penalized when absent. - Fails if any
lastmodis more than 24 hours in the future. - Fails if every entry carries the identical timestamp and that timestamp is within the last 24
hours. That is the signature of
new Date()at build time. - Otherwise passes.
What the audit cannot tell you:
- It cannot tell whether a page really changed. Distinct-looking dates that are all invented pass.
aeo.content-freshnesspasses with adatePublishedalone, and does not compare JSON-LD with the visible date, so a mismatch is invisible to it.- It does not check that
dateModifiedis not earlier thandatePublished.
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).
Decide
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.
Implement
- Source dates from the content, never the clock. The right inputs are the CMS "modified" field,
a frontmatter
updated:field, or the last git commit that touched the content file (for examplegit 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. - One source feeds all three places. Compute the date once per page, then render the visible
date, the JSON-LD and the sitemap
lastmodfrom the same value. That removes drift by design. - Visible date. Show "Published" and/or "Last updated" text near the title, in a
<time datetime="...">element. Google asks for a user-visible date labelled like that, and for the structured and visible values to match. - JSON-LD. On Article, BlogPosting or WebPage, set
datePublishedand, 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. - Sitemap. Emit
<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.
Verify
- Re-run the sitemap grep. Dates should vary across URLs, none in the future, none all equal.
- Pick three pages. Confirm the visible date, JSON-LD date and sitemap lastmod agree.
- Re-run
analyze_website_aeoand confirmaeo.content-freshnessis no longer intopFixes. Check the sitemap rule by hand as described above. - Optional: paste a URL into Google's Rich Results Test or Search Console URL Inspection to confirm the structured data parses. Google does not guarantee a byline date will be shown, even when everything is correct.
Pitfalls
- Bulk-bumping dates to look fresh. Google calls this out explicitly. It also undermines
lastmod, which Google says it uses as a signal for scheduling crawls only when it proves reliable. - Build-time
lastmod. The textbook cause oftech.sitemap-lastmod-trustworthyfailing. Frameworks default to this when no date is supplied. - Date only on one surface. A JSON-LD date with no visible date, or the reverse, leaves one signal unchecked and one to drift.
- Time zone shifts. A date-only value near midnight can render as the previous or next day. Prefer a full timestamp with offset where precision matters.
- Treating freshness as a ranking lever. Google says adding or removing content to seem "fresh" will not help. Freshness signals report change; they do not create value.
- Updating a stale page's date without checking its facts. If the numbers are old, the date is a lie.
Sources
- Google Search Central, Creating helpful, reliable, people-first content (dates and "fresh" warning signs): https://developers.google.com/search/docs/fundamentals/creating-helpful-content, verified 2026-11-13
- Google Search Central, Add a byline date (visible date,
datePublishedanddateModified, consistency, no future dates): https://developers.google.com/search/docs/appearance/publication-dates, verified 2026-11-13 - Google Search Central blog, Sitemaps
lastmodand ping ("last significant modification", must match reality): https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping, verified 2026-11-13 - Google Search Central, Build and submit a sitemap: https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap, verified 2026-11-13
- schema.org, dateModified: https://schema.org/dateModified (cited by the rule; not re-fetched, listed as the definition)
- Rule source:
packages/scoring/src/aeo-rules.ts(aeo.content-freshness) andtechnical-seo-rules.ts(tech.sitemap-lastmod-trustworthy), read 2026-11-13
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.

