Lamarck — Development skill for Claude Code
Analyze Claude Code sessions and extract high-signal learnings into MEMORY.md files.
How to install Lamarck
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open johnlindquist/lamarck and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Lamarck does
Analyze Claude Code sessions and extract high-signal learnings into MEMORY.md files.
Alternatives in Development
- Resume Work From A Handoff Document — You are tasked with resuming work from a handoff document through an interactive process 10k ★
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
- Funes — Durable, searchable memory of your past agent sessions 349 ★
README
lamarck
Automatically learns from your Claude Code conversation history and writes what it discovers into `MEMORY.md` files that get loaded into future sessions. Run it once, on a cron, or as a post-conversation hook — it tracks what it's already processed so it never re-scans the same sessions.
Why "Lamarck"?
Jean-Baptiste Lamarck proposed that organisms pass on traits acquired during their lifetime to the next generation. A blacksmith's children inherit strong arms. That's exactly what this tool does — traits Claude acquires during a coding session (patterns, pitfalls, preferences) get inherited by future sessions through MEMORY.md. Darwinian evolution says only random mutations survive; Lamarckian evolution says experience matters. Your Claude gets smarter because of what it lived through.
How it works
Claude Code sessions (.jsonl)
│
▼
┌─────────────────────┐
│ Incremental scan │ Reads only new lines from ~/.claude/history.jsonl
│ (byte-offset cursor)│ using inode + offset tracking
└──────────┬──────────┘
▼
┌─────────────────────┐
│ Per-project queue │ Discovered sessions queued for processing
│ with retry tracking │ Failed sessions retry on next run
└──────────┬──────────┘
▼
┌─────────────────────┐
│ LLM reflection │ Claude extracts diary entries from transcripts:
│ (diary + deltas) │ accomplishments, decisions, preferences, pitfalls
└──────────┬──────────┘
▼
┌─────────────────────┐
│ Quality gates │ Similarity dedup, content filtering,
│ │ category quotas, minimum scores
└──────────┬──────────┘
▼
┌─────────────────────┐
│ Playbook curation │ Add, merge, deprecate, promote/demote bullets
│ │ with conflict detection
└──────────┬──────────┘
▼
┌─────────────────────┐
│ MEMORY.md export │ Writes to each project's mem
Related Skills
Clone Study
A Claude Code skill that studies and recreates high-end websites (Awwwards-tier) from a URL — capture, analyze
Extract High Speed
CRITICAL REQUIREMENT: You MUST analyze the actual PDF document provided. DO NOT hallucinate, guess, or use pri
Diagnose Negatives
Analyze negative-signal sessions for a skill, identify failure patterns, propose and apply fixes
Istari Skill Builder
Analyze work patterns from learnings, plans, and memory to suggest new Claude skills
Memory Flush
You are a memory extraction assistant for Omux. Your job is to analyze a conversation between the MainAgent an
Extract Events
You are a learning-signal extractor. Below is a digest of a coding/sysadmin session
Related Agents
Chronicler
You are a specialized session analyst. Your job is to analyze past sessions, extract learnings, and find relev
Curate Chatlog
Curate the m3-chatlog store — clean, dedupe, decay ephemeral turns, prune abandoned conversations, promote hig
Rules Indexer
Scan all .md files in a project and extract rules, decisions, constraints, learnings, and conventions into a c