auto-compact

by UtakataKyosui · ★ 0 · updated 2 days ago

Toastsvalidates

0

ターン終了時のコンテキスト使用率やプロンプトキャッシュの失効を見て自動で Compaction し、要約をテキストに保存する

install auto-compact

Install

/plugin marketplace add UtakataKyosui/utakata-cc-mod
/plugin install auto-compact@utakata-cc-mod

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
classic.SessionStartclassic.PreModelSwitchturn.startturn.completesession.compact
API calls
$.clock.after$.clock.now$.clock.sleep$.fs.exists$.fs.write$.session.compact$.session.id$.session.messages$.session.root$.session.usage$.ui.log$.ui.toast
Can see
classic hookscompaction
Reach
level 2 of 3 writes filesdrives Claudereads filesreads the transcriptdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/UtakataKyosui/utakata-cc-mod
Path in repo
plugins/auto-compact
Author
@UtakataKyosui
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from UtakataKyosui/utakata-cc-mod

goal-orchestrator

UtakataKyosui/utakata-cc-mod

/goal の内容をタスク分解・TODO化・実行順序付けし、各タスクを SubAgent に委譲させる

★ 0ToastsCommandsPrompt

stack-pr

UtakataKyosui/utakata-cc-mod

変更範囲の大きい Issue の実装を、gh stack の Stack PR に分割して自律的に進めさせる

★ 0ToastsPrompt

subagent-router

UtakataKyosui/utakata-cc-mod

SubAgent の起動時に、タスクに合う model と effort を ollama の決定モデル (tev1:4b、不調なら nimble) に判断させて振り分ける

★ 0Toasts