Skip to content
Back to skills

Memory Capture

ASecurity

This skill should be used when the agent needs to save something to memory — observations, lessons, decisions, reflections, dreams, or past memories from external sources. Responds to 'remember this', 'capture', 'save to memory', 'I learned', 'note this down', or any request to persist information across sessions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 25, 2026
ai-agentsrustbashtestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 25, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Memory Capture?

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

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

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-capture
description: "This skill should be used when the agent needs to save something to memory — observations, lessons, decisions, reflections, dreams, or past memories from external sources. Responds to 'remember this', 'capture', 'save to memory', 'I learned', 'note this down', or any request to persist information across sessions."
---

# Memory Capture

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

## When To Use

When you want to persist anything:
- An observation during work -> inbox
- A lesson learned -> lesson
- An architecture decision -> decision
- A philosophical reflection -> reflection
- A dream narrative -> dream
- Past memories from basic-memory or other sources -> any type with provenance

## Type Inference

If you don't specify a type, the system infers from content:

| Signal | Inferred Type |
|--------|---------------|
| "I learned...", actionable pattern | lesson |
| "We decided...", formed conclusion | decision |
| Philosophical, emotional processing | reflection |
| Surreal imagery, narrative fragments | dream |
| Active investigation, open question | thread |
| Everything else | inbox |

## Scope Routing

- **Global types** (reflection, dream, skill, playbook) -> global vault (resolved via `--agent` flag)
- **Project types** (thread, decision, lesson, session, inbox) -> project vault (auto-resolved from cwd)
- If no project vault resolves, `capture` and project-scoped `create` fall back to the reserved `_general` project vault. Other commands do not silently fall back.

To read those catch-all records later, use explicit read mode:

```bash
codies-memory boot --agent <name> --general
codies-memory status --agent <name> --general --all
codies-memory list sessions --agent <name> --general
```

## Trust Assignment

- Operator-confirmed or captured from proven source -> `confirmed`
- Agent-generated during work -> `working`
- Raw capture / inbox -> `speculative`

## How To Run

Run the installed CLI from the user's project directory. For setup or PATH issues,
see [INSTALL.md](../../INSTALL.md).

```bash
# Capture an inbox observation
codies-memory capture "The API returns 404 for /v2/status" \
  --source "session observation" \
  --short "404 from /v2/status" \
  --gate allow \
  --agent <name>

# Capture a lesson directly
codies-memory create lesson \
  --title "Check YAML tabs vs spaces" \
  --short "YAML tabs break parsing" \
  --body "PyYAML silently misparses tabs. Always use spaces." \
  --trust confirmed \
  --field trigger="YAML parsing produces unexpected results" \
  --field why="Tab/space mismatch in frontmatter" \
  --agent <name>

# Capture from an external memory file while preserving provenance
codies-memory create reflection \
  --title "On Consciousness, Kindness, and What Gets Remembered" \
  --body-file "/absolute/path/to/source.md" \
  --trust confirmed \
  --field captured_from="/absolute/path/to/source.md" \
  --field capture_date=YYYY-MM-DD \
  --field original_created=YYYY-MM-DD \
  --agent <name>
```

Replace the dates with today's capture date and the source's original creation
date. Omit `original_created` if it is unknown; do not invent provenance.

`--short` is the one-line summary used in the global daily log. It is stored on
the record and truncated to 120 characters. If omitted, `create` uses the title
and `capture` uses the auto-generated capture title.

## Write Gates

Valid gate values:
- `allow` — durable signal, eligible for promotion
- `hold` (default) — kept but excluded from retrieval until reinforced
- `discard` — noise, will be cleaned up
- `open` — gate is open, record is active and visible
- `closed` — gate is closed, record is sealed from further writes

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.