ModsCode / Claude Code Mods / Ranking / Context & memory
Mods for context and memory
Mods about the context window, compaction, memory, handoffs and notes.
- ★399 mods in 323 repositories, ranked by stars
- Where it runs: the terminal, the desktop app, or both
- How far its code reaches, from drawing only to the network
Grouped by the words in each mod's name and description, not by reading its code. A mod can be in several groups; one that does not say what it is for is in none.
/
Mods run with your permissions. Check first.
Filters323 shown
Runs in:
Draws in:
Uses:
Reach:
Without:
Listed in:
-
ruflo-agentdbSubstrate plugin for Ruflo memory: AgentDB controller bridge (15 agentdb_* MCP tools), RuVector ONNX embeddings (10 embeddings_* tools incl. RaBitQ 32x quantization), and WASM HNSW pattern router (3 ruvllm_hnsw_* tools). As a mod (ADR-445)…ruvnet★ 74,323
3 more in this repository
- ruflo-knowledge-graphKnowledge graph construction — entity extraction, relation mapping, and pathfinder graph traversal. As a mod (ADR-445): keeps secrets out of the graph, confirms graph deletes, /kg-mod, and a status file the console showsruvnet★ 74,323
- ruflo-rag-memoryRuVector memory with HNSW search, AgentDB, and semantic retrieval. As a mod (ADR-445): a write guard that keeps secrets out of memory, /rag-mod, and a status file the console showsruvnet★ 74,323
- ruflo-rvfRVF format for portable agent memory, session persistence, and cross-platform transfer. As a mod (ADR-445): a write guard that keeps secrets out of memory, sessions and transfers, /rvf-mod, and a status file the console showsruvnet★ 74,323
- fast-jev-compactionVerbatim Jev-guided compaction for Claude Code sessions.tamaratran★ 7,439
- obsidian-mindDelivers obsidian-mind's session context as an instruction file, so it survives compaction whole and reaches subagents, and shows the vault's Stop report as one line under the answer, handing the agent the full report with your next messag…Brenno Ferrari★ 5,157
- jev-memoryRemembers the preferences you state in prompts: Jev (via treg) judges each prompt's sentences after the turn and saves lasting ones to .claude/jev-memory.md.Shawn Esquivel★ 4,976
- caliber-jev-compactionVerbatim Jev-guided compaction for Claude Code sessions.caliber-ai-org★ 1,298
- storybloqProject memory for Claude Code and Codex. Storybloq stores tickets, issues, handovers, and lessons in a .story/ folder inside your repo.Amir Shayegh★ 765
- jev-auto-compactJev-powered verbatim compaction: once context reaches 60%, prunes stale tool calls with zero generation. Skips (never falls back to the LLM summarizer) when nothing is prunable; records evidence for learning.db.vexjoy-agent★ 441
- context-levelGives Claude a tool that reads how much of the context window remains.Tobias Hagemann★ 408
- memory-lensRecalls the few memories related to each prompt: one line for the human, one context entry for the model. Local files only, no network on the hot path.Yonatan Gross★ 292
- cortexdb-liveCortexDB inside Claude Code: haiku-planned auto-recall shown above the prompt, the brain on the status line, and durable facts captured while the session is idle. A mod: Claude Code only, needs the cortexdb plugin.Liang Li★ 275
- compact-adviserSuggests (or, opt-in, runs) /compact at a completed checkpoint, judged by TypeSafe Jev. Its hooks module activates only when CLAUDE_CODE_ENABLE_FUNCTION_HOOKS is exactly 1 and is otherwise a complete no-op.Kun Chen★ 211
- context-barYour context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. /context-bar shows or hides it.Hamza Zafar★ 184
- recallRecall Memory-as-a-Service — persistent memory, semantic search, and context management across Claude Code sessions. Connects to recallmcp.com or self-hosted instances.Jose Airosa★ 174
- token-weatherA live forecast of the context window, drawn above the prompt: a weather icon, the fill percentage, and a chart of the last turns.Claude Code DevRel★ 127
- cache-warmerKeeps an idle session's prompt cache warm with silent pings, then compacts large sessions once while the cache is still warm.samyakjain0606★ 97
- ctx-handoffHands off to a fresh conversation when context fills up, keeps the cache warm while you're away, and turns what you teach Claude into project notesCabLate★ 75
- auto-handoffHands a Claude Code session off to a fresh one before the context fills: a Haiku-written brief, /clear, and a seed that points the new session at the brief.Alex Hillman★ 58
- auto-handoffWrites a handoff document when a session has sat idle long enough that its prompt cache is about to go cold.Obie Fernandez★ 48
- compaction-triggerRequests a session compaction when the live context passes a token threshold, so verbatim compaction plugins run near the working ceiling instead of at the model window.Darkroom Engineering★ 47
- usage-statusMod that shows the remaining 5-hour session, 7-day weekly and context window usage as percentages in a row under the prompt, turning yellow when one runs low.Robert Terhaar★ 42
- jev-compact-gateJev decides when the session compacts, inside a 280k–400k token band; Claude's own summary does the compacting.Tom di Mino★ 41
-
auto-handoffWrites a cold-start handoff to handoff/ before the context fills up or compacts, and offers to resume from it in the next session.Prompt Advisers★ 40
1 more in this repository
- kindex-modernRepo-local Kindex memory and durable tasks for Claude function hooks (Claude Code mod, 2.1.287+)Wander★ 35
- spike-handoffSpike: safe-boundary handoff (bundle written at turn.complete from the runtime bus) and $.turn.abort semanticsWes Sander★ 28
- lemo-journal记录:面板显示每轮统计 · 日志和自动分类默认关闭,在「安全」页开启 / Journal: per-turn stats in the panel · Log and Auto tags are off by default, switch on in Safetylemomo★ 16
-
handoff-runnerbg session 在 worktree 做完的分支,由你在面板按一顆按鈕快轉進 main:交接單只帶參數,步驟由 mod 推導,執行前檢查、執行後驗證Hangghost★ 12
1 more in this repository
- awcompactCompacts a long tool result through the AitherOS decision door before the model reads it: per LINE SHAPE, learned from outcomes, never dropping a traceback or a summary line.Aitherium★ 11
- scribeA scribe for your memory tools: a small classifier reads each exchange and notices which memory tools it called for. Shadow mode logs; whisper mode nudges. It never writes to memory itself.Nekyia Labs★ 10
- epilogueKOZMOS Epilogue: a recap band after every turn. Duration, tool families as colored chips, files written, subagents spawned, tokens and estimated cost, the session cost delta and failed tools, with an optional AI one-liner. /epilogue opens …KOZMOS★ 9
- context-watchWarns as the context window fills, and /context-top lists the tool results that took the most contextwmayner★ 8
- recap-plusKeeps a recap-plus summary of the session above the prompt: what it is for and where it stands; /recap-plus adds what was done and decided, what waits on you, and what comes nextskanehira★ 8
- viberFrom idea to committed code: interview, reviewed plan, task-by-task build, project memory that grows with every build.Dariusz Lenartowicz★ 8
-
sage-memoryKeeps project and global memories in SQLite through a shared local daemon, hands the model the entries that match its file tool calls, prompts and subagent tasks, and saves new ones with a haiku consolidator after each main-loop turn.Kerem Gok★ 7
2 more in this repository
- session-watchShows this session's state in the sidebar: context fill, token totals, cost, model and effort, the Claude Code version, the other sessions of this machine, and the git branch and status.Kerem Gok★ 7
- flaky-memoryRemembers which tests failed on which code, and tells the model when a failing test has both passed and failed on the same code, so it runs the test again instead of changing code.Kerem Gok★ 7
- taskcutCompacts when the work moves on from one sub-task to the next instead of when the context window fills, including in the middle of a long turn. Once the context is past a floor, a model judges each step, reading what you asked for and wher…Yangze Luo★ 7
- compact-keeperSaves each compaction's summary, with the files edited before it, to ~/.claude/handoffs so the context before /compact can be recoveredMehmet Aras★ 6
- context-bandLine under the prompt input: context meter, cache expiry, single-call streak, 5h limit, session time, turns and cost, top context contributors, graphify rebuildPierre Belin★ 6
- context-keeperLive context-window panel: what fills it, checkpoints before you compact or clear, and nudges before you hit the wall.Michael Goldenberg★ 6
- elizabeth-progressElizabeth (Gintama) walks a context-window progress bar above the prompt, with the usage breakdown, turns left to auto-compact, and rate limits. Unofficial fan work.Yaxin Luo★ 6
- handoff-compactReplaces Claude Code's compaction with a structured handoff: a fork of the session writes it from the prompt cache, and the conversation continues from exactly that handoff.trytofly94★ 6
- context-alarmWarns when the context window passes a threshold (80% by default) and suggests /save-context before compactionMehmet Mutlu★ 5
- context-barDraws the context window as a stacked bar above the prompt, one color per /context category; toggled with /context-bartednaleid★ 5
- flash-veilleLe flash info du dev au-dessus du prompt : les actus fraîches de Human Coders News, du Journal du hacker, de la veille de Camille Roux, de LinuxFr et des blogs IA (Anthropic, claude.dev, Claude Code…), une à la fois.Camille Roux★ 5
- remcycleGarbage collection for Claude Code's memory: gives a session what the dream accepted, recalls from the archive, and shows what waits for your ruling.Lian Matsuo★ 5
- session-hudSession Tracker above the prompt box: context window with a /compact recommendation, 5-hour plan limit, prompt clocks and session cost.Ofek Levy★ 5
-
compact-keeperAfter a compaction, adds one message with exact facts from before it: your latest prompt in full, up to 4 earlier ones, the files edited, the todo list and the last failed shell command. At most 4,000 characters. No model calls.Vedant Andhale★ 4
2 more in this repository
- context-xrayA pane with the exact breakdown of what fills Claude's context: system prompt, tools, memory files, skills, messages, and which tools load on every request.Vedant Andhale★ 4
- turn-budgetWhen one turn uses more than +5 session points or 500,000 uncached input tokens, writes a handoff from exact session data and copies it for a new session; the old session is never cleared. No model calls.Vedant Andhale★ 4
- coordinator-handoffAuto-submits /coordinator-handoff when a dotfiles coordinator session's context reaches the configured limit, with a visible status-line heartbeatRaymond Manaloto★ 4
- idle-compactCompacts the main conversation once it has sat idle for idleMinutes, while the prompt cache is still warm, and hands every compaction of the main conversation (manual, auto, plugin, precompute) the Compact Instructions section of the user'…ukwhatn★ 4
- brain-commands/next and /handoff update the second brain instantly, without a Claude turnkelleyco2★ 3
- context-economyHandoffs that survive a context reset: every compaction becomes a verified handoff written from the live session, a /clear hands the next conversation the handoff the cleared one wrote, and a /handoff skill writes and reads them by hand.bjvle★ 3
- context-meterSee the current context window fill and remaining tokens.Yash Thakker★ 3
- context-trackerLive pane tracking the context window: colored category breakdown, a timeline of growth spikes, and per-skill growth attribution.IvGor★ 3
- tideBand above the prompt that shows the context window as a tide: a fill bar, the trend per turn, a sparkline of recent turns and how many turns are left before compaction.Tadata★ 3
- usage-meterStatus-line meter for context fill, 5-hour and weekly plan limits, and session cost, plus /usage-meter for Remote Control.Jason Walls★ 3
- cache-timerClaude Code mod that counts down the prompt cache, compacts a large conversation just before it expires, and can push a reminder to your phone.byheaven★ 2
- cache-watchShows how long the prompt cache stays warm and suggests compacting a large context at the right momentMichael Prömpler★ 2
- ccseatsLive usage meters for every ccseats seat in Claude Code, and a one-key handoff of the conversation to the seat with the most headroom, or to Codex or Grokpaddo★ 2
- context-barContext window breakdown and prompt-cache countdown above the prompt; /context-bar toggles it.Boom-Vitt★ 2
- context-handoffA bar above the prompt showing how full the chat's context is (green under 60%, amber 60-80%, red above 80%), with an H button and /handoff to save a handoff note that the next chat in the project loads automatically.Rapple AI, from Anthropic's token-weather sample★ 2
- context-meterA tiny meter in the bar under the prompt showing how full the context window is: five cells, the percent and the token counts.CJ Avilla★ 2
- context-meterShow the session's context window fill above the prompt, with a button to compact itvadirn★ 2
- fuel-barTwo-line footer under the prompt: turn, model, effort, context gauge to auto-compact, 5h/7D quota; then project, weather, time worked and the latest mod toastMankhongGarden★ 2
- game-answer-memoryWhen Claude asks a question it asked before in this project, the option you chose last time is marked ★ 지난번 선택Reason of Moon★ 2
- handoff-modHand off unfinished work before a session loses it, and pick it up again at the next start.Tom★ 2
- lossless-compactLossless compaction for Claude Code: nothing is summarized; everything removed is archived verbatim with provenance and restorable by id (Jev or a local ruleset). /lossless to inspect and restore.MusicStudioNYC★ 2
- mem-guardBash memory rules: Node commands run in claude-cmd.slice, and runs that would starve the machine are refusedStephan Schreiber★ 2
- micro-compactionAdds `/compact micro`: elides Read results and strips thinking, keeping the conversation structureRui He★ 2
- pre-build-checkBefore Claude builds anything, it re-reads your own CLAUDE.md rules and keeps a reference's structure without copying its lookCharlie Hills★ 2
- RunwayYour Claude Code 5-hour and weekly limits and the chat’s context window as live meters above the promptHeuwzen★ 2
- sc-workspaceA workspace pane for Claude Code: agents and worktrees, checkpoints, notes, changes and memory files in one tabbed paneSimpleCORE★ 2
- ultracompressDeterministic local compaction for Claude Code: replaces the stock compaction summarizer with the local UltraCompress binary (no model call, no API cost per compaction) and serves a recall tool over the raw session transcript.Michael Berardi★ 2
- workfaceKeeps a long-running agent's working notes through every compaction: briefs the summarizer, re-attaches the notes after the summary, and shows them in a panel you can steer.Scott Hodge★ 2
- yt-briefingThe /yt briefing loop in the chat: summary, rating dialog, research hand-off.Michal Ryzio★ 2
-
band-packThe first six Baselane band meters in one row above the prompt: session cost, lattes, context bar, today's spend, the focus timer and the mood ring.Baselane★ 1
6 more in this repository
- context-meterA band above the prompt with a 10 cell bar of the context window used, yellow from 60 percent, red from 80.Baselane★ 1
- context-paneA live side pane of how full the context window is: the percent as a bar, the tokens used, and a short tip past 75 percent. Open it with /context-pane.Baselane★ 1
- ctx-nudgeReminds you to /clear or /compact when the context window passes 75 percent.Baselane★ 1
- handoffAdds /handoff: writes a session summary with the git status to .claude/handoff.md (never overwriting) and answers with the path. Copies the result to your clipboard.Baselane★ 1
- session-journalAppends one line per session end (time, directory, reason) to ~/.claude/journal.log.Baselane★ 1
- terse-modeShort answers: no preamble, no recap.Baselane★ 1
- better-compactSteers every compaction, including automatic ones, with a brief that keeps goal, next step, files, decisions and state. Once context runs high, a button above the prompt runs /compact, so you compact before a long context eats into your us…Koen van der Heide★ 1
-
boss-widgetA boss fight against the context window: its health drops as context fills, and compaction defeats it.oMaN-Rod★ 1
5 more in this repository
- context-widgetThe context window as a stacked bar, one colour per /context category, with six view modes.oMaN-Rod★ 1
- forecast-widgetContext growth per turn as a chart, with a prediction of how many turns are left before compaction.oMaN-Rod★ 1
- notebook-widgetGives Claude a jot tool for writing down what its future self should know about this project, and reads the notes back next sessionoMaN-Rod★ 1
- sieve-widgetA compaction that keeps every word you and Claude said and folds only the old tool traffic, with no summary and no tokens spentoMaN-Rod★ 1
- weather-widgetContext usage drawn as weather, from clear skies to a storm near compaction.oMaN-Rod★ 1
- cache-keeperPrompt-cache countdown, cost to re-warm, usage limits, cold-cache warnings and one-click handoff → clear & continue.etding★ 1
- change-journalA live HTML page that shows every change Claude makes, with diffs, the reason for each edit, checks, and before/after behavior flows.Atchyut★ 1
- clmReplaces compaction for the main conversation: older turns are folded into a ledger (goal, user instructions, done, to do, open questions, key facts) and the transcript is rewritten to the first request, the ledger and the newest turns tha…RanolP★ 1
- compact-jev/compact-jev: Jev-guided verbatim compaction for Claude Code, called through Vercel AI Gateway. Never replaces /compact or auto-compaction.edoproch★ 1
-
compact-keeperCompaction without amnesia: archives the full transcript before each compaction and tells the summarizer to keep paths, decisions, preferences, TODOs and working commands.mako-code★ 1
7 more in this repository
- context-forecastForecasts how many turns remain until auto-compaction from smoothed per-turn context growth (tool output vs conversation), and at natural breaks offers Compact now with a focus Haiku drafts.mako-code★ 1
- context-gaugeContext-window gauge: a fill bar in the readout, toasts as it fills, a /ctx breakdown pane with Compact now, and optional auto-compaction between turns.mako-code★ 1
- handoff/handoff writes a structured handoff (goal, state, decisions, files, next steps, gotchas, how to verify) to .claude/handoffs/; /handoff load hands it to a later session.mako-code★ 1
- idle-compactCompacts the conversation while you are away, a few idle minutes in and before the prompt cache goes cold, instead of in the middle of your work.mako-code★ 1
- jev-conventionsInstant repo-convention checks on every edit: CLAUDE.md, AGENTS.md, style guides and config facts compiled into atomic rules, each edit judged against all of them by Jev in a few hundred ms.mako-code★ 1
- journalProject memory across sessions: every few turns haiku writes what was done, decided and left open to .claude/journal.md, and new conversations start with the latest entries.mako-code★ 1
- recallSearch this project's past sessions: /recall for you (attach an old exchange to your next prompt), a tool for Claude to look up earlier decisions.mako-code★ 1
- compact-methodsoh-my-pi compaction methods: shake (move old tool output to files, no model call) and handoff (continue from a handoff document). Use `/compact shake` or `/compact handoff [focus]`.kzarzycki★ 1
- context-barStacked bar of the context window above or below the prompt, coloured by /context category, with rate limits, room before compaction and session length; /context-bar details for a full token breakdownAkash Bhatnagar★ 1
- context-barColored context-window fill bar in the prompt footerAmnesiac9★ 1
- context-barContext window bar and a live prompt-cache countdown under the promptKyle Wolfe★ 1
- context-barContext window as a stacked bar above the prompt, colored by /context category; toggle with /context-barMattLewin★ 1
- context-cacheBottom-grid row: context fill and prompt cache (hit rate, countdown from the TTL the API reports). Toasts when context is full or the cache expired.Lunik★ 1
- context-gaugeContext window fill as one line above the prompt, with the last turns as a sparkline and a warning colour near the limit. No model callstimoncool★ 1
-
context-gaugeA band above the prompt showing how full the context window is, shading green → orange → red, with a nudge to /compact as it nears the limit.Troy Lorents★ 1
2 more in this repository
- session-graphA knowledge graph across your Claude Code sessions. Each session records its topics and files; when another session covers the same ground you get an alert, and /graph can pull its findings into the one you are in.Troy Lorents★ 1
- turn-recapAdds a one-line TL;DR beneath long answers, written by a quick Haiku 5.5 call.Troy Lorents★ 1
- context-handoffShows context/rate-limit usage in the status line and checkpoints work for the next session when a limit gets closeWanyaldee★ 1
- context-meterA band above the prompt with what fills the context window, by category, a countdown to when the prompt cache expires, and a Compact button. Starts off: /context-meter on turns it onChien Vu Minh★ 1
- decision-compactionHands back the conversation itself in place of a compaction summary, less the tool calls and results a System One decision model judges no longer needed. The model can be TypeSafe Jev, Cloudflare Clef, Codiv OpenJev, Perplexity pplx-decide…Koichi Shiraishi★ 1
- foremanLive view of a foreman program: lanes, agents, stalls, what needs you, and memoryStella Inwood★ 1
- handoff-pickupReminds you of a handoff you left behind, picks it up with /pickup, and deletes it when you're doneDamian★ 1
- idle-compactCompacts an idle interactive session shortly before its prompt cache expires, so coming back later doesn't re-read the whole context uncached.David Roberts★ 1
- idle-compactorCompacts an idle Claude Code session shortly before its 1-hour prompt cache expires, so coming back later re-sends a short summary instead of the whole conversation uncached.intenex★ 1
- idle-handoffWarns when the session sits idle before the prompt cache expires, saves a handoff summary (on idle, /exit or /clear), and offers it to the next session in the same projectCrAzyScreamx★ 1
- jev-contextJev-scored context pruning for Claude Code through OpenRouter: at compaction every tool call and result is scored by TypeSafe's Jev decision model, stale ones are dropped or truncated, everything kept stays verbatim. An optional gate trunc…Jay W★ 1
- live-recapA card above the prompt that says what Claude is working on, refreshed every few minutes while a turn runsBenjamin Modayil★ 1
- lumberroom-memorylumberroom as Claude Code's memory: the digest in the system prompt, a periodic search-and-write reminder, optional per-prompt recall, built-in memory off.the-cybersapien★ 1
- rp/rp attaches a ReadyRig project to the session: its AGENTS.md, CLAUDE.md and skills, until /rp detachjo32★ 1
- scratchpad-open現セッションの scratchpad を Finder で開くボタンと /scratchpad コマンドvoid2610★ 1
- segmemSegmented, scoped memory for agents: one file, SQLite, no daemon. Wake at session start, recall on every prompt, staleness nag at stop.Mark Huebel★ 1
- smart-compactCompacts at the right moment: after a commit or green tests, a minute before the prompt cache expires, or when Claude asks for it with its own request_compact tool.hellosverre★ 1
- smart-compact/smart-compact: write custom /compact instructions from the session, then compact with themryanportfolio★ 1
- status-deckA status deck above the prompt: plan limits, context window, git branch, prompt cache and more, in six styles, each part switchable. Options: /status-deck-optionswellbrained★ 1
- token-watchPlan usage (5-hour, weekly and any model window) and the context window as thin bars above the prompt. Right-click to collapse to one line; /context-bar to hide, or to read it as text where nothing draws.Kadir Mert Okumus★ 1
- token-weatherA live forecast of the context window, drawn above the prompt.BrightGold70★ 1
- token-weatherA live forecast of the context window and the 5-hour and weekly quota, drawn above the prompt.zhuzhongtao★ 1
- usage-bandContext window and subscription-limit usage (5-hour, weekly) above the promptChappo29★ 1
- usage-bellRings when the session nears a limit: context fill, rate-limit windows, the auto-memory indexKTCrisis★ 1
- usage-limitsKeeps the 5-hour and weekly limit windows, their burn rate, a run-out projection, context fill, session cost and prompt-cache drops in a dim line above the promptAbhiram Dwivedi★ 1
- usage-meterShows plan rate-limit usage, session cost, context fill and a per-task token estimate above the promptRain Guo★ 1
- windvaneBabysits a long Claude Code session so you don't have to: the context fill is watched, the recorder drafts the checkpoint, compaction happens at the right point with the state banked and the work is resumed, the rules and the checkpoint ri…windvane★ 1
- a4s-context-expertJev-guided deterministic compaction for Claude Code with the shared adaptive trigger policy and keep/truncate/drop transcript selection.pablontiv★ 0
- agent-boardWrites each session's subagents, activity, context fill and subscription usage to ~/.claude/agent-board for the Agent Board VS Code extension, and draws a subagent pane in the terminal (/agent-board)JeremyHo1123★ 0
- agent-flowHolds each subagent's deliverable on disk across spawn, write, compaction, stop and TaskStop; agent model + context line under the prompteturkes★ 0
- agent-stateShows the state of Claude (working, permission, input, idle, background, compacting) in the iTerm2 tab subtitle.M-i-k-e-l★ 0
- ak-cockpitAgentKit cockpit above the prompt: context fill with a handoff nudge, and the active plan's phase and checklist.Thieu Nguyen★ 0
-
auto-compactターン終了時のコンテキスト使用率・ターン数、またはプロンプトキャッシュの失効を見て自動で Compaction し、要約をテキストに保存する。終了前の Issue 化・ドキュメント化を Agent に義務づけ、会話には何をやったか・何ができたか・次に何をやるかだけを残すUtakataKyosui★ 0
1 more in this repository
- auto-handoffWrites a /next handoff automatically once a 1M-token session crosses 300k tokens, so the next session can /prime from itm2ai-portfolio★ 0