DataRefresh
Build and shipSkill · 2 workflows

DataRefresh

Keeps your data-backed sites current, from a fresh pull to a live check.

You say
  • are our data sites stale? Shown in the terminal
  • refresh harbor-air and deploy it
  • repull the race-results data, no deploy

You getEach of your data sites marked stale or fresh against its own update schedule.

Terminal · DataRefresh at work
studio · datasites · claude Rex 0.4.2 · 8 sessions · 2 need you
datasites · claude lumen · dev server lazygit attic · claude
8 sessions · 2 need you · 1 stopped
>Are our data sites stale? Check every registered site against its own cadence before I decide what to refresh.
⏺Skill(DataRefresh)
⎿Routed to Status, read-only, nothing deployed
⏺Bash(bun Refresh.ts status)
⎿3 sites read from the registry
◆LIFEOS 9s◆

One of three data sites is stale: harbor-air was last pulled 6 days ago on a daily cadence.

Freshness table Data sites against their cadence · Tue 8 Dec 07:50
SiteLast pullAge vs cadence
harbor-air2 Dec 06:006 d on a 1 d cadence
race-results7 Dec 22:1010 h on a 7 d cadence
rent-index1 Dec 04:007 d on a 30 d cadence
3 sites · 1 stale, 2 fresh · nothing pulled or deployed
Juno: Say refresh harbor-air and deploy it, and I will repull it, rebuild it and check the live site after.
⏵⏵ auto mode on (shift+tab to cycle)

An invented run. Sam asks whether his public data sites are out of date, and DataRefresh checks each one against its own cadence without pulling or deploying anything.

02
Workflows
01
Tool
01
Reference doc
10
Ways to ask
Not for system upgrades (Upgrade), uptime/security monitoring (Bunker/Workflows), US economic indicators (USStats), non-data deploys (use your deploy tooling)

Inside the Skill

The thinking, frameworks, and architecture that distinguish this skill from a generic version of the same task.

Ideal State

  • Every registered target's freshness is known against its own cadence, and a stale one is brought current from its real upstream sources, not from a cached or frozen copy.
  • A target that passes its cadence reaches the principal without being asked, through a scheduled read-only status check that reports to Vigil; that check never refreshes or deploys.
  • Nothing reaches production unless the principal's ask covered publishing, and a deployed refresh is proven on the live site.
  • Narrative figures that the fresh data contradicts are found and fixed by hand; deterministic code never rewrites prose.
  • Every refresh run leaves one line per target in the run log (status writes none), and every touched repo ends committed per its own conventions.

Intent Routing

Intent Trigger File
Status "are our data sites stale", "data freshness", "status" Intents/Status.md
Refresh "update the data sites", "refresh ", "repull and redeploy" Intents/Refresh.md
File Read when
Setup.md first install, registry fields, accounts and secrets, the throwaway-target proof

Data & Config

  • Registry (private data, never in this skill): ~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/DataRefresh/Registry.json. $DATAREFRESH_REGISTRY overrides the path. With no registry, or one with no targets, the tool exits 1 and points at Setup.md.
  • Run log: ~/.claude/LIFEOS/MEMORY/OBSERVABILITY/datarefresh.jsonl

Gotchas

  • Registry validation is fail-loud by design. A missing repo path or malformed entry throws an InvariantViolation naming the entry — fix the registry, never wrap the load in a try/catch.
  • Frozen upstream sources look alive. A source can keep serving 200s with years-stale data (a government feed that froze). When a target's record dates stop advancing across multiple refreshes while cadence says they should, check the source series itself before trusting the pull.

Examples

User: "are our data sites stale?"
→ Status intent
→ One table of every target with last pull, age vs cadence and STALE/FRESH, plus a one-line read and an offer to refresh what is stale
User: "refresh example-site"
→ Refresh intent, no --deploy (no publish intent)
→ Data repulled and rebuilt but not deployed; the report shows before → after record dates
User: "update the data sites"
→ Refresh intent with --all --deploy
→ Every target current, deployed through its sanctioned command, live freshness field shown advancing, repos committed

Workflows & Routing · 2

Each workflow is one job the skill runs. The trigger phrases route your request to the right one — this is the skill's routing table.

  1. 01
    Status Intents/Status.md

    are our data sites stale, data freshness, status

  2. 02
    Refresh Intents/Refresh.md

    update the data sites, refresh <target>, repull and redeploy

Tools · 1

Deterministic executables the workflows call — the code that does the real work, not prompt scaffolding.

  • Refresh.ts

How to Invoke

Say any of these to your assistant and LifeOS activates the DataRefresh skill automatically:

  • "update our data sites"
  • "refresh the data sites"
  • "are our datasets stale"
  • "data freshness"
  • "repull the data"
  • "refresh the dataset"
  • "update the data and the site"
  • "stale data check"
  • "which sites need updating"
  • "refresh any registered data property by name"

Or invoke explicitly:

Skill("DataRefresh")

References · 1

Auxiliary files the skill loads at runtime — frameworks, guides, configs.

  • Setup

Want LifeOS to do this for you?

Install LifeOS on your machine — your assistant gets the DataRefresh skill plus 96 others, all hooked into one Life OS.