anchors

Refresh and re-sync anchor-derived sections in CLAUDE.md and AGENTS.md.

5|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/a2ngerer/claude_onboarding_agent --skill anchors-a2ngerer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: anchors
Source: https://github.com/a2ngerer/claude_onboarding_agent/tree/main/skills/anchors
Command: npx skills add https://github.com/a2ngerer/claude_onboarding_agent --skill anchors-a2ngerer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Anchor sections in CLAUDE.md and AGENTS.md can drift over time as anchors change; this skill refreshes and re-syncs them by re-fetching the latest anchors, diffing against on-disk content, and applying confirmed changes. It supports --dry-run to preview changes.

Core Features & Use Cases

  • Refresh and re-render anchor-derived sections in CLAUDE.md and AGENTS.md to keep markers current.
  • Compute diffs and apply only the anchor sections while preserving the rest of the files.
  • Safe-by-default with preview mode via --dry-run and metadata-driven refresh using onboarding meta and anchor mappings.

Quick Start

Run the /anchors skill to refresh anchor sections in CLAUDE.md and AGENTS.md and review the proposed changes.

Frequently Asked Questions about anchors

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refresh anchor sections in CLAUDE.md and AGENTS.md?▼

To refresh anchor sections in CLAUDE.md and AGENTS.md, run the /anchors skill. It re-fetches the latest anchors, computes diffs against on-disk content, and updates only the marker sections while preserving the rest of your files.

Can I preview changes to markdown anchor sections before applying them?▼

Yes, you can preview changes to markdown anchor sections before applying them by running the /anchors skill with the --dry-run flag. This computes the diff and renders proposed excerpt bodies without modifying your existing files.

Why do anchor sections in CLAUDE.md drift over time?▼

Anchor sections in CLAUDE.md drift over time because the source anchors change independently of the documentation. This skill solves the problem by re-fetching the latest anchors, diffing against on-disk content, and re-syncing the derived sections.

Does the anchors skill preserve existing content outside of marker sections?▼

Yes, the anchors skill preserves existing content outside of marker sections. It computes diffs and applies updates only to the anchor-derived sections, ensuring the rest of your CLAUDE.md and AGENTS.md files remain untouched.

What is the best way to keep markdown onboarding anchors current?▼

The best way to keep markdown onboarding anchors current is to use a metadata-driven refresh process. The /anchors skill loads onboarding meta, re-renders excerpt bodies, and re-syncs the derived sections in your documentation files.