Claude Code mod

segmem

Segmented, scoped memory for agents: one file, SQLite, no daemon. Wake at session start, recall on every prompt, staleness nag at stop.

1 starsMemory & instructions mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add mahuebel/segmem
/plugin install segmem@segmem

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L2Writes or runs: runs processes, drives Claude, draws
Sees
the system prompt, every prompt, subagent spawns, Bash calls, mcp__segmem__recall calls
Hooks
prompt.contextprompt.submitagent.spawntool.callsession.start

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
.
Marketplace
segmem
Author
Mark Huebel
Last updated
30 September 2026

FAQ

What is segmem?

Segmented, scoped memory for agents: one file, SQLite, no daemon. Wake at session start, recall on every prompt, staleness nag at stop. It is a mod for Claude Code, from mahuebel/segmem on GitHub.

What can the segmem mod access?

Its widest reach is "writes or runs" (runs processes, drives Claude, draws). It sees the system prompt, every prompt, subagent spawns, Bash calls, mcp__segmem__recall calls. Like any mod, it runs with your permissions.

How do I install segmem?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add mahuebel/segmem and then /plugin install segmem@segmem.

Is segmem popular?

mahuebel/segmem has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 30 September 2026.

More memory & instructions mods

neo4j-memory

1

troglodyte/claude-sqlite-mem

Persistent memory for Claude Code in a local SQLite file (node:sqlite; no server, no container). Injects standing facts and a subsystem map at session start, captures new facts at compaction and session end, and exposes search tools. A machine's Neo4j graph moves across by itself on first start.

Memory & instructions mods

session-handoff

1

m-tababi/session-handoff

Writes a structured session handoff on demand to ~/.claude/handoffs/<project>/ (never into the project), resumes from the newest one, restarts into a fresh conversation with the handoff (pill or /handoff fresh) and hints once when the context fills up.

Memory & instructions mods/plugin install

model-hint

1

hashswingingslasher/model-hint

Suggests haiku, sonnet or opus for the task you are typing, live, in a band above the prompt. Instant word rules, then a small model reads the draft when you pause.

Memory & instructions mods/plugin install

snagon-dev-mods

1

phantanphatdgteam-gif/snagon-dev-mods

A coding-agent harness for Claude Code as a mod that needs only Claude Code: /snagon-setup writes your project instructions without repeating the harness, a per-project memory (SQLite full-text search over JSONL, kept out of git), a fact-forcing safety gate with git hook-bypass and secret checks, session journal reminders, end-of-session handoff, cost and context notices, a flow that takes TypeScript and Python features from plan to release under the owner's approvals (tickets, tests first, a sandboxed judge, review, verify, ship), plus 64 skills, 66 agents and 43 commands.

Memory & instructions mods/plugin install

lumberroom-memory

1

lumberroom/lumberroom-claude-code

lumberroom 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.

Memory & instructions mods/plugin install

style-cop

1

MDmubarak786/claude-mods

Enforce the style rules Claude keeps ignoring: banned words and phrases, a comment-density cap on added code, and files that must not gain comments. Rules live in .claude/style-cop.md and are both shown to Claude and enforced on edits.

Memory & instructions mods/plugin install

Browse the most popular Claude Code mods, all memory & instructions mods, or the skills and MCP server directories.