Agent skill
memorylane
Persistent memory and context compression for Claude Code. Use when setting up or operating MemoryLane in a project, recalling or storing memories, reviewing insights, curating low-quality memories, or checking cost/token savings and automatic context injection.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/memorylane
SKILL.md
MemoryLane
Setup
Run bash install.sh from the repo root to initialize .memorylane/ and make the CLI executable.
Ensure .claude/settings.json points at .claude/hooks/*.py so automatic context injection and learning run.
Verify the install with:
python3 src/cli.py status
Core commands
Check status and savings:
python3 src/cli.py status
Recall memories:
python3 src/cli.py recall "<query>"
View insights and costs:
python3 src/cli.py insights
python3 src/cli.py costs
Learn from history:
python3 src/learner.py initial
Memory management
List and curate memories:
python3 src/cli.py curate --list
python3 src/cli.py curate --apply '<JSON>'
Manage an individual memory:
python3 src/cli.py memory get <id>
python3 src/cli.py memory update <id> --content "New content"
python3 src/cli.py memory delete <id>
Server
Start or stop the sidecar:
python3 src/server.py start
python3 src/server.py status
python3 src/server.py stop
Notes
Do not edit .memorylane/memories.json directly; use the CLI.
Context rot guard: injected context is capped to a safe fraction of the model window via context_rot.* config keys.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?