Home / Claude Code mods / Cost & usage / session-archive

session-archive

session-archive is a Claude Code mod by Akash001uts that keeps a copy of every Claude Code session before the 30-day cleanup, titles each one, searches them by meaning and shows your usage stats in a pane.

Updated 2026-11-19

What is session-archive?

session-archive is a Claude Code mod by Akash001uts that keeps a copy of every Claude Code session before the 30-day cleanup, titles each one, searches them by meaning and shows your usage stats in a pane. It is listed under Cost & usage and has 2 GitHub stars.

TypeClaude code mod
AuthorAkash001uts
RepositoryAkash001uts/claude-mods
Popularity2 GitHub stars
CategoryCost & usage
SecurityReview before installing (60/100)
Rank#2,216 of 9,397 Claude Code mods; #364 in Cost & usage
LicenseMIT
Last commit2026-11-19
Stars this week+1
Hooks7 events
Seesclassic hooks
Draws onPane

Is session-archive safe to install?

session-archive scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 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 processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
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.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.model.completedrives Claude
$.process.runruns processes
$.session.messagesreads the transcript
$.session.root
$.settings.readreads settings
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install session-archive?

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

Or ask Claude to set it up

Paste this into Claude Code and it installs session-archive for you:

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

More from Akash001uts/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • application-assistant: Job and internship applications: a daily role scan, eligibility checks against your own profile, application packs, form (Low risk)
  • assessment-marker: Marks your uni assessments against the real rubric with High Distinction as the bar: a strict nine-section review, re-ma (Low risk)
  • auto-handoff: Hands a long session off cleanly: at a context threshold Claude updates the docs and writes a handoff, the session compa (Low risk)
  • context-bar: Stacked bar of the context window above or below the prompt, coloured by /context category, with rate limits, room befor (Low risk)
  • course-correct: Adds a note for Claude when it goes round in circles on the same error, says it's done without checking, or slips into w (Low risk)
  • needs-you: Messages you on Slack when Claude has been waiting on you for a while (a finished turn, a permission prompt, a question) (Review before installing)
  • pinned-notes: Pin notes to a session: /pin keeps them on show above the prompt and in Claude's system prompt, so they hold through com (Review before installing)
  • tool-guards: Stops Claude editing files through the shell (so /rewind works), keeps its attribution out of your commits and PRs, and (Low risk)