longhaul

longhaul is a Claude Code mod by sssamuelll that makes your Claude Code week last: compacts between tasks, steers plan steps to Sonnet, shows the pace you can afford.

Updated 2026-11-16

What is longhaul?

longhaul is a Claude Code mod by sssamuelll that makes your Claude Code week last: compacts between tasks, steers plan steps to Sonnet, shows the pace you can afford. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorsssamuelll
Repositorysssamuelll/longhaul
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (80/100)
Rank#8,542 of 9,397 Claude Code mods; #758 in Context & memory
LicenseMIT
Last commit2026-11-16
Hooks12 events
Sees? calls, compaction, every prompt, every tool call
Draws onAbovePrompt

Is longhaul safe to install?

longhaul scores 80/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 5 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
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.fs.readreads files
$.fs.statreads files
$.mcp.connect
$.prompt.fillwrites the prompt box
$.prompt.read
$.prompt.submitdrives Claude
$.session.compactdrives Claude
$.session.cwd
$.session.id
$.session.model
$.session.root
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install longhaul?

  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/sssamuelll/longhaul
    claude plugin validate ./longhaul/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add sssamuelll/longhaul && claude plugin install longhaul@longhaul

Or ask Claude to set it up

Paste this into Claude Code and it installs longhaul for you:

Install the "longhaul" Claude Code mod from https://github.com/sssamuelll/longhaul. Run claude plugin validate on it first and show me what it can access before you enable it.