Content Refresher logo

Content Refresher

Community
XuanRanL
content-refresher

Compute 0-100 decay score; trigger refresh workflow on aging articles. Score = 0.30×traffic + 0.25×rank + 0.15×ctr + 0.15×freshness + 0.15×replacement. Triggered by /refresh command or weekly schedule.

Overview

PublisherXuanRanL
Repositoryloamwright-SEO-Skill
Skill namecontent-refresher
Stars
52
Forks
9
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by XuanRanL on GitHub. Read the source before you install it.

Installation

Install the Content Refresher AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/monitor/content-refresher
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill.git /tmp/loamwright-SEO-Skill
mkdir -p .claude/skills
cp -r /tmp/loamwright-SEO-Skill/subskills/monitor/content-refresher .claude/skills/content-refresher
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Content Refresher in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Content Refresher on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Content Refresher is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Content Refresher

Decay score formula

decay = 0.30 × traffic_drop_pct
      + 0.25 × rank_drop_normalized
      + 0.15 × ctr_decrease_pct
      + 0.15 × freshness_age_normalized
      + 0.15 × replacement_pressure

Data sources (real executors — Rule 6)

3 of the 5 inputs come from the connected first-party Google data — pull them per project (IDs live in projects/{slug}/business-context.json :: analytics):

bash
# traffic_drop_pct ← GA4 organic sessions over the window
python -m scripts.audit.ga4_fetch --property-id {analytics.ga4_property_id} --days 28 --json
# rank_drop_normalized + ctr_decrease_pct ← GSC position/CTR per URL over time
python -m scripts.monitor.gsc_api_ingest --site {slug} --mode last-28 --json

freshness_age_normalized = days since dateModified; replacement_pressure = SERP churn for the target keyword (scripts.fetch.serpapi_query --engine google). Degrade gracefully: a project whose GA4 property is brand-new (0 traffic rows) scores traffic_drop=0 until data accumulates — empty GA4 is NOT a crash. Both Google sources authenticate through scripts/_core/google_creds.py (the unified token), so no per-call credential setup is needed.

ScoreAction
<30URGENT — refresh within 7d
30-50Refresh in 7d
50-75Refresh in 30d
>75Healthy; defer

Action routing (don't always full-rewrite)

Before doing a full rewrite, run the decision router — it diagnoses the signal and names the MINIMAL sufficient action, so a top-10 page that's only under-clicked gets a cheap title/meta fix (meta-builder) instead of a $0.45 rewrite, and a tag-page "content gap" gets a NEW article:

bash
python -m scripts.monitor.refresh_decision_router --site {slug} --json   # → refresh-plan.json

Map the plan's recommended_skill to the action below. The full rewrite workflow here is the DEEP_WEAK / PAGE2_DEPTH path; LOW_CTR → meta-builder, NOT_IN_AI → ai-overview-recovery, CONTENT_GAP → /article, CANNIBALIZE → consolidate.

Refresh workflow

When triggered for a URL (DEEP_WEAK / PAGE2_DEPTH path):

1. Read existing post (via WP REST GET /posts/{id})
2. Spawn researcher to find what's changed since publish (new data, new competitors)
3. Spawn writer agent in "rewrite" mode for affected sections
4. Update dateModified
5. Re-publish via wordpress-publisher (PATCH same post_id, don't create new)
6. Re-trigger indexing-notifier

See also

  • subskills/monitor/drift-detector/SKILL.md (related; detects HOW content changed)
  • subskills/cross-cutting/repair-orchestrator/SKILL.md (escalation if refresh fails)

Frequently asked questions

What does the Content Refresher AI skill do?

Compute 0-100 decay score; trigger refresh workflow on aging articles. Score = 0.30×traffic + 0.25×rank + 0.15×ctr + 0.15×freshness + 0.15×replacement. Triggered by /refresh command or weekly schedule.

Why use Content Refresher on TypingMind?

Because you install it once and use it with any model. Content Refresher is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Content Refresher in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/XuanRanL/loamwright-SEO-Skill/tree/main/subskills/monitor/content-refresher. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Content Refresher?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Content Refresher?

As many as you like. As long as a model supports skills, you can use Content Refresher with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Content Refresher AI skill free?

Yes. It is published on GitHub by XuanRanL under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇