Help

Install or Update the Memolok Plugin for Codex

Which page do you need?

Support for OpenAI's Codex is experimental. You set Memolok up once on each computer where you use Codex. It takes about a minute in a terminal, and the Codex desktop app picks it up from there.

Before you start:

New Here

Install

codex plugin marketplace add Memolok/Memolok-marketplace
codex plugin add memolok@memolok

Then start a new conversation in Codex. The first time you use Memolok, Codex opens your browser so you can sign in to your Memolok account.

Already Installed

Update

codex plugin remove memolok@memolok
codex plugin add memolok@memolok

Removing and adding again fetches the latest release; your ledgers are not affected. Start a new conversation afterwards so Codex loads the new version, and if your browser asks you to sign in to Memolok again, do so.

All Set

Check It Worked

In a new Codex conversation, type $start and choose Memolok: Start. Codex calls skills with $, where Claude uses /, so $memolok:start works too. Memolok checks the connection and tells you which ledger the project uses. To learn what to do next, see Getting started with Memolok.

Using the Codex app from the Microsoft Store?

It brings its own copy of the codex command, but doesn't put it on your path, so a terminal says it can't find codex. Install the command-line tool from the link above, or let PowerShell use the app's own copy, as the last section of this page shows.

Common Problems

If Something Doesn't Work

What happened What to do
The terminal can't find codex Install the Codex command-line tool, then open a new terminal. Have the Codex app on Windows? See the Windows section below
Adding the plugin says it isn't found Run the marketplace add command first, then add the plugin again
Memolok's skills don't appear after $ Start a new conversation: Codex loads plugins when a conversation starts
Codex still uses the old version Run both update commands again, then start a new conversation. Still stuck? Tell us via Contact what codex plugin list shows

Windows

Use the Store App's codex in PowerShell

If you have the Codex app from the Microsoft Store and would rather not install a second copy of the command-line tool, you can teach PowerShell to run the app's own copy. Open your PowerShell profile:

notepad $PROFILE

If Notepad offers to create the file, let it. Add this line, save, and open a new PowerShell window:

function codex { & (Join-Path (Get-AppxPackage OpenAI.Codex).InstallLocation "app\resources\codex.exe") @args }

Now codex --version should answer, and every command on this page works as written. The line looks the app up each time, so it keeps working after the Store updates Codex.

If PowerShell says running scripts is disabled when the new window opens, your profile is blocked by Windows' script policy; Microsoft's page on execution policies explains how to allow it for your own account.