claude-code-autoconfig: Agent for Claude Code

.claude/agents/docs-refresh.md

docs-refresh is an agent for Claude Code from design-and-deliver/claude-code-autoconfig. It costs 0 tokens per session (142 once invoked), scanned A, original, MIT.

An agent that updates interactive documentation to match the files in a project's .claude/ folder.

In plain words
What is it for?
Use it after adding, changing, or deleting .claude/ files to refresh the file tree, information cards, and previews.
Why use it?
It removes the need to update the documentation page manually whenever configuration files change.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is design-and-deliver/claude-code-autoconfig's own configuration. It tells Claude Code how to work on claude-code-autoconfig 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 claude-code-autoconfig configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .claude/scripts/sync-docs.js.

Reuse

Borrowing it

Nothing to install: this file belongs to design-and-deliver/claude-code-autoconfig. 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/design-and-deliver/claude-code-autoconfig/main/.claude/agents/docs-refresh.md
Clone the repo
git clone --depth 1 https://github.com/design-and-deliver/claude-code-autoconfig

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/design-and-deliver/claude-code-autoconfig/docs-refresh/github.svg)](https://agentmods.dev/agents/design-and-deliver/claude-code-autoconfig/docs-refresh)
Your own site
<a href="https://agentmods.dev/agents/design-and-deliver/claude-code-autoconfig/docs-refresh"><img src="https://agentmods.dev/badge/agents/design-and-deliver/claude-code-autoconfig/docs-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 docs-refresh

Your own site · 80×15
<a href="https://agentmods.dev/agents/design-and-deliver/claude-code-autoconfig/docs-refresh"><img src="https://agentmods.dev/badge/agents/design-and-deliver/claude-code-autoconfig/docs-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 142 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.
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.00000 $0.00142
Opus 5.5 $0.00000 $0.00057
Sonnet 5.5 $0.00000 $0.00028
Haiku 4.5 $0.00000 $0.00014

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

Security

Grade A, and why

docs-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/agents/docs-refresh.md · 22 lines

What it actually says

Docs Refresh Agent

Sync the interactive docs with the current state of .claude/.

How

Run:

node .claude/scripts/sync-docs.js

This scans .claude/ for all files, extracts @description metadata, and updates the docs HTML (file tree, info cards, and content previews).

When to Use

  • After adding, modifying, or deleting files in .claude/
  • Before opening docs with /show-docs (already built in)
  • As a background task when .claude/ files change
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 · 22 lines · 0 tokens per session scan A 308049a786f8

Subscribe to this mod's changes

docs-refresh is an agent published in the GitHub repository design-and-deliver/claude-code-autoconfig (2 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 142 tokens. 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 agents, from other repositories

executor

Builder to an ALREADY-DECIDED spec (the model split: the main session designs; the executor builds). Use for: building a designed slice/chunk, test writing, mechanical refactors with an objective gate (typecheck, test suites, byte-replay). The spec — normally a file at projects/ /plans/YYYY-MM-DD- .md, named in the…

awrshift/claude-memory-kit · 168 tokens

recon

Read-only fact-gatherer (the model split: the main session designs; recon gathers — breadth over depth). Use for: mapping a codebase surface before a design, input-availability tables, verifying a doc claim against code, sweeping many files for a fact, external fresh-checks against official sources. Returns RAW FACTS…

awrshift/claude-memory-kit · 95 tokens

idea-validator

Isolated Claude instance that critiques ideas, designs, patterns, hypotheses, or plans without context from the parent conversation. Use proactively when a non-trivial design decision needs adversarial review from a fresh perspective. Pair with an external-family model (parallel call) when you have one — different…

awrshift/claude-memory-kit · 97 tokens

qa

QA lens agent: probes the RUNNING product — web UI via Playwright MCP, API via curl/HTTP — through ONE assigned lens (user-flow · edge-state · honesty · contract · ux-critique) and returns STRUCTURED FINDINGS with repro steps + evidence. Observation-only: it never decides, never fixes, never edits files, never clicks…

awrshift/claude-memory-kit · 182 tokens

deep-research-patcher

Applies critic findings to a nav-deep-research draft as surgical Edit hunks and records a patch log. Tool-locked so it cannot regenerate the report. Spawned once at step 5 by the nav-deep-research skill.

qf-studio/navigator · 55 tokens

monetization-expert

Expert in revenue models, pricing strategy, and business monetization.

travisjneuman/.claude · 18 tokens