agentleFS
Advance-LabsAdvance-Labs/aeo-toolkit/skills/aeo-content-freshness/SKILL.md

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.

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
  1. Very specific:

    No entry has a parseable lastmod: passes.

    line 38
  2. Very specific:

    Fails: if any lastmod is more than 24 hours in the future.

    line 39
  3. Very specific:

    Fails: if every entry carries the identical timestamp and that timestamp is within the last 24 hours.

    line 40
  4. Distinctive:

    Do the consistency check yourself.

    line 52
  5. Distinctive:

    Was there a real change?: Use Google's own bar for sitemaps: "last significant modification".

    line 75
  6. Distinctive:

    If you cannot find the real date (no git history, no CMS record), do not invent one.

    line 88
  7. Distinctive:

    Check the sitemap rule by hand as described above.

    line 132
  8. Distinctive:

    Prefer a full timestamp with offset where precision matters.

    line 146
  9. Distinctive:

    Updating a stale page's date without checking its facts: If the numbers are old, the date is a lie.

    line 149

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

RuleWhat it checksPasses when
aeo.content-freshnessJSON-LD items of type Article, NewsArticle, BlogPosting, TechArticle or WebPage. For each it reads dateModified, falling back to datePublishedAt least one such date exists and parses with Date.parse
tech.sitemap-lastmod-trustworthySitemap <lastmod> valuesSee below

How tech.sitemap-lastmod-trustworthy decides, exactly:

  1. Fewer than 3 sitemap entries: passes, too few to judge.
  2. No entry has a parseable lastmod: passes. lastmod is optional and is not penalized when absent.
  3. Fails if any lastmod is more than 24 hours in the future.
  4. 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.
  5. 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-freshness passes with a datePublished alone, and does not compare JSON-LD with the visible date, so a mismatch is invisible to it.
  • It does not check that 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).

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.

SituationAction
Content changed materiallyUpdate dateModified, visible "Updated" date and sitemap lastmod together
Only template, footer, nav or styling changedLeave all three alone
Typo or minor wording fixYour call; it is not required to bump. Do not bump in bulk.
Page never had a dateAdd datePublished with the real first-publish date. Add dateModified only if the page has genuinely been revised
CMS cannot tell real edits from template changesOmit lastmod for those URLs. Google says leaving it out is fine
Build tool stamps every page at deployStop. 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

  1. 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 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.
  2. One source feeds all three places. Compute the date once per page, then render the visible date, the JSON-LD and the sitemap lastmod from the same value. That removes drift by design.
  3. 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.
  4. JSON-LD. On Article, BlogPosting or WebPage, set 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.
  5. 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

  1. Re-run the sitemap grep. Dates should vary across URLs, none in the future, none all equal.
  2. Pick three pages. Confirm the visible date, JSON-LD date and sitemap lastmod agree.
  3. Re-run analyze_website_aeo and confirm aeo.content-freshness is no longer in topFixes. Check the sitemap rule by hand as described above.
  4. 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 of tech.sitemap-lastmod-trustworthy failing. 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.