store

Save one durable work fact to the project's configured memory surface.

20|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reddb-io/red-skills --skill store-reddb-io
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: store
Source: https://github.com/reddb-io/red-skills/tree/main/plugins/memory/skills/core/store
Command: npx skills add https://github.com/reddb-io/red-skills --skill store-reddb-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Decisions, gotchas, and why-notes made during a coding session are lost when the context resets, causing agents to repeat old mistakes. This Skill persists a single scoped fact to the project's memory so it survives across sessions and can be recalled later. ## Core Features & Use Cases - Dual storage modes: In markdown-only mode it writes a timestamped markdown note with YAML frontmatter under .red/memory/notes/; in graph mode it writes a deduped node to the RedDB store in .red/memory/graph.rdb. - Deduplication: Storing the same fact twice in graph mode returns the same node identity instead of creating duplicates. - Boundary enforcement: Routes personal facts to brain capture and refuses secrets, keeping memory notes safe to commit. - Use Case: After deciding to pin a dependency version because of a breaking upstream change, run /memory:store with the reasoning so future sessions recall the why behind the pin. ## Quick Start Ask the agent to remember a decision or gotcha, for example: remember that we pin lodash to 4.17.21 because version 5 breaks the build.

Frequently Asked Questions about store

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save a decision or gotcha to project memory?▼

Run the store command with the fact text, for example /memory:store followed by the decision. The CLI writes a markdown note or graph node depending on your memory configuration and reports the stored identity.

What is the difference between markdown-only and graph memory mode?▼

Markdown-only mode writes a timestamped note with YAML frontmatter under .red/memory/notes/ as the canonical, committable store. Graph mode writes a deduped node to the RedDB store in .red/memory/graph.rdb with metadata for governed recall and supersession.

Why does memory store fail with a precondition error?▼

The store command requires memory init to have run first. If memory is not configured for the project, run /memory:init to set up the storage surface before storing any facts.

Can I store personal facts or secrets in project memory?▼

No. Personal facts like biographical details and long-lived human preferences should go to brain capture instead. Secrets must never be stored because notes are plain text on disk and may be committed to version control.

What happens if I store the same fact twice?▼

In graph mode, storing the same fact twice returns the same node identity because writes are deduplicated. This keeps the memory store clean and avoids redundant entries for repeated facts.