aih-refresh

aih-refresh is a skill for Claude Code, Codex from overdrive-dev/aihaus-flow. It costs 17 tokens per session (249 once invoked), scanned A, original, MIT.

A repository memory refresh that records verified project knowledge in local files. It reads the project's own instructions and evidence before updating that shared reference material.

In plain words
What is it for?
Use it to initialize or update an AI-readable project map, contracts, and other project notes. It is useful after significant repository changes or when the project's local guidance has fallen behind.
Why use it?
It prevents an AI agent from relying on stale or unsupported assumptions about the project. It also reports when there is not enough authoritative information to safely write the memory.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/overdrive-dev/aihaus-flow/aih-refresh
Any agent
npx skills add overdrive-dev/aihaus-flow --skill aih-refresh
Clone the repo
git clone --depth 1 https://github.com/overdrive-dev/aihaus-flow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aih-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/overdrive-dev/aihaus-flow/aih-refresh.svg)](https://agentmods.dev/skills/overdrive-dev/aihaus-flow/aih-refresh)
Your own site
<a href="https://agentmods.dev/skills/overdrive-dev/aihaus-flow/aih-refresh"><img src="https://agentmods.dev/badge/skills/overdrive-dev/aihaus-flow/aih-refresh.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00249
Opus 5 $0.00009 $0.00125
Sonnet 5 $0.00003 $0.00050
Haiku 4.5 $0.00002 $0.00025

Measured 5d ago against content hash 86318f190051, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

aih-refresh scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pkg/adapters/claude/skills/aih-refresh/SKILL.md · 25 lines

What it actually says

Read .aihaus/MAP.md, .aihaus/contracts/harness.md, .aihaus/REFRESH.md, and .aihaus/contracts/project-bootstrap.md. Follow the provider-neutral bootstrap contract exactly.

Run node .aihaus/tools/refresh.mjs --repo . --json. If readyForSynthesis is false, preserve the memory templates and report the missing authoritative project evidence, or offer the scope interview from .aihaus/REFRESH.md and record owner answers in PROJECT-BRIEF.md before rerunning discovery. Otherwise synthesize only verified, source-backed knowledge into .aihaus/memory/project/, preserving existing content and never recording secrets. Rerun discovery and finish with node .aihaus/tools/refresh.mjs --repo . --status --json.

Do not use global aihaus state, user-level settings, hooks, network access, or legacy /aih-env behavior.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 25 lines · 17 tokens per session scan A 86318f190051

Subscribe to this mod's changes

aih-refresh is a skill published in the GitHub repository overdrive-dev/aihaus-flow (5 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 249 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

profile-worker-memory

Diagnose a worker that is growing memory or being OOM-killed: separate a JS-heap leak from native growth, take a V8 heap snapshot of a live worker in place (never uploading it), and walk the retainer path back to the code that holds the memory. Use when a self-hoster reports 'memory correlates with pod age', workers…

activepieces/activepieces · 90 tokens

cordis-plugin-sofagent-evolve

经验沉淀——think.md 反思 + Dream Cycle + skillopt + instinct→skill + refine(seam: 任务结束 hook)——桥接 @sofagent/think generateThinkEntry(sofagent 品牌插件 · 主色 #16B8F3)——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。.

KongFangXun/sofagent · 96 tokens

cordis-plugin-sofagent-ontology

共享语义底座 + 知识检索(seam: ontology tools + searchknowledge)——桥接 @sofagent/ontology generateOntologyView(sofagent 品牌插件 · 主色 #16B8F3)——DSH(DeepSeek Harness)cordis plugin。sofagent 约束层在 DeepSeek Harness 生态的插件形态。.

KongFangXun/sofagent · 88 tokens

mega-context-manager

Manages large context windows via chunking, summarization, and retrieval. Use for: manage context, too much context, chunk document, context budget.

Stijnman/grok-custom-skills · 35 tokens

memory-sanitizer

Scores and filters retrieved memory against trust and poisoning risk. Use for: sanitize memory, trust score retrieval, clean knowledge graph, semantic-memory-manager.

Stijnman/grok-custom-skills · 35 tokens

multi-platform-messenger-bridge

Unify WhatsApp, Telegram, and future channels with shared conversation context and message-quality assessment. Use for: bridge messengers, unified chat memory, cross-platform reply, WhatsApp responder.

Stijnman/grok-custom-skills · 45 tokens