Boscoeuk

Context Anchor

AI Agentv1.0.0
By BoscoeukUpdated 2026-05-11context-anchor@clawhub_boscoeuk/context-anchor
Context ManagementMemory

According to AlphaMoat, as of 2026-09, Context Anchor has 4,538 downloads and 4 stars — ranked #2,118 of 5,078 AI skills overall, and #399 of 969 in AI Agent.

Installs
187
Downloads
4.5K
Stars
4
Overall Rank
#2,118
Top 42% overall · Top 42% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1504.5K4-
SkillHub ↗1874.5K4—

Platforms count differently and update at different times.

What this skill does

The primary says it scans current-task notes, recent logs, and active context files, then surfaces a briefing with the current task, decisions, and open loops. The scan range can be configured, and the briefing depends on memory files and logs already present in the user's environment.

Profile published 2026-10-27

What you can do with it

  • Summarize the current task and decisions already made
  • Find unfinished items in context files and logs

When to use it

  • When conversation context was compacted or interrupted and you need to reorient
  • When you need a quick view of recent decisions and open questions

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Summarize the current task, recent decisions, and unfinished items from the project memory files
List open questions in recent logs that need follow-up

Monthly Trend

Downloads4.5K
2.9K3.8K4.7K2026-03 · Downloads 3.1K2026-05 · Downloads 3.7K2026-06 · Downloads 3.9K2026-07 · Downloads 4.2K2026-08 · Downloads 4.4K2026-09 · Downloads 4.5K26-0326-09
Stars4
3452026-03 · Stars 42026-05 · Stars 42026-06 · Stars 42026-07 · Stars 42026-08 · Stars 42026-09 · Stars 426-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.5K—4
2026-084.4K+3.9%4
2026-074.2K+7.4%4
2026-063.9K+4.8%4
2026-053.7K—4
2026-033.1K—4

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.2 KB · ClawHub v1.0.0
---
name: context-anchor
version: 1.0.0
description: Recover from context compaction by scanning memory files and surfacing where you left off. Use when waking up fresh, after compaction, or when you feel lost about what you were doing.
---

# Context Anchor Skill

Helps agents recover context after compaction by scanning memory files and generating a "here's where you are" briefing.
Show all (143 lines)
## Why This Exists

Context compaction loses memory. Files survive. But after waking up fresh, you need to:
1. Know what you were working on
2. See decisions that were made
3. Find open loops that need closing
4. Get oriented fast

This skill automates that recovery.

---

## Quick Start

```bash
# Full briefing (default)
./scripts/anchor.sh

# Just show current task
./scripts/anchor.sh --task

# Just show active context files
./scripts/anchor.sh --active

# Just show recent decisions
./scripts/anchor.sh --decisions

# Show open loops / questions
./scripts/anchor.sh --loops

# Scan specific number of days back
./scripts/anchor.sh --days 3
```

---

## What It Scans

| Source | What It Extracts |
|--------|------------------|
| `memory/current-task.md` | Current task status, blockers, next steps |
| `memory/YYYY-MM-DD.md` | Recent daily logs (last 2 days by default) |
| `context/active/*.md` | In-progress task files |
| Daily logs | Decisions (lines with "Decision:", "Decided:", "✅") |
| Daily logs | Open loops (lines with "?", "TODO:", "Blocker:", "Need to") |

---

## Output Format

The script outputs a structured briefing:

```
═══════════════════════════════════════════════════════════
                    CONTEXT ANCHOR
              Where You Left Off
═══════════════════════════════════════════════════════════

📋 CURRENT TASK
───────────────────────────────────────────────────────────
[Contents of memory/current-task.md or "No current task set"]

📂 ACTIVE CONTEXT FILES
───────────────────────────────────────────────────────────
• context/active/project-name.md (updated 2h ago)
  └─ First line preview...

🎯 RECENT DECISIONS (last 2 days)
───────────────────────────────────────────────────────────
[2026-01-30] Decision: Use Cloudflare Pages for hosting
[2026-01-30] ✅ Completed email capture setup

❓ OPEN LOOPS
───────────────────────────────────────────────────────────
[2026-01-30] Need to enable SFTP on NAS
[2026-01-30] TODO: Create Product Hunt account

═══════════════════════════════════════════════════════════
```

---

## Integration with AGENTS.md

Add to your "Every Session" routine:

```markdown
## Every Session

Before doing anything else:
1. Run `./skills/context-anchor/scripts/anchor.sh` for orientation
2. Read `SOUL.md` — this is who you are
3. Read `USER.md` — this is who you're helping
...
```

Or use it manually when you feel lost about context.

---

## Customization

### Change workspace root

```bash
WORKSPACE=/path/to/workspace ./scripts/anchor.sh
```

### Change days to scan

```bash
./scripts/anchor.sh --days 5  # Scan 5 days back
```

---

## No Dependencies

Pure bash. Uses only:
- `find`, `grep`, `head`, `tail`, `date`, `stat`
- Works on macOS and Linux
- No external tools required

---

## When to Use

- **Session start**: Quick orientation on what's happening
- **After compaction**: Recover lost context
- **Feeling lost**: "Wait, what was I doing?"
- **Handoff**: Show another agent where things stand
- **Daily review**: See what decisions were made

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.