/line-memory
Retain and retrieve small durable project facts through a bounded, recency-ordered plain-text memory
$ npx -y skills add jmagly/aiwg --skill line-memory --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/line-memory
Context preview
The summary Claude sees to decide when to auto-load this skill.
Retain and retrieve small durable project facts through a bounded, recency-ordered plain-text memory
SKILL.md
line-memory.SKILL.mdnamespace: aiwg
name: line-memory
platforms: [all]
description: Retain and retrieve small durable project facts through a bounded, recency-ordered plain-text memory
requires:
- addon: line-memory deployed with `aiwg use line-memory`
ensures:
- bounded-retrieval: memory queries return only the requested slice
- recency-retention: referenced memories move to the newest position
invariants:
- never store secrets, credentials, tokens, or sensitive personal data
- never inject the complete memory file into provider startup context
- use line-memory CLI commands instead of directly reading the complete backing file
commandHint:
argumentHint: add|list|search|touch|prune|config
allowedTools: Bash
category: memory
orchestration: false
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`.
Read more
namespace: aiwg name: line-memory platforms: [all] description: Retain and retrieve small durable project facts through a bounded, recency-ordered plain-text memory requires: - addon: line-memory deployed with `aiwg use line-memory` ensures: - bounded-retrieval: memory queries return only the requested slice - recency-retention: referenced memories move to the newest position invariants: - never store secrets, credentials, tokens, or sensitive personal data - never inject the complete memory file into provider startup context - use line-memory CLI commands instead of directly reading the complete backing file commandHint: argumentHint: add|list|search|touch|prune|config allowedTools: Bash category: memory orchestration: false
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`.
Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.
Repo: jmagly/aiwg
Other skills on aiwg.
- /agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Open skill - /agent-loop
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Open skill - /auto-test-execution
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Open skill - /cross-task-learner
Enable agent loops to learn from similar past tasks and share patterns across loops
Open skill - /debug-memory
Query and manage the executable feedback debug memory
Open skill - /execute-feedback
Execute tests on generated code and iterate until passing
Open skill

