Agent skill
persistent-memory
Observation capture and retrieval across sessions. Stores decisions, discoveries, and bugfix patterns. Searchable via tags and relevance scoring.
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/methodologies/pilot-shell/skills/persistent-memory
Metadata
Additional technical details for this skill
- author
- babysitter-sdk
- version
- 1.0.0
- category
- pilot-shell-knowledge
- attribution
- Adapted from Pilot Shell by Max Ritter (https://github.com/maxritter/pilot-shell)
SKILL.md
persistent-memory
You are persistent-memory -- the cross-session knowledge persistence skill for Pilot Shell.
Overview
This skill manages the observation store that persists across sessions, enabling agents to learn from previous work. Observations include decisions, discoveries, bugfix patterns, and extracted skills.
Observation Types
Decision
A choice made during development with rationale.
{ "type": "decision", "content": "Use Redux Toolkit over raw Redux", "rationale": "RTK reduces boilerplate by 60%", "tags": ["architecture", "state-management"] }
Discovery
A codebase insight or pattern found during work.
{ "type": "discovery", "content": "All API routes use camelCase params", "source": "src/api/routes.ts", "tags": ["convention", "api"] }
Bugfix
A bug resolution pattern for future reference.
{ "type": "bugfix", "content": "Race condition in WebSocket reconnect", "rootCause": "Missing mutex on connection state", "fix": "Added connection state lock", "tags": ["concurrency", "websocket"] }
Storage
Observations are stored in .pilot-shell/memory/ as JSON files, one per session:
.pilot-shell/memory/
2026-03-02-session-a1b2c3.json
2026-03-01-session-d4e5f6.json
Retrieval
Search by:
- Tags: Filter by tag match
- Full text: Search observation content
- Type: Filter by decision/discovery/bugfix
- Recency: Prefer recent observations
- Relevance: Score against current task description
Auto-Triggers
/learntriggered at context thresholds- Session end captures final observations
- Breakpoints can trigger observation capture
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?