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.
| Type | Claude code mod |
|---|---|
| Author | mutlumehmet |
| Repository | mutlumehmet/claude-plugins |
| Popularity | 5 GitHub stars |
| Category | Context & memory |
| Security | Review before installing (60/100) |
| Rank | #706 of 5,272 Claude Code mods; #82 in Context & memory |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 5 events |
| Sees | every prompt |
| Draws on | AbovePrompt |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.session.append | |
$.session.cwd | |
$.session.id | |
$.session.send | |
$.session.usage | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.ask | draws interface |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install fork-lineage?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)