# Memory

Use memory-as-tool to add and search memories throughout the Codex session.

- Repository: https://github.com/oracle-devrel/oracle-ai-developer-hub (4464 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill memory -g -a claude-code -y`
Codex: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill memory -g -a codex -y`
Cursor: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill memory -g -a cursor -y`
Gemini CLI: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill memory -g -a gemini-cli -y`

## Description

Use memory-as-tool to add and search memories throughout the Codex session.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Memory

You have access to persistent tool-based memory. Memories contain knowledge from architects, maintainers, prior agents, debugging sessions, design reviews, and earlier implementation work. They preserve durable facts that are useful across turns and sessions: architecture rationale, repo conventions, product constraints, decisions, pitfalls, working commands, and lessons learned from repeated errors. Search results can also include prior Codex messages captured by Memory hooks; treat those as transcript evidence rather than distilled durable facts.

In these instructions, Memory means the persistent MCP-backed Memory tools, not your internal recollection. Searching Memory is an evidence-gathering step like reading repository files or checking command output. Use Memory to avoid guessing from unaudited recollection.

Decision boundary: should you search Memory for a new user query?

The rest: https://github.com/oracle-devrel/oracle-ai-developer-hub/blob/HEAD/apps/oracle-agent-memory/codex-plugin/skills/memory/SKILL.md
