fork-lineage

fork-lineage is a Claude Code mod by mutlumehmet that remembers which session a fork came from (renames never break it), shows it above the prompt, and sends a fork's report to its parent only when you approve it.

Updated 2026-10-16

What is fork-lineage?

fork-lineage is a Claude Code mod by mutlumehmet that remembers which session a fork came from (renames never break it), shows it above the prompt, and sends a fork's report to its parent only when you approve it. It is listed under Context & memory and has 5 GitHub stars.

TypeClaude code mod
Authormutlumehmet
Repositorymutlumehmet/claude-plugins
Popularity5 GitHub stars
CategoryContext & memory
SecurityReview before installing (60/100)
Rank#706 of 5,272 Claude Code mods; #82 in Context & memory
LicenseMIT
Last commit2026-10-16
Hooks5 events
Seesevery prompt
Draws onAbovePrompt

Is fork-lineage safe to install?

fork-lineage scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. 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 no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
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
$.model.forkdrives Claude
$.process.runruns processes
$.session.append
$.session.cwd
$.session.id
$.session.send
$.session.usage
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install fork-lineage?

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

Or ask Claude to set it up

Paste this into Claude Code and it installs fork-lineage for you:

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

More from mutlumehmet/claude-plugins

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

  • answer-buttons: Three small buttons under Claude's last answer: Plain English, Shorter, and Plain & short (Low risk)
  • arcade: The Claude Code Arcade: pixel games above the prompt, played by your work (an invading octopus, a duck hunt, Bug Command (Review before installing)
  • context-alarm: Warns when the context window passes a threshold (80% by default) and suggests /save-context before compaction (Low risk)
  • dash-guard: Refuses prose that Claude writes with an em dash, an en dash or a double hyphen, and tells Claude which lines to rewrite (Low risk)
  • findmutlu-sounds: Sound packs for the moments that need you: a prompt sent, a permission prompt, a long job done, a subagent back, a faile (High risk)
  • shared-file-guard: Refuses a shell write to a shared file (STATUS.md, CLAUDE.md, MEMORY.md, or the files you name) that this session has no (Low risk)
  • skill-stats: Counts how often each skill runs, lists the ones that never trigger, and hands a weak description to skill-creator (Review before installing)
  • subtask-icons: A single ⑂ Subtask button under Claude's last answer opens a picker of its items; picking one puts /subtask in the promp (Low risk)