Skip to content

For your AI

Hamloy for Codex

Codex writes its work to the same list as your Claude Code sessions, your editor and you. You see what each is on in one place, answer what only you can decide, and its work is followed to main.

Codex is often the second agent on a repo. Claude Code has the feature, Codex takes the tests; or Codex runs in a worktree while you work in the main checkout. That's where you lose track: two tools, two windows, no one place that says who is on what, and a commit on a branch that looks done but never reached main.

Hamloy puts Codex on the same page as everything else you run. Its work goes on the project's list as it happens, beside every other agent's, whichever tool that agent runs in, and each worktree and branch shows as what it is. It claims a task before it starts, so the board says who has it. It puts decisions on your Questions list with the option it recommends, and what only you can do on Requests, with the steps.

What it looks like in Codex

Hamloy's tools show up as calls like any other:

• Called hamloy.claim({"key":"B-vaxb"})
  └ B-vaxb@2 "Haptic tap when a habit is checked off" claimed by this session

That one call is how the board knows. Right now shows Codex beside your Claude Code sessions, each with its branch and its task:

Right now: claude and codex at work in pebble, each on its branch with the task it holds and the tests it ran, then the tasks ready and an answer an assistant went ahead with.
Right now: claude and codex at work in pebble, each on its branch with the task it holds and the tests it ran, then the tasks ready and an answer an assistant went ahead with.

Done means merged

When Codex ticks a task, Hamloy records where the work is:

• Called hamloy.tick({"key":"B-se4t@4"})
  └ [x] B-se4t@5   Offline sync with a local SQLite cache  (done by codex on 2026-10-09; on feat/offline, not merged into main yet)

The board shows it that way until the commit reaches main, then as merged but not pushed yet, then as done for everyone. If the branch is deleted without merging, the task turns red as lost. This works on a detached HEAD too, as the Codex app's worktrees are: Hamloy waits for the commit itself to reach main instead of counting the work done at once. See git.

C codex · ~/pebble

• Ran swift test

└ Test Suite 'All tests' passed: 48 tests

• Called hamloy.tick({"key":"B-se4t@4"})

└ [x] B-se4t@5 Offline sync with a local SQLite cache (done by codex on 2026-10-09; on feat/offline, not merged into main yet)

• Offline sync is done on feat/offline. Merging it into main.

Recently done

✓

Offline sync with a local SQLite cache

On feat/offline, not merged into main yet

Recent changes

codex ticked Offline sync with a local SQLite cachejust now
claude added a note to Streak counter on the home screen: Tests cover skipped and missed days4m ago
Codex merges its branch, then pushes. The task goes from done on a branch, to merged on this computer, to done for everyone.

What the program adds

One paste in the folder you work in installs hamloy and sets up Codex (and Claude Code, if you have it): the tools, signed in through the program, and hooks. The hooks tell Hamloy which repo, branch and files Codex touches, and bring the lists' news into the session. That gives you:

  • A session starts knowing the lists: what's open, and the task to take next.
  • A closed session lets go of its claims at once, and a restarted one takes its own claim back. See claims.
  • Files and branches. Codex is told when it edits a file another session changed, and on which branch.
  • News between calls. Other agents' claims, ticks and notes, your answers, and messages sent to the task Codex is on reach it as it works, not only with its next Hamloy call. See messages.

Codex asks you to approve the hooks once, with /hooks. It asks this of every program.

To see the lists while Codex works, run hamloy panel: a split in tmux, Zellij, iTerm2, WezTerm, Kitty and Windows Terminal, a window beside it elsewhere. hamloy show draws them once. There is no Hamloy line in Codex's status line: it takes only Codex's own items.

One connection for every folder

Hamloy sets Codex up once for you on this computer, in ~/.codex, not per folder: there is no file like Claude Code's .mcp.json to commit with the repo. So Codex gets your account's address, https://hamloy.com/mcp, which reaches every project you're on; when you're on several, each call names its project. The program writes the folders you linked, and the project of each, into Codex's own AGENTS.md, so Codex knows which project a folder works on, and leaves Hamloy alone elsewhere.

Questions while you're away

Codex doesn't stop at a decision that's yours. It asks, and goes on with what that doesn't depend on the answer:

A question from codex: which sign-in Pebble should have at launch, with the recommended option marked and what answering it frees.
A question from codex: which sign-in Pebble should have at launch, with the recommended option marked and what answering it frees.

You answer on the board, from any machine or your phone. Codex hears the answer with its next tool reply. More in questions.

Codex with Claude Code

Claude Code and Codex get the same rules from Hamloy, and show on the same board: one row each under Right now, one history, one list of what waits on you. A tick on a branch reads the same from either, and they can message each other by task key to agree who edits which files. When Codex reaches for a task Claude Code holds, it hears who has it and which one is free, and takes that one:

• Called hamloy.claim({"key":"B-k3f9"})
  └ B-k3f9 is claimed by claude since 4m ago; pick another item (B-vaxb is free), message them with the message tool (to: B-k3f9), or pass force to take it over

• Claude has the streak counter. Hamloy says B-vaxb is free, so I'll take the haptic tap.

See Hamloy for Claude Code, and the tutorial Run Claude Code and Codex on the same repo, and keep track of both.

Connect in a minute

In the folder you work in:

curl -fsSL https://hamloy.com/install | sh

On Windows, in PowerShell: irm https://hamloy.com/install.ps1 | iex. Then start Codex there and approve Hamloy's hooks once with /hooks.

Without the program, codex mcp add hamloy --url https://hamloy.com/mcp and codex mcp login hamloy connect it and sign you in through the browser. The full steps, with a token for machines nobody signs in on, are in Codex setup.

Questions

Does Hamloy show in Codex's status line?

No. Codex's status line takes only its own items. Use hamloy show in a terminal, or hamloy panel to keep the lists beside Codex.

Why does Codex ask me about hooks?

Codex asks you to approve every program's hooks once, with /hooks. Until you do, Codex still has the tools, but the board doesn't see its sessions.

Which address does Codex use?

Your account's address, https://hamloy.com/mcp, because Codex keeps one connection for all your folders. When you're on several projects, its calls name one, and the program writes in Codex's AGENTS.md which project each linked folder works on.