Boscoeuk

Context Anchor

AIエージェントv1.0.0
作者:Boscoeuk更新日 2026-05-11context-anchor@clawhub_boscoeuk/context-anchor
コンテキスト管理メモリ強化

AlphaMoatによると、2026-09時点でContext Anchorのダウンロード数は4,538、スター数は4で、AIスキル全体5,078件中2,118位、AIエージェントでは969件中399位です。

インストール数
187
ダウンロード数
4538
スター数
4
総合順位
#2,118
全体の上位 42% · AIエージェントの上位 42%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗15045384-
SkillHub ↗18744964—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

現在のタスク記録、最近のログ、アクティブなコンテキストファイルを調べ、進行中の作業、決定事項、未解決事項をまとめると主文にあります。調査範囲は設定でき、結果はユーザー環境に既にあるメモリファイルやログに依存します。

資料公開日 2026-10-27

できること

  • 現在のタスクと決定事項を要約する
  • コンテキストファイルやログから未完了項目を見つける

使う場面

  • 会話の圧縮や中断の後に状況を把握し直すとき
  • 最近の決定や未解決の問いをすばやく確認するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

プロジェクトの記憶ファイルから現在のタスク、最近の決定、未完了項目をまとめて
最近のログで対応が必要な未解決の問いを挙げて

月次の推移

ダウンロード数4538
2939379846562026-03 · ダウンロード数 30572026-05 · ダウンロード数 37392026-06 · ダウンロード数 39182026-07 · ダウンロード数 42072026-08 · ダウンロード数 43732026-09 · ダウンロード数 453826-0326-09
スター数4
3452026-03 · スター数 42026-05 · スター数 42026-06 · スター数 42026-07 · スター数 42026-08 · スター数 42026-09 · スター数 426-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094538—4
2026-084373+3.9%4
2026-074207+7.4%4
2026-063918+4.8%4
2026-053739—4
2026-033057—4

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 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.
すべて表示(全 143 行)
## 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

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。