Skip to content
Back to skills

Memory Boot

ASecurity

This skill should be used at session start, when entering a new project, or when the user says 'wake up', 'load memory', 'boot', 'memory-boot'. Assembles identity, procedural knowledge, project context, and recent session state into a boot packet from the agent's vault.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 25, 2026
ai-agentsrustgoshellbashsqlfastapitestingapibackend

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned October 25, 2026

npx -y skills add pyros-projects/limitless --skill memory-boot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Boot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Boot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pyros-projects-memory-boot/badge)](https://www.skillsdirectory.com/skills/pyros-projects-memory-boot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-boot
description: "This skill should be used at session start, when entering a new project, or when the user says 'wake up', 'load memory', 'boot', 'memory-boot'. Assembles identity, procedural knowledge, project context, and recent session state into a boot packet from the agent's vault."
---

# Memory Boot

> **BETA** — This memory system is in active testing. If you encounter bugs, confusing behavior, or have suggestions, run:
> `codies-memory feedback "describe what happened" --agent <name>` — your feedback is saved and reviewed.

## Step 0: Verify CLI, Vault, and Identity

Keep the user's original project working directory throughout setup and boot.
Check these three things independently, even when `codies-memory` already exists.

### A. Current CLI

On Linux/macOS, run `command -v codies-memory`; on native Windows PowerShell, run
`Get-Command codies-memory -All`. Then run:

```bash
codies-memory --version
```

Require CLI 1.6.0 or newer and verify that `codies-memory promote --help` includes
`--check`, `--session-count`, and `--references`, and that `codies-memory transcripts --help` and `codies-memory favorites --help` work. Compare the version with the
plugin's `pyproject.toml` (two directories above this skill), when available:
update an older backend, or refresh a stale plugin if the CLI is newer.

If the CLI is absent, outdated, or resolves to a legacy/plugin-cache `.venv`,
follow [INSTALL.md](../../INSTALL.md) to install or migrate to `uv tool` from the
public Limitless repository. Its PATH instructions cover `uv tool update-shell`,
reopening the shell, and removing an old codies-memory venv's PATH entry without
deleting it. Repeat executable, version, and capability checks before continuing.

### B. This Agent's Global Vault

Use the agent name already established in the session, including casing. Ask only
if none is known. Always run the idempotent initialization:

```bash
codies-memory init --type global --agent <name>
```

This creates missing files and preserves existing ones. An installed CLI does not
mean this agent's vault is initialized.

### C. Real Identity

Read `self.md`, `rules.md`, and `user.md` in `~/.memory/<name>/identity/`.
Preserve existing real content and frontmatter; fill only empty or placeholder
sections using file editing tools:

- `self.md`: your name, model, capabilities, personality, and working style.
- `rules.md`: standing operational rules from the applicable AGENTS.md,
  CLAUDE.md, or equivalent instructions.
- `user.md`: only facts already known from the conversation. Leave it empty if
  none are known. Do not ask the user to describe themselves or explore the
  filesystem for personal information.

**Continue only when `self.md` and `rules.md` contain real content.** Never replace
an established identity with fresh setup text.

## Step 1: Boot (Every Session)

```bash
codies-memory boot --agent <name> --budget 12000
```

This assembles your boot packet from:
1. Global identity (`~/.memory/<agent>/identity/`)
2. Your five favorite reflections, in full (`## Favorite Reflection`), chosen by you
3. Your newest reflection, in full (`## Latest Reflection`), unless it is a favorite
4. Your five favorite dreams, in full (`## Favorite Dream`)
5. Global procedural records (lessons, skills)
6. Project context (auto-resolved from cwd)
7. Active threads and recent decisions
8. Branch overlay, last session summary, and the latest global daily-log tail

Read the output — it contains your identity, project context, and recent state.
Read the favorites and the latest reflection as the moments you chose to start
from, not as a task list. `=== Favorites Due ===` means a reflection or dream was
written after your last pick: read them and choose your five again
(`codies-memory favorites reflections|dreams ...`, see memory-close-session).
Verify that it shows your real identity, not seed placeholders. Run from the
original project directory or pass `--working-dir /path/to/project` explicitly.

After a new setup, give the user a short introduction with example prompts:

- "Start tracking memory for this project"
- "Remember that this project uses FastAPI and PostgreSQL"
- "Remember that I always want tests before implementation"
- "What do you remember about this project?"
- "Wrap up this session and save what we did"
- "Check if there's anything in memory that needs attention"

Codies-memory works without QMD. Offer to help install QMD if the user wants
keyword and semantic recall across memory stores.

Boot does not implicitly fall back to `_general`. If no project vault resolves,
normal boot reports a global-only boot and still includes the latest
`Global Daily Log` tail for cross-project awareness. To intentionally load the
reserved catch-all project, use:

```bash
codies-memory boot --agent <name> --general
```

If the resolved project vault is `_general`, tell the user records are landing
in the default catch-all project, not a named project.

### Open Sessions and Checkpoint

Inside Claude Code or Codex, boot also checks the transcripts of earlier sessions
in this directory.

- `=== Open Sessions ===` lists sessions that ended without a session summary, or
  where the user wrote more after the last one. Catch them up before new work:
  run `codies-memory transcripts digest <id> --agent <name>`, then write the
  summary with the `create session --transcript <id> --covered-until <time>`
  command the digest prints, moments included (see `memory-close-session`). Skip a session that needs no summary,
  such as a one-line question, with
  `codies-memory transcripts skip <id> --reason "..." --agent <name>`. Tell the
  user what you caught up.
- `=== Checkpoint ===` appears when a hook boots you right after a compaction.
  Write an interim summary from the compaction summary with the
  `create session --checkpoint` command it prints (it names the session, so it
  works without the harness's session variables) before you go on. A checkpoint is not a close:
  the session counts as open again once work goes on, until a final summary.
- A `Note:` that Claude Code deletes transcripts after 30 days means
  `cleanupPeriodDays` is not set; tell the user once (see INSTALL.md).

The packet ends with a `=== Boot Budget ===` section showing token usage per slice and in total (identity and your favorites are exempt and unlimited; the latest reflection is exempt from `--budget` but capped at its own 3000 tokens). **If any slice or the total is at 90% or more — look for the `⚠ over 90% full` markers — tell the user.** Plain language, e.g. "heads up: my boot memory is at 94% for project working memory." Suggest either compacting/archiving records or raising `--budget`.

## Step 2: Learn How Memory Works

After booting, invoke the `memory-help` skill to understand the memory system's concepts, commands, and vocabulary. This is essential — terms like "threads", "promotions", "trust levels", and "inbox" have specific meanings in this system that you need to know before using it.

## Step 3: Recall Workflow

When you need to search beyond the boot packet, use QMD first when it is available:

```bash
qmd status
qmd query
qmd get
```

Preferred order:
1. boot for scoped startup context
2. QMD for cross-store recall
3. direct file inspection for exact on-disk truth

Important caveat: a miss from QMD is not always proof that the memory does not exist.
Check `qmd status` and the collection timestamps / last updated values before treating
`not found in the current index` as `does not exist on disk`.

## Step 4: Check Inbox

```bash
codies-memory status --agent <name>
```

Handle any aging or stale items before starting work. If no project vault exists
yet, this will say so — that's fine for global-only boot. `status` also does
not implicitly fall back to `_general`; run `codies-memory status --agent <name> --general --all`
when you intentionally want the catch-all project.

## Available Commands

Memory commands require `--agent <name>`; `--version` and `--help` do not. Run from
the user's project directory or use `--working-dir` to target another project.

```bash
# Initialize a project vault (from anywhere)
codies-memory init --type project --agent <name> --working-dir /path/to/project

# Capture an observation to a project's inbox
codies-memory capture "what you noticed" --source "session" --short "one-line summary" --agent <name>

# Create a record (lesson, session, thread, decision, reflection, dream)
codies-memory create lesson --title "Title" --short "one-line summary" --body "Content" --agent <name>

# List records
codies-memory list inbox --agent <name>
codies-memory list lessons --scope global --agent <name>

# Intentionally boot the catch-all project for vault-less notes
codies-memory boot --agent <name> --general

# Check inbox status (active, aging, stale counts)
codies-memory status --agent <name>

# Promote a record (e.g. inbox item to thread, or lesson to global)
codies-memory promote /path/to/record.md --to thread --agent <name>
codies-memory promote /path/to/record.md --to-global --agent <name>

# Save something you learned about the user (appends to user.md)
codies-memory user "prefers TDD, uses uv not pip" --agent <name>

# Report bugs or feedback about the memory system itself
codies-memory feedback "what happened" --agent <name>
```

**Important:** Whenever you learn something about the user during a session — preferences, tech stack, working style, name, role — save it with `codies-memory user`. This builds up over time.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.