codev: Skill for Claude Code

.claude/skills/builder-refresh/SKILL.md

builder-refresh is a skill for Claude Code from cluesmith/codev. It costs 81 tokens per session (1,592 once invoked), scanned A, original, Apache-2.0.

A controlled procedure for saving a coding agent’s work, clearing its current context, and starting again from saved project files. It is used at a planned protocol boundary, not whenever the agent chooses.

In plain words
What is it for?
Use it when the porch system or an architect tells a builder agent to refresh its context. It helps resume work from the specification, plan, status file, thread notes, and Git history.
Why use it?
It prevents the agent from losing important progress when its conversation context is refreshed. Verification checks help ensure the saved state is complete and the worktree has no uncommitted tracked changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is cluesmith/codev's own configuration. It tells Claude Code how to work on codev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cluesmith/codev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cluesmith/codev/main/.claude/skills/builder-refresh/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cluesmith/codev

Made for: Claude Code.

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 builder-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/cluesmith/codev/builder-refresh/github.svg)](https://agentmods.dev/skills/cluesmith/codev/builder-refresh)
Your own site
<a href="https://agentmods.dev/skills/cluesmith/codev/builder-refresh"><img src="https://agentmods.dev/badge/skills/cluesmith/codev/builder-refresh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for builder-refresh

Your own site · 80×15
<a href="https://agentmods.dev/skills/cluesmith/codev/builder-refresh"><img src="https://agentmods.dev/badge/skills/cluesmith/codev/builder-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00081 $0.01592
Opus 5.5 $0.00032 $0.00637
Sonnet 5.5 $0.00016 $0.00318
Haiku 4.5 $0.00008 $0.00159

Measured 2mo ago against content hash d9e5fdf5dc54, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

builder-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 2mo 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.

.claude/skills/builder-refresh/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/builder-refresh — save, clear, and come back knowing where you are

You are a builder that has reached a protocol boundary. Your context can be discarded here safely, because everything that matters is already on disk: the spec, the plan, status.yaml, your thread narrative, and git history. A fresh context re-orients from those artifacts rather than from memory.

The enforcement is in the command, not in this document. afx self-refresh refuses to clear on an unverified save, refuses when the re-entry cannot be scheduled, and refuses when your worktree has uncommitted tracked changes. This skill sequences the steps and explains the judgement calls; it cannot and does not decide whether the clear is safe.

When NOT to run this

Porch chooses the moment. You do not. Run this when porch's refresh task tells you to, or when the architect directs it. Do not invoke it mid-task on your own judgement — a boundary is a point a fresh context can resume from, and a mid-task snapshot resumes into confusion.

If you are not at a boundary and think you need a refresh anyway, say so to the architect rather than doing it: afx send architect "...".

The procedure

1. Use the commands porch gave you

Porch's refresh task contains the exact two commands for this boundary, including the --boundary flag. Run those, verbatim.

Do not retype them from memory and do not omit the flag. --boundary binds the challenge to the boundary it was issued at, so a challenge left behind by an aborted refresh cannot be used to clear you at a later boundary, against a save describing work that has since moved on. That guard has been silently disabled twice by an instruction that dropped the flag, which is why this document deliberately does not restate the commands.

If you arrived here without a porch task — an architect-directed refresh, say — there is no boundary to bind, and the flagless form is correct. Run afx self-refresh --help for the exact spelling rather than guessing it.

Read the full file on GitHub · 139 lines

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. 2mo ago First seen · 139 lines · 81 tokens per session scan A d9e5fdf5dc54

Subscribe to this mod's changes

builder-refresh is a skill published in the GitHub repository cluesmith/codev (297 stars, last pushed 2d ago), licensed Apache-2.0. It adds 81 tokens to every session and 1,592 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

builder-refresh compared with skills from other repositories

builder-refresh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
builder-refreshcluesmith/codevSkill2972d agoApache-2.0A81Claude Code
hns-lsel-curatormodu-ai/moai-adkSkill1.3k3d agoApache-2.0A135Claude Code
moai-workflow-worktreemodu-ai/moai-adkSkill1.3k3d agoApache-2.0A41Claude Code
moai-lane-watchdogmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A86Claude Code
hns-workflow-ci-loopmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A76Claude Code
hns-moaiadk-patternsmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A116Claude Code
moai-harness-learnermodu-ai/moai-adkSkill1.3k3d agoApache-2.0A61Claude Code