Lewati ke konten
TakoAPI
Kembali ke skill

context-anchor

oleh boscoeuk

Notes & PKM
2.4kUnduhan dilaporkan oleh clawskills.sh
4Bintang
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Recover from context compaction by scanning memory files.

Deskripsi

Apa yang Dilakukan Skill Ini

A bash script that scans local memory and context files to produce a structured briefing about where work left off. Designed for use after context compaction or at session start when working memory is gone.

Because it reads files that survive compaction rather than relying on in-context memory, orientation is consistent regardless of how much context was lost.

Kapan Menggunakannya

  • Resuming an agent session after context compaction
  • Orienting a fresh agent on an in-progress project
  • Reviewing decisions made across recent daily logs
  • Handing off current state to another agent
  • Checking open loops before starting new work

Contoh Alur Kerja

INPUT

User asks: 'What was I working on before the session reset?'

AGENT
  1. 1

    Run ./scripts/anchor.sh for a full briefing

  2. 2

    Read memory/current-task.md for task status, blockers, and next steps

  3. 3

    Scan recent daily log files (last 2 days by default) for decisions and completed items

  4. 4

    Check context/active/ for any in-progress task files

  5. 5

    Surface open loops marked with TODO, Blocker, or question marks

OUTPUT

A structured briefing showing current task, active context files, recent decisions, and unresolved open loops

Instalasi

clawhub install boscoeuk/context-anchor

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan