line-memory
FreeNo executable scriptsNot checkedRetain and retrieve small durable project facts through a bounded, recency-ordered plain-text memory
by jmagly★ 233 GitHub starsAbout this skill
Line Memory
Use line memory for a small set of durable project facts that benefit from least-recently-used retention but do not need wiki pages, semantic search, citations, or a knowledge graph.
Retrieval
Always retrieve a bounded slice:
aiwg line-memory search "canonical tracker" --limit 5
aiwg line-memory list --limit 20
list and search refresh the returned entries by moving them to the newest
position. Pass --no-touch only for inspection that must not change recency.
Never read the complete backing file into startup context.
Mutation
aiwg line-memory add "Project uses Gitea as the canonical tracker."
aiwg line-memory touch "Project uses Gitea as the canonical tracker."
aiwg line-memory prune
aiwg line-memory list --limit 20 --json
aiwg line-memory import "Reviewed fact" --source-ref wiki:path --reviewer operator --confirm
Store one concise, non-sensitive fact per entry. Do not store secrets, credentials, access tokens, private keys, or sensitive personal data.
Use stable handles from --json for governed archive/remove/supersede
operations. These mutations require --confirm; reviewed imports additionally
require --source-ref and --reviewer so provenance is not lost.
Configuration
aiwg line-memory config get maxLines
aiwg line-memory config set maxLines 100
The default memory file is .aiwg/memory/line-memory.txt; configuration is
stored in .aiwg/memory/line-memory.config.json.
Install line-memory in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the line-memory skill do?
Retain and retrieve small durable project facts through a bounded, recency-ordered plain-text memory
How do I install the line-memory skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the line-memory skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic