Home / Claude Code mods / Context & memory / fast-laya-compaction

fast-laya-compaction

fast-laya-compaction is a Claude Code mod by kartikeyaagr that verbatim Laya-guided compaction for Claude Code sessions (local, no API key).

Updated 2026-09-27

What is fast-laya-compaction?

fast-laya-compaction is a Claude Code mod by kartikeyaagr that verbatim Laya-guided compaction for Claude Code sessions (local, no API key). It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorkartikeyaagr
Repositorykartikeyaagr/fast-laya-compaction
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (88/100)
Rank#3,673 of 5,272 Claude Code mods; #344 in Context & memory
LicenseMIT
Last commit2026-09-27
Hooks2 events
Seescompaction
Draws onnothing

Is fast-laya-compaction safe to install?

fast-laya-compaction scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. 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 processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.process.runruns processes
$.session.compactdrives Claude
$.session.usage
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install fast-laya-compaction?

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

Or ask Claude to set it up

Paste this into Claude Code and it installs fast-laya-compaction for you:

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