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

context-clean-up

bởi phenomenoner

Coding Agents & IDEs
1.7kLượt tải do clawskills.sh công bố
5Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Use when: you suspect OpenClaw prompt context is bloating (slow replies, high cost, repeated transcript noise)

Mô tả

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

Audits prompt context to identify what is consuming the most space, then produces a ranked list of offenders and a reversible fix plan. No changes are applied automatically. Designed for situations where slow replies, rising costs, or noisy transcripts suggest context has grown too large.

Gives a prioritized, rollback-ready fix plan based on measured context metrics rather than guesswork.

Khi nào nên dùng

  • Diagnosing slow AI replies caused by context bloat
  • Finding oversized tool output clogging session transcripts
  • Identifying cron automation noise accumulating across sessions
  • Spotting bloated bootstrap files like AGENTS.md or SKILL.md
  • Getting a safe trim plan before modifying any config files

Quy trình ví dụ

ĐẦU VÀO

User asks: /context-clean-up

AGENT
  1. 1

    Determine workspace directory and OpenClaw state directory

  2. 2

    Run the audit script to collect context size metrics across sessions

  3. 3

    Rank offenders by category: tool output dumps, automation noise, bootstrap bloat, ambient skill surface

  4. 4

    Generate a phased fix plan with expected impact and rollback steps for each change

ĐẦU RA

Audit report listing top context offenders, lowest-risk fixes ordered by phase, and verification steps to confirm improvement after changes

Cài đặt

clawhub install phenomenoner/context-clean-up

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