extensions/pi-memory/skills/pi-memory/SKILL.md
Manage persistent memory across sessions. Use when asked to remember, recall, forget, or review what was stored. Covers long-term facts (MEMORY.md), daily session logs, search, and memory housekeeping.
npx skillsauth add espennilsen/pi pi-memoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A file-based memory system that persists knowledge across sessions using plain Markdown.
<base-path>/
├── MEMORY.md # Long-term curated memory (facts, preferences, decisions)
└── memory/
├── 2026-02-11.md # Daily log — append-only session notes
├── 2026-02-10.md
└── ...
## Sections. Survives compaction. Editable in place.The base path defaults to cwd. Override with settings.json:
{ "pi-memory": { "path": "/path/to/memory/dir" } }
Read memory contents.
| target | description |
|--------|-------------|
| long_term | Read full MEMORY.md |
| daily | Read a specific date's log (default: today). Pass date: "YYYY-MM-DD" for other dates. |
| list | List all available daily log files |
Write to memory.
| target | description |
|--------|-------------|
| daily | Append a timestamped entry to today's log. Used for session notes, progress, decisions. |
| long_term | Update MEMORY.md. Pass section to replace a specific ## Section, or omit to append. |
Long-term memory sections — use section parameter to target:
memory_write target=long_term section="Preferences" content="- Prefers dark theme\n- Terminal-first tools"
This replaces the content under ## Preferences. If the section doesn't exist, it's created.
Daily log entries — auto-timestamped:
memory_write target=daily content="Completed the auth refactor. Using JWT with RS256."
Creates ### HH:MM entry in today's file.
Full-text search across MEMORY.md and all daily logs.
memory_search query="JWT" limit=10
Returns matching lines with ±1 line of context, grouped by file.
Keep MEMORY.md well-organized with clear sections:
# Long-Term Memory
## About [User]
- Key facts, role, location, interests
## Preferences
- Communication style, tool preferences, conventions
## Active Focus
- Current projects and priorities (update as they shift)
## Decisions & Conventions
- Coding conventions, workflow rules, architectural decisions
## People & Relationships
- Key contacts and collaborators
## Recurring Patterns
- Things frequently asked about or worked on
Periodically review and clean up memory:
memory_read target=long_term)## Section should have a clear purposeAt each agent turn, the extension automatically injects into the system prompt:
This means the agent always has recent context without needing to call memory_read.
tools
# pi-a2a Long-Running Tasks Skill ## Overview The pi-a2a extension supports **long-running tasks** that can execute for hours or days without timeouts. This is essential for: - Data processing pipelines - Batch operations - Research and aggregation tasks - External API jobs with unpredictable duration - Any A2A task that exceeds the standard timeout ## When to Use **Use long-running tasks when:** - Task execution time is unpredictable or known to exceed 10 minutes - The remote agent is proc
development
Orchestrate cmux terminal panes — split terminals, run parallel processes, read output from other panes, and use the built-in browser. Use when working inside cmux and you need to run a dev server, watch tests, spawn sub-agents, or preview web pages.
testing
Review UI designs and implementations for accessibility, consistency, usability, and visual quality. Use when asked to review a design, audit accessibility, check UI consistency, compare implementation against mockups, or evaluate a user interface.
tools
Create, review, and improve skills for Pi agents. A skill is a folder with a SKILL.md that teaches an agent specialized workflows, domain knowledge, or tool integrations. Use when asked to create a new skill, improve an existing skill, review a skill for quality, scaffold a skill from a workflow, or convert documentation into a skill. Also triggers on "make a skill for", "build a skill", "skill for [topic]", "teach the agent to", or "package this workflow as a skill".