name: "tx-memory-context" description: "Store, recall, search, and relate memory documents, learnings, and task context. Use when working in Codex and the user needs tx commands from this area." metadata: short-description: "Store, recall, search, and relate memory documents, learnings, and task context."
tx Memory And Context
Use when the user needs retrieval, prompt context, or durable learnings tied to files and tasks.
Quick Start
tx memory context <task-id>tx memory search <query>tx memory recall <path>
Included Commands
tx memory: Filesystem-backed memory with search over .md filestx memory add: Create a new memory documenttx memory backlinks: Show incoming links to a documenttx memory context: Get task-relevant memory for prompt injectiontx memory index: Index all registered source directoriestx memory learn: Attach a learning to a file path or glob patterntx memory link: Create an explicit edge between documentstx memory links: Show outgoing links from a documenttx memory list: List indexed memory documentstx memory props: Show properties for a documenttx memory recall: Query file learnings by pathtx memory relate: Add a related reference to a documenttx memory search: Search memory documentstx memory set: Set a key-value property on a documenttx memory show: Display a memory documenttx memory source: Manage indexed directoriestx memory tag: Add tags to a memory documenttx memory unset: Remove a property from a documenttx memory untag: Remove tags from a memory document
Full Help
Read references/commands.md for the full generated CLI help text for this skill's commands.
Search And Shell Fixes
When working in Codex, prefer rg -n <pattern> <path> and rg --files <path> over broad grep -r or fragile find pipelines.
If a shell/search command fails because of malformed flags, truncated paths, or broken quotes:
- rerun it as a smaller
rgcommand with an explicit directory - avoid partial paths like
node_modulor unterminated quotes - replace
grep -rwithrg -nunlessrgis unavailable - replace broad
findprobes withrg --fileswhen you are really locating source files