Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

buffer-session

bởi waynevaughan

Coding Agents & IDEs
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Session management for OpenClaw agents.

Mô tả

Kỹ năng này làm gì

Manages context continuity across OpenClaw agent sessions. Defines a start, monitor, and wrap cycle: recover context from structured files at session start, track context window usage against defined thresholds during the session, and write a compact handoff file when closing. On first run, extracts and installs a companion buffer-optimizer skill for workspace auditing and setup.

Threshold-based alerts and a structured HANDOFF.md format prevent context loss without requiring manual note-taking between sessions.

Khi nào nên dùng

  • Recovering project context at the start of a new agent session
  • Getting warned before context window usage degrades task quality
  • Handing off an in-progress task cleanly between sessions
  • Reducing redundant file reads to lower prompt cache costs
  • Auditing workspace boot payload and AGENTS.md structure

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Continue where we left off on the API refactor'

AGENT
  1. 1

    Read HANDOFF.md to identify stopping point and next steps

  2. 2

    Read MEMORY.md to load current priorities and project state

  3. 3

    Resume work from the documented next step without reading unrelated files

  4. 4

    Run session_status to check context window usage and apply intake rules

  5. 5

    At wrap, overwrite HANDOFF.md with current state and confirm saved items to owner

ĐẦU RA

Session resumed with full context, progress persisted to HANDOFF.md for the next session

Cài đặt

clawhub install waynevaughan/buffer-session

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết