Context
Codex CLI now supports plugins (docs) — installable bundles that can package skills, MCP servers, and app integrations.
Our advantage:
- Codex users are already our biggest traffic source (79 clicks/week on docs:/integrations/codex)
- "codex memory" is a top search query (pos 4.0, 30 clicks/week)
- We already have a working MCP server — plugin is just better packaging
Current State (repo sprawl)
We have 3 separate repos that are really just different ways to distribute the same thing:
- basic-memory-skills — 10 skills teaching agents how to use BM effectively
- basic-memory-plugins — Claude Code plugin (skills + commands + hooks)
- Need: Codex plugin — same skills, different packaging format
All three are core BM functionality, not separate products. They should live in the main repo.
Proposed Unified Structure
basic-memory/
├── src/ # Python MCP server + CLI (existing)
├── docs/ # Docs (existing)
├── skills/ # ← Merge basic-memory-skills here
│ ├── memory-tasks/
│ ├── memory-schema/
│ ├── memory-reflect/
│ ├── memory-notes/
│ ├── memory-defrag/
│ └── ... (10 total)
└── plugins/ # ← Merge basic-memory-plugins here
├── claude-code/ # Claude Code plugin
│ ├── .claude-plugin/
│ ├── skills/ # Can reference ../skills/
│ └── commands/
└── codex/ # New Codex plugin
├── .codex-plugin/
├── skills/ # Can reference ../skills/
└── .mcp.json
Why Consolidate
Single source of truth:
- Skills are core functionality, not a separate product
- Plugins are distribution mechanisms for those skills
- Easier to keep in sync with BM version bumps
Avoid duplication:
- Many skills are identical across Claude Code/Codex plugins
- Can reference or copy from central
/skills/ directory
- Single README, single release process
Discoverability:
- New users find everything in one place
- Clear hierarchy: BM server → skills → plugins
Codex Plugin Specifics
What it includes:
- MCP server config (.mcp.json) — auto-configures
uvx basic-memory
- Skills (reuse from
/skills/):
memory-search — "Search my knowledge graph for X"
memory-write — "Save this to my knowledge graph"
memory-context — "Load context about X from my graph"
memory-tasks — "Create/update tasks that survive compaction"
memory-projects — "Switch to project Y"
- Assets — icon, logo, screenshots
- Manifest (.codex-plugin/plugin.json) — metadata, install surface copy
Distribution:
- Initial: Local marketplace (users install via GitHub URL)
- Later: Submit to official OpenAI Plugin Directory (when available)
Competitive position:
Mem0, Letta, Zep — all API-based, no Codex plugins yet
We'd be first with a real knowledge graph plugin for Codex
Migration Plan
Example Plugins to Study
Open Questions
Related Repos
Context
Codex CLI now supports plugins (docs) — installable bundles that can package skills, MCP servers, and app integrations.
Our advantage:
Current State (repo sprawl)
We have 3 separate repos that are really just different ways to distribute the same thing:
All three are core BM functionality, not separate products. They should live in the main repo.
Proposed Unified Structure
Why Consolidate
Single source of truth:
Avoid duplication:
/skills/directoryDiscoverability:
Codex Plugin Specifics
What it includes:
uvx basic-memory/skills/):memory-search— "Search my knowledge graph for X"memory-write— "Save this to my knowledge graph"memory-context— "Load context about X from my graph"memory-tasks— "Create/update tasks that survive compaction"memory-projects— "Switch to project Y"Distribution:
Competitive position:
Mem0, Letta, Zep — all API-based, no Codex plugins yet
We'd be first with a real knowledge graph plugin for Codex
Migration Plan
/skills/frombasic-memory-skills→basic-memory/skills/basic-memory-plugins→basic-memory/plugins/claude-code/basic-memory/plugins/codex/for Codex pluginbasic-memory-skillsandbasic-memory-pluginsrepos (README redirects)Example Plugins to Study
Open Questions
../skills/via symlinks or copy files during build?defaultPromptfor Codex?Related Repos