clear-then

clear-then is a Claude Code mod by Orbitmap that clears the session when the current turn ends, then submits a prompt you or Claude gave.

Updated 2026-10-17

What is clear-then?

clear-then is a Claude Code mod by Orbitmap that clears the session when the current turn ends, then submits a prompt you or Claude gave. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
AuthorOrbitmap
RepositoryOrbitmap/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (96/100)
Rank#7,731 of 9,397 Claude Code mods; #3,260 in Interface
LicenseMIT
Last commit2026-10-17
Hooks4 events
Seesmcp__clear-then__schedule calls
Draws onnothing

Is clear-then safe to install?

clear-then scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.command.register
$.command.rundrives Claude
$.prompt.submitdrives Claude
$.tool.registerdrives Claude
$.ui.statusdraws interface

How do I install clear-then?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Orbitmap/claude-mods
    claude plugin validate ./claude-mods/mods/clear-then
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Orbitmap/claude-mods && claude plugin install clear-then@orbitmap-claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs clear-then for you:

Install the "clear-then" Claude Code mod from https://github.com/Orbitmap/claude-mods/tree/main/mods/clear-then. Run claude plugin validate on it first and show me what it can access before you enable it.