agentleFS
Wh0FF24Wh0FF24/whoff-agents/skills/context-anchor/SKILL.md

context-anchor

Skill2 starsChanged 8 months agoMITView on GitHub

Drop a working reference at any point in a session to prevent cascading context drift. Use when switching tasks, resuming after a break, or handing off between agents.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. harshsinghmp/muse-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No filler: Every line must be load-bearing.

    line 42
  2. Distinctive:

    Before switching tasks mid-session

    line 49
  3. Distinctive:

    Before handing off to another agent (Leonidas, Diomedes, any hero)

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Context Anchor Skill

You are establishing a working reference — a compact, accurate snapshot of what is true right now so the rest of this session (and the next one) doesn't drift.

What You Will Do

  1. Scan the current session for:
    • What was being built / fixed / investigated
    • What decisions were made and why
    • What was tried and ruled out
    • What the next concrete action is
  2. Write the anchor in this exact format to a file at <project-root>/.claude/anchor.md:
# Context Anchor — <ISO timestamp>

## What's true right now
- [1-sentence state of the work]
- [Key decision made: what and why]
- [What was tried and didn't work, if anything]

## The working reference
> [One sentence that a new agent could act on immediately]

## Next action
- [ ] <exact next step, file:line if applicable>
  1. Echo the anchor to the user so they can verify it before trusting it.

Rules

  • No filler. Every line must be load-bearing. If you can delete a line without losing information, delete it.
  • Concrete over vague. "Fix auth middleware at src/auth.ts:47" beats "fix the auth issue."
  • Decisions get a why. "Chose JWT over sessions — no server-state requirement" not just "chose JWT."
  • Ruled-out paths go in. Future agents waste tokens re-exploring dead ends. Write them down.

When to Use

  • Before switching tasks mid-session
  • Before handing off to another agent (Leonidas, Diomedes, any hero)
  • At the start of a new session when context is stale
  • Any time you notice yourself re-reading earlier messages to remember state

Why This Exists

Claude Code sessions accumulate noise. Old tool results, retracted approaches, superseded decisions — they all stay in context and create cascading context drift: the model starts reasoning from stale state because the signal is buried. An anchor clears the noise and makes the working reference explicit.

This skill is free. The full Atlas Starter Kit ($97) includes 12 more production skills covering agent orchestration, output verification, systematic debugging, parallel dispatch, and the complete PAX protocol for multi-agent coordination.

→ Get the full kit

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.