Agent skill

Ref Refresh

by Abilityai in Abilityai/cornelius

Mechanical staleness sweep over a reference scope. An agent skill from Abilityai/cornelius.

MITAuto-check: notesSales & Support

Install Ref Refresh

skills CLI
$ npx skills add Abilityai/cornelius --skill ref-refresh -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Abilityai/cornelius ref-refresh --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ref-refresh .claude/skills/ref-refresh && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ref-refresh
GitHub stars
109
Token cost
~1.3k tokens
SKILL.md length
527 words
Files
1
Skills in repo
56
Repo updated
First seen
Licence
MIT

At a glance

Mechanical staleness sweep over a reference scope. An agent skill from Abilityai/cornelius.

  • Works in 4 steps: Sweep as_of vs SLA → Split the queue by scope → Refresh market/ (autonomous, batched) → …
  • Sales & Support work in your project
  • SKILL.md covers Composes, State Dependencies, The Freshness SLA (drives the… and Process, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ref Refresh is an agent skill from Abilityai/cornelius. Mechanical staleness sweep over a reference scope. Scans every note's asof age against the per-type Freshness SLA, builds an overdue-sorted refresh queue, then splits by scope — market/ stale items are handed to ref-ingest (the gate-free overwrite branch) for autonomous re-verification; CRM stale items are report-only (never auto-written). Safe to run unattended. Company is the default scope.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Sales & Support. The repository describes itself as: AI-powered second brain template for Claude Code + Obsidian. The licence is MIT.

When your agent uses it

  • Sales & Support work in your project

Example prompts

  • “/ref-refresh”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Bash, Glob, Grep, Skill

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Sweep as_of vs SLA
  2. Split the queue by scope
  3. Refresh market/ (autonomous, batched)
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit fd5e9a4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash
    • Glob
    • Grep
    • Skill

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ref Refresh loads about 1.3k tokens when it runs. Until then it costs about 102 tokens; SKILL.md has 527 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~102
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash, Glob, Grep, Skill

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Abilityai/cornelius at commit fd5e9a4, republished under its MIT licence (© Abilityai). 527 words, ~1,335 tokens.

Download SKILL.mdSave it as .claude/skills/ref-refresh/SKILL.md (or your agent's skills folder).
name
ref-refresh
description
Mechanical staleness sweep over a reference scope. Scans every note's as_of age against the per-type Freshness SLA, builds an overdue-sorted refresh queue, then splits by scope — market/ stale items are handed to ref-ingest (the gate-free overwrite branch) for autonomous re-verification; CRM stale items are report-only (never auto-written). Safe to run unattended. Company is the default scope.
allowed-tools
Read, Write, Bash, Glob, Grep, Skill
automation
autonomous
user-invocable
true
argument-hint
[scope=Company] [--market-only]
metadata.version
1.0
metadata.created
2026-07-08
metadata.author
Cornelius
metadata.changelog
1.0: Initial version — as_of-vs-SLA staleness sweep → refresh queue; market→ref-ingest (ungated overwrite), CRM→report-only; single batch reindex

Ref Refresh

ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change — the top entry of metadata.changelog above — e.g. ref-refresh v1.0 — recent: initial version. Then proceed.

The temporal maintenance loop: which records have gone stale, and which can be autonomously refreshed. Reference facts have a freshness half-life; this skill enforces the per-type SLA and routes the stale ones. It is the reference analog of a scheduled coherence job — mechanical, no judgment.

Read first: resources/layered-brains/COMPANY-BRAIN-SCHEMA.md → "The temporal model" → the per-type Freshness SLA and "Automation boundary — split by scope".

Composes

  • /ref-ingest — for market/ stale items only, invoked with --no-reindex (batch); this skill reindexes once at the end. Because it only ever takes ref-ingest's gate-free, overwrite-only market branch, the whole path is autonomous-safe.

State Dependencies

SourceLocationReadWriteDescription
Company familyBrain/Company/*/*.md✓✓ (market, via ref-ingest)Entity notes swept
Refresh reportresources/company-brain/reports/✓ref-refresh-YYYY-MM-DD.md (the queue + what was done)
LBS indexresources/local-brain-search/data/✓✓ (one batch reindex)Rebuilt once after market writes

The Freshness SLA (drives the sweep)

Type / relationshipStale after
market/ competitor product/pricing~14 days
engagement (active deal)~30 days
organization (client)~90 days
person (bio/role)~180 days
product (own)on-change (no age SLA — skip)

Process

Step 1 — Sweep as_of vs SLA

For every Brain/Company/*/*.md, read type/relationship/status/as_of, compute today − as_of in days, and compare to the SLA for that type. Collect the overdue notes; sort by how far over SLA they are. Skip status: superseded and own-product (on-change).

bash
cd $PROJECT_ROOT/Brain/Company
# example: market notes older than 14 days (compute days-since in the agent; illustrative)
for f in market/*.md; do a=$(grep -m1 '^as_of:' "$f" | cut -d' ' -f2); echo "$a  $f"; done | sort
Step 2 — Split the queue by scope
  • market/ stale → the auto-refresh set (Step 3).
  • CRM stale (people/orgs/products(own)/engagements) → the report-only set. Never auto-write CRM — list them for a human to refresh via /ref-ingest.
Show full SKILL.md (251 more words)Show less
Step 3 — Refresh market/ (autonomous, batched)

For each stale market/ item, hand it to /ref-ingest with the fresh signal and --no-reindex:

re-verify the current competitor fact (pricing/positioning/shipped features), overwrite the body if changed, always re-stamp as_of to today, append a Change Log line.

In 9d the fetch source is whatever the invoker supplies; the autonomous web re-fetch is wired in 9e (domain-watch feeding market/ through ref-ingest). If no fresh signal is available this run, record the item as "queued, awaiting signal" rather than restamping a fact you did not actually re-verify. After all market items, reindex once:

bash
cd resources/local-brain-search && ./run_index.sh && ./run_daemon.sh restart
Step 4 — Report

Write resources/company-brain/reports/ref-refresh-YYYY-MM-DD.md: the full overdue queue, what was auto-refreshed (market), and the CRM items awaiting human refresh. Print a summary.

Verification

  • The sweep flags exactly the notes whose as_of age exceeds their type's SLA (spot-check one market note ≥14d old and one client org <90d — the first is queued, the second is not).
  • No CRM note is auto-written — only market notes appear in the "refreshed" list; CRM appears only under "awaiting human refresh".
  • If any market note was refreshed: exactly one reindex ran for the whole batch, and each refreshed note has a new ## Change Log line + today's as_of.
  • A report exists at resources/company-brain/reports/ref-refresh-<today>.md.

This skill must refuse to

  • Auto-write any CRM sub-scope (people/orgs/products/engagements) — report-only.
  • Restamp as_of on a fact it did not actually re-verify (staleness laundering).
  • Invoke /ref-supersede or open any approval gate on the autonomous path (market is overwrite-only).
  • Crystallize, lifecycle-classify, or promote a record into a cognitive insight.

© Abilityai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/ref-refresh of Abilityai/cornelius.

Open the folder on GitHubat commit fd5e9a4

Compare with similar skills

Ref Refresh next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ref Refresh compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ref Refresh this skillAbilityai/cornelius109—~1.3kAutomated safety check: NotesMIT
Cold Outbound Optimizerericosiu/ai-marketing-skills3.6k1 repos~1.7kAutomated safety check: PassMIT
Doc Coauthoringaws-samples/sample-strands-agent-with-agentcore19439 repos~3.2kAutomated safety check: PassMIT
Amazon Buy Box Monitorbrowser-act/skills6.1k2 repos~1.6kAutomated safety check: PassMIT
Review Analysisliangdabiao/amazon-sorftime-research-MCP-skill9401 repos~2.5kAutomated safety check: PassNone
Deskcomm Extensaomelgarafael/DeskcommCRM4.5k—~2.7kAutomated safety check: PassMIT

Similar skills

  • Cold Outbound Optimizer

    ericosiu/ai-marketing-skills

    Design, analyze, and optimize cold outbound email campaigns for Instantly.

    3.6k GitHub starsUsed in 1 repo~1.7k tokens
    Sales & SupportAuto-check passed
  • Doc Coauthoring

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Guide users through a structured workflow for co-authoring documentation.

    194 GitHub starsUsed in 39 repos~3.2k tokens
    Sales & SupportAuto-check passed
  • Amazon Buy Box Monitor

    browser-act/skills

    Pulls Amazon product details, competing seller prices and seller ratings for a given ASIN through the BrowserAct API, without browser automation.

    6.1k GitHub starsUsed in 2 repos~1.6k tokens
    Sales & SupportAuto-check passed
  • Review Analysis

    liangdabiao/amazon-sorftime-research-MCP-skill

    对亚马逊商品评论进行深度分析,自动识别产品痛点、分析退货原因,生成改进建议和客服回复模板。Invoke when user uses /review-analysis command with a product ASIN.

    940 GitHub starsUsed in 1 repo~2.5k tokens
    Sales & SupportAuto-check passed
  • Deskcomm Extensao

    melgarafael/DeskcommCRM

    Guia para criar uma extensão do DeskcommCRM — o pacote declarativo — em vez de abrir um PR no núcleo.

    4.5k GitHub stars~2.7k tokensUpdated today
    Sales & SupportAuto-check passed
  • Tourmind Booking

    tourmind-com/Tourmind-Booking-Skills

    MUST USE for any hotel or accommodation intent in any language, including hotel search, hotel recommendations, nearby accommodation, hostels, guesthouses, resorts, where-to-stay questions, room…

    1.6k GitHub stars~13k tokensUpdated 13 days ago
    Sales & SupportAuto-check passed

More from Abilityai/cornelius

All 56 skills in this repo
  • Nano Banana Image Generator

    Abilityai/cornelius

    Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).

    109 GitHub stars~1.2k tokensUpdated 15 days ago
    Auto-check: notes
  • Changelog Protocol

    Abilityai/cornelius

    Protocol for creating dated changelog files after significant agent sessions.

    109 GitHub stars~555 tokensUpdated 15 days ago
    Auto-check passed
  • Create Article

    Abilityai/cornelius

    Create long-form articles from knowledge base insights. An agent skill from Abilityai/cornelius.

    109 GitHub stars~2.1k tokensUpdated 15 days ago
    Auto-check: notes
  • Epistemic Classification

    Abilityai/cornelius

    Framework for distinguishing research findings from hypotheses and speculative synthesis.

    109 GitHub stars~1.5k tokensUpdated 15 days ago
    Auto-check passed
  • Get Youtube Transcript

    Abilityai/cornelius

    Extract the transcript from a YouTube video by URL or video ID.

    109 GitHub stars~525 tokensUpdated 15 days ago
    Auto-check: notes
  • Insight Capture Format

    Abilityai/cornelius

    Standard format for capturing and documenting insights in the knowledge base.

    109 GitHub stars~616 tokensUpdated 15 days ago
    Auto-check passed

Categories

Questions about Ref Refresh

What does Ref Refresh do?

Mechanical staleness sweep over a reference scope. An agent skill from Abilityai/cornelius. Ref Refresh is an agent skill from Abilityai/cornelius. Mechanical staleness sweep over a reference scope.

When should I use Ref Refresh?

Ref Refresh fits situations like: sales & Support work in your project.

How do I install Ref Refresh in Claude Code?

Run `npx skills add Abilityai/cornelius --skill ref-refresh -a claude-code`. Or copy the skill folder (.claude/skills/ref-refresh in Abilityai/cornelius) into .claude/skills/ref-refresh in your project. Claude Code loads it when a task matches its description.

How do I install Ref Refresh in Codex?

Run `npx skills add Abilityai/cornelius --skill ref-refresh -a codex`. Or copy the skill folder (.claude/skills/ref-refresh in Abilityai/cornelius) into .agents/skills/ref-refresh in your project. Codex loads it when a task matches its description.

Can I use Ref Refresh in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Abilityai/cornelius --skill ref-refresh -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ref-refresh, .gemini/skills/ref-refresh, .github/skills/ref-refresh and .opencode/skills/ref-refresh in your project.

What does Ref Refresh need to run?

SKILL.md names no scripts, command-line tools or credentials: Ref Refresh is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Bash, Glob, Grep, Skill.

Does Ref Refresh access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ref Refresh safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Ref Refresh use?

Ref Refresh is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ref Refresh use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ref Refresh?

Skills that share tags, products or a category with Ref Refresh: Cold Outbound Optimizer (ericosiu/ai-marketing-skills, 3.6k stars), Doc Coauthoring (aws-samples/sample-strands-agent-with-agentcore, 194 stars), Amazon Buy Box Monitor (browser-act/skills, 6.1k stars) and Review Analysis (liangdabiao/amazon-sorftime-research-MCP-skill, 940 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ref Refresh?

Abilityai (a GitHub organization) maintains it in Abilityai/cornelius, which has 109 GitHub stars. The repository holds 56 skills in this directory. The repository was last updated on September 22, 2026.

Source: Abilityai/cornelius on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.