compound-refresh

A maintenance skill for reviewing learning notes and pattern documents in docs/solutions/ against the current code. It can work interactively or process a whole scope automatically when mode:autonomous is supplied.

In plain words
What is it for?
Use it to keep solution documents accurate, update or archive them when evidence is clear, and mark uncertain documents as stale in autonomous runs.
Why use it?
It helps prevent documented solutions from becoming outdated or conflicting with the software they describe.

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/aegntic/compound-engineering/compound-refresh
Any agent
npx skills add aegntic/compound-engineering --skill compound-refresh
Clone the repo
git clone --depth 1 https://github.com/aegntic/compound-engineering

Made for: Claude Code, Codex.

Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,908 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 $0.00022 $0.03908
Opus 5 $0.00011 $0.01954
Sonnet 5 $0.00004 $0.00782
Haiku 4.5 $0.00002 $0.00391

Measured 2d ago against content hash 04664f1c4bef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

compound-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 2d 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.

skills/compound-refresh/SKILL.md · 453 lines

How it starts

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

Compound Refresh

Maintain the quality of docs/solutions/ over time. Review existing learnings against the current codebase, then refresh any derived pattern docs that depend on them.

Mode Detection

Check if $ARGUMENTS contains mode:autonomous. If present, strip it from arguments and run in autonomous mode.

Mode When Behavior
Interactive (default) User is present and can answer questions Ask for decisions on ambiguous cases and confirm disruptive actions
Autonomous mode:autonomous in arguments No user interaction. Apply unambiguous actions, mark ambiguous cases stale, and generate a full report

Autonomous mode rules

  • Skip all user questions.
  • Process all docs in scope. If no scope hint was provided, process everything.
  • Attempt all safe actions: Keep, Update, auto-Archive, and Replace when evidence is sufficient.
  • If a write succeeds, record it as applied.
  • If a write fails, record it as recommended in the report and continue.
  • If classification is genuinely ambiguous, mark the doc stale with status: stale, stale_reason, and stale_date.
  • Use conservative confidence. Borderline cases become stale in autonomous mode.
  • Always generate a report with Applied and Recommended sections.

Local Grounding

Before editing anything under docs/solutions/, read the local guidance files in this order:

  1. AGENTS.md
  2. CLAUDE.md (if present)
  3. README.md

Use them to preserve the repository's docs conventions, OpenViking guidance, and workflow naming.

Interaction Principles

These principles apply to interactive mode only. In autonomous mode, skip all user questions and apply the autonomous rules above.

Follow the same interaction style as /workflows:brainstorm:

  • ask questions one at a time
  • prefer multiple choice when natural options exist
  • start with scope and intent, then narrow only when needed
  • do not ask the user to decide before you have evidence
  • lead with a recommendation and explain it briefly

Read the full file on GitHub · 453 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. 2d ago First seen · 453 lines · 22 tokens per session scan A 04664f1c4bef

Subscribe to this mod's changes

compound-refresh is a skill published in the GitHub repository aegntic/compound-engineering (2 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 3,908 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

a2ui-renderer

Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via . Auto-activates via /info — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit/react-core/v2; low-level primitives…

CopilotKit/CopilotKit · 175 tokens

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens

copilotkit-upgrade

Use when migrating a CopilotKit v1 application to v2 -- updating package imports, replacing deprecated hooks and components, switching from GraphQL runtime to AG-UI protocol runtime, and resolving breaking API changes.

CopilotKit/CopilotKit · 48 tokens

recon

Codebase reconnaissance agent for Bug Hunter. Maps architecture, identifies trust boundaries, classifies files by risk priority, and detects service boundaries. Does NOT find bugs — finds where bugs hide.

codexstar69/bug-hunter · 40 tokens

standards

Runs Phase 4 review/publish/verify for a cli-web- CLI: implementation review by 3 parallel agents, the tiered quality checklist (Tier 1 critical fail-fast, then comprehensive), pip install + smoke test, and per-CLI skill generation. Use when a CLI's tests pass and it is ready to be validated and published.

ItamarZand88/CLI-Anything-WEB · 73 tokens

airbnb-cli

Use cli-web-airbnb to search Airbnb stays, get listing details, check availability calendars, read guest reviews, and look up location suggestions. Invoke this skill whenever the user asks about Airbnb accommodations, vacation rentals, listing prices, availability, guest reviews, or wants to search for places to stay.…

ItamarZand88/CLI-Anything-WEB · 76 tokens