claudemods

All Claude Code modsadithepmeekhun/self-clear

self-clear

A Claude Code mod in adithepmeekhun/self-clear

For long, unattended agent runs: when the conversation reaches a size you set, Claude writes a progress note, the mod checks it and clears the conversation, and (with auto-resume on) Claude carries on, so each step costs less. Off until a project turns it on.

self-clear reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.312.

Install hint

/plugin install self-clear --marketplace adithepmeekhun/self-clear

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, reads files, draws

Validation

Passed on Claude Code 2.1.312

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks, subagent spawns, every prompt
Hooks
session.start, classic.Stop, agent.spawn, prompt.submit, turn.complete, command.run {command=self-clear}
API calls
$.agent.list, $.clock.after, $.clock.now, $.command.register, $.command.run, $.fs.exists, $.fs.list, $.fs.read, $.fs.stat, $.prompt.submit, $.session.id, $.session.root, $.session.usage, $.ui.log, $.ui.status, $.ui.toast
Validation on 2.1.312
Passed
Scanned revision
e5c6888d7e3b
Marketplace passed
self-clear

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for self-clear Validation badge for self-clear

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/adithepmeekhun--self-clear--self-clear-reach.svg)](https://mods.aidojo.si/mods/adithepmeekhun--self-clear--self-clear/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/adithepmeekhun--self-clear--self-clear-validates.svg)](https://mods.aidojo.si/mods/adithepmeekhun--self-clear--self-clear/)