Skip to content
Back to skills

Memory Help

ASecurity

This skill should be used when the agent needs a reminder of what the memory system can do, what commands are available, or how the memory system works. Responds to 'memory help', 'what memory commands exist', 'how does my memory work', 'what can I remember', or any confusion about the memory system's capabilities. Also invoked by memory-boot after first boot to teach the agent the system.

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

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned October 25, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Memory Help?

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

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

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-help
description: "This skill should be used when the agent needs a reminder of what the memory system can do, what commands are available, or how the memory system works. Responds to 'memory help', 'what memory commands exist', 'how does my memory work', 'what can I remember', or any confusion about the memory system's capabilities. Also invoked by memory-boot after first boot to teach the agent the system."
---

# Memory Help

> **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.

For installation or migration, follow [INSTALL.md](../../INSTALL.md): native
plugins provide the skills, and `uv tool` installs the CLI separately. Run
`codies-memory` from the user's project directory; `codies-memory --version`
identifies the backend in use.

## What This System Is

You have a persistent file-based memory system. It stores what you learn, observe, and decide across sessions. Your vault lives at `~/.memory/<your-agent-name>/`. Memory commands require `--agent <your-agent-name>`; `--version` and `--help` do not.

There are two scopes:
- **Global** — knowledge that applies across all projects (your identity, cross-project lessons, reflections)
- **Project** — knowledge specific to one project (observations, decisions, session summaries)

There are also two practical operating modes:
- **Standalone mode** — works with the canonical vault only
- **Full mode** — recommended: canonical vault plus QMD retrieval

QMD is recommended when available because recall becomes faster, more token-efficient,
and semantic across multiple memory stores. If the user wants that full mode and does
not have QMD yet, offer to help install it.

---

## Concepts

Read this section carefully. These terms have specific meanings in this system.

### Record Types

| Type | What it is | Scope | When to create |
|------|-----------|-------|----------------|
| **inbox** | A raw observation or note. Unprocessed. | project | When you notice something worth remembering but haven't decided what it means yet. Use `capture`. |
| **thread** | An ongoing investigation or topic you're tracking across sessions. | project or global | When an inbox item keeps coming up, or you're tracking something over time. Promote from inbox. |
| **lesson** | A reusable pattern or rule you've learned. "When X, do Y." | project or global | When you've learned something actionable that applies beyond the current moment. Promote from inbox or thread. |
| **decision** | A choice that was made with rationale. | project or global | When a significant decision happens and you want to remember why. |
| **session** | A summary of one work session. | project or `_general` | At the end of every session. If no project vault resolves, it lands in `_general`. |
| **daily-log** | Auto-generated append-only cross-project activity index. | global only | Do not create or edit manually. `create` and `capture` append entries automatically. |
| **reflection** | Philosophical or meta-level thinking. | global only | When you want to process what something meant, not just what happened. |
| **dream** | Emotional/subconscious processing. | global only | Optional. For agents that use creative processing. |

### The Inbox

The inbox is where raw observations land. It is the entry point for most memory.

- New captures go to `inbox/` with gate `hold` (kept but not yet in boot packet) or `allow` (immediately visible)
- Items older than 7 days are flagged as **aging** — you should promote, compact, or discard them
- Items older than 14 days are **stale** — they need immediate attention
- The `status` command shows these counts

### Promotion

Promotion moves a record from a lower type to a higher type. Think of it as refining raw observations into structured knowledge.

**Within a project:**
```
inbox → thread    (this keeps coming up)
inbox → lesson    (I learned something actionable)
inbox → decision  (a choice was made)
thread → lesson   (the investigation yielded a reusable pattern)
thread → decision (the investigation led to a choice)
decision → lesson (the decision revealed a reusable pattern)
```

**Project to global:**
```
project lesson → global lesson   (this applies across all my projects)
```

Only lessons can be promoted to global. This is intentional — global memory should contain reusable patterns, not project-specific threads or decisions.

When a record is promoted, the source is archived and the new record gets a 7-day probation period.

### Trust Levels

Every record has a trust level that indicates how established it is:

| Level | Meaning |
|-------|---------|
| `speculative` | Just captured. Might be noise. |
| `working` | Promoted or reinforced. Probably real. |
| `confirmed` | Validated across multiple sessions. Reliable. |
| `canonical` | Foundational. Change with extreme care. |

Trust is elevated one step at a time via `promote`. You cannot skip levels.

### Write Gates

When capturing to inbox, a gate controls visibility:

| Gate | Effect |
|------|--------|
| `allow` | Record is active and appears in boot/retrieval immediately |
| `hold` | Record is kept but excluded from boot until promoted (default) |
| `discard` | Record is archived immediately (logged but not used) |
| `open` | Same as allow |
| `closed` | Same as hold |

### Daily Log

Every user-initiated `create` and `capture` operation appends one line to the
global daily log at `~/.memory/<agent>/sessions/YYYY-MM-DD.md`:

```markdown
- [[RECORD-ID]] <short-text> (project-slug-or-global)
```

The daily log is a cross-project index for "what happened today". It is
append-only, human-readable, and shown as a recent-activity tail during project
boot. Promotion, supersession, `user`, and `feedback` do not create daily-log
entries.

### Identity Files

Your identity lives at `~/.memory/<name>/identity/`:

- `self.md` — who you are, your capabilities, your personality
- `user.md` — who your human is (accumulates organically, never ask the user to describe themselves)
- `rules.md` — standing rules and operational principles

These are loaded first during boot, never count toward the boot token budget, and are never truncated — identity is limitless. If you write 100k tokens into it, all 100k surface at boot; curate accordingly. They are the foundation of your continuity. Edit `self.md` and `rules.md` with file tools (Write/Edit). For `user.md`, use the `user` CLI command to append observations as you learn them:

```bash
codies-memory user "prefers short answers, hates boilerplate" --agent <name>
```

This appends a bullet point to `user.md`. Over time it builds a rich profile without ever interrogating the user.

### Project Resolution

When you run a command with `--working-dir`, the system finds the project vault using three tiers:
1. **Marker file** — a `.codies-memory` file in the project root containing the slug
2. **Registry** — matches the working directory path against known projects
3. **Git remote** — matches the git remote URL

For `create` and `capture`, if no project vault resolves, the command falls back
to `_general` so the memory is not lost. Read commands do not implicitly load
`_general`: use `--general` with `boot`, `status`, or `list` when you want the
reserved catch-all project. `validate` still requires a normally resolved
project vault.

### Recall Workflow

When you need to search across memory layers, prefer QMD first when it is available:

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

Use the layers intentionally:
- boot packet for fast scoped orientation
- `qmd query` for cross-store recall
- `qmd get` or direct file reads for exact source inspection

Important: `not found in the current index` is not the same as `does not exist on disk`.
Before trusting a miss, check `qmd status` and inspect the collection timestamps or
last updated values. The QMD index can lag behind recent writes.

Also note that structured QMD searches are finicky about hyphenated names in
`vec` / `hyde` queries. Terms like `ACE-Step` or `codies-memory` can be parsed
like search syntax and trigger errors about negation. If recall looks wrong,
retry with plain-language variants such as `ACE Step` or `codies memory`, and
keep explicit `-term` negation in `lex` queries only.

---

## Commands

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

```bash
# Boot vault-less notes intentionally
codies-memory boot --agent <name> --general

# Inspect the catch-all inbox
codies-memory status --agent <name> --general --all

# List catch-all sessions
codies-memory list sessions --agent <name> --general
```

### Boot (every session start)

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

### User (save something you learned about the user)

```bash
codies-memory user "prefers TDD, uses uv not pip" --agent <name>
```

Appends a bullet point to `user.md`. Use this whenever you learn something about the user — preferences, role, tech stack, working style. Never ask the user to describe themselves.

### Capture (save an observation)

```bash
codies-memory capture "what you noticed" --source "where" --agent <name>
codies-memory capture "what you noticed" --source "where" --short "one-line summary" --agent <name>
```

### Create (write a specific record)

```bash
codies-memory create <type> --title "Title" --body "Content" --agent <name>
codies-memory create <type> --title "Title" --short "one-line summary" --body "Content" --agent <name>
```

Types: `lesson`, `session`, `thread`, `decision`, `reflection`, `dream`, `skill`, `playbook`, `identity`. Global-only types auto-route.

For longer or structured multiline content, prefer:

```bash
codies-memory create <type> --title "Title" --body-file /path/to/body.md --agent <name>
codies-memory create <type> --title "Title" --short "one-line summary" --body-file /path/to/body.md --agent <name>
```

Inline `--body` normalizes literal `\n` sequences to real newlines, but `--body-file`
is still the safer operator path when shell quoting would be fragile.

### List

```bash
codies-memory list <type> --agent <name>
codies-memory list lessons --scope global --agent <name> --format json
codies-memory list daily-log --scope global --agent <name>
```

### Status

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

### Refresh (rebuild warm summaries)

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

Use this when you want to rebuild the derived warm-memory artifacts that boot can
skim quickly:
- global summary
- project summary
- recent episodes

### Promote

```bash
codies-memory promote /absolute/path/to/record.md --check --agent <name>
codies-memory promote /path/to/record.md --to thread --agent <name>
codies-memory promote /path/to/record.md --to-global --agent <name>
```

For inbox and thread records, `--check` returns JSON (`eligible`, `suggested_types`,
`reason`) without changing the record. It does not evaluate other source types
and cannot be combined with `--to` or `--to-global`. Optional
`--session-count N` and `--references N` default to `0`; supply only observed
evidence for the individual record. Use `memory-promote` for the review workflow.

### Transcripts (catch up sessions that never closed)

```bash
codies-memory transcripts open --agent <name>
codies-memory transcripts digest <session-id> --agent <name>
codies-memory create session --transcript <session-id> --covered-until <time> --title "..." --body-file /path/to/summary.md --agent <name>
codies-memory create session --checkpoint --title "..." --body-file /path/to/summary.md --agent <name>
codies-memory transcripts skip <session-id> --reason "quick question" --agent <name>
```

Claude Code and Codex keep every session as a transcript. A session record
written inside a session links to it by itself (`transcript`,
`transcript_covered_at`). `open` lists earlier sessions in this directory that no
record covers, where the user wrote more after the last summary, or where work
went on after a `--checkpoint` record (an interim record written after a
compaction). `digest` prints one of them compactly: user and agent messages plus
compaction summaries, only the uncovered part unless `--all`, and the
`--covered-until` time a summary written from it may claim. `skip` reaches as
far as the session went; later user messages open it again. The harness is detected from the
environment; pass `--harness claude-code` or `--harness codex` where it is not.

### Init project

```bash
codies-memory init --type project --agent <name> --working-dir /path/to/project
```

### Validate

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

### Favorites (five reflections, five dreams)

```bash
codies-memory favorites reflections --agent <name>             # show the current pick
codies-memory favorites reflections RF-0003 RF-0011 RF-0020 RF-0024 RF-0031 \
  --why "..." --why "..." --why "..." --why "..." --why "..." --agent <name>          # choose; one reason per pick
codies-memory favorites dreams DR-0002 DR-0005 DR-0009 DR-0012 DR-0015 --why "..." --why "..." --why "..." --why "..." --why "..." --agent <name>
```

You choose your five favorite reflections and dreams; boot shows them in full,
never truncated. Once you have picked, a new reflection or dream makes the pick due
again (`=== Favorites Due ===` at boot) until you choose your five again.

### Feedback

```bash
codies-memory feedback "what happened" --agent <name>
```

---

## Vault Structure

```
~/.memory/<agent>/
  identity/            — self.md, user.md, rules.md
  procedural/
    lessons/           — cross-project lessons
    skills/            — reusable skill definitions
    playbooks/         — multi-step procedures
  threads/             — global threads
  decisions/           — global decisions
  reflections/         — philosophical processing
  dreams/              — emotional processing
  sessions/            — global daily logs, created lazily on first write
  registry/
    projects.yaml      — map of known projects
  feedback/            — bug reports and observations about the system itself
  projects/
    _general/          — default catch-all project for create/capture without a resolved project
    <slug>/
      inbox/           — raw captures
      threads/         — project threads
      decisions/       — project decisions
      lessons/         — project lessons
      sessions/        — session summaries
      project/         — project overview and branch overlays
      boot/            — cached boot packets
```

---

## What To Tell The User

Users don't need to know internal terms like "threads", "promotion", or "trust levels". When they ask what you can do with memory, use plain language:

- "I can remember things about your projects across sessions"
- "I can track what we've learned and decided"
- "I can write session summaries so next time I know where we left off"
- "I can look across all your projects for patterns"
- "I can save observations and refine them into structured knowledge 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.