Skip to content
Automation
Skill

/persistent-memory

Observation capture and retrieval across sessions. Stores decisions, discoveries, and bugfix patterns. Searchable via tags and relevance scoring.

From plugin
babysitter
1.8k200 skills3 agents21 commands1 MCP
Install
$ npx -y skills add a5c-ai/babysitter --skill persistent-memory --agent claude-code

How 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/persistent-memory

Context preview

The summary Claude sees to decide when to auto-load this skill.

Observation capture and retrieval across sessions. Stores decisions, discoveries, and bugfix patterns. Searchable via tags and relevance scoring.

SKILL.md

persistent-memory.SKILL.md
name: persistent-memory
description: Observation capture and retrieval across sessions. Stores decisions, discoveries, and bugfix patterns. Searchable via tags and relevance scoring.
allowed-tools: Bash(*) Read Write Edit Glob Grep
metadata:
  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)"
graph:
  domains: [domain:software-engineering]
  skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]
  workflows: [workflow:feature-development]
  topics: [topic:developer-experience]
  roles: [role:tech-lead, role:backend-engineer]
A choice made during development with rationale.
```json
{ "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.
```json
{ "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.
```json
{ "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

  • `/learn` triggered at context thresholds
  • Session end captures final observations
  • Breakpoints can trigger observation capture
Read more
Ships withbabysitter

Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.

Get the whole plugin

Other skills on babysitter.