Seven labels, three to a sheet. Our example packing tool said to print two sheets. Where would the seventh label go? We put that one-line mistake in a fresh Git repository and used OM Skills to review it.
Install two skills in the project
Start with a Git repository and Node.js 22.20 or later, the minimum for the skills CLI. We used Node.js 24 for the install and Codex for the review. Run this from the repository you want the agent to work in. CLI installation guide.
npx --yes skills add open-mercato/skills \
--skill om-help om-code-review \
--agent codex -y
The installer wrote two folders under .agents/skills/ and a skills-lock.json at the project root. Open .agents/skills/om-code-review/SKILL.md. The agent reads that file when you invoke the reviewer. The lock file records the source revision, so a teammate can check which instructions you tried. Review instructions used in this run.
Ask for a route before asking for a review
Open Codex in the same project. In the chat, enter $om-help Which installed skill can review my local diff? The dollar sign is Codex’s skill selector. In our checkout the answer was om-code-review. Help reads the installed skills, recommends one and stops there. You get to read the recommendation before running a test or opening a pull request. How the help skill chooses a route.
Before the review, tell the agent which commands your team runs before a change can merge. In our example we supplied a project configuration with node --test as its validation command and the bundled GitHub tracker descriptor. For a project with no configuration yet, install the setup skill with the command below, then invoke $om-setup-agent-pipeline in Codex. It writes .ai/agentic.config.json and the tracker descriptor. Read the validation commands it chose. They should match what your CI actually runs. Repository setup and configuration.
npx --yes skills add open-mercato/skills \
--skill om-setup-agent-pipeline \
--agent codex -y
Give it a change with a known answer
Our entire diff was one return statement. We changed Math.ceil(labels / perSheet) to Math.floor(labels / perSheet). The two existing tests asked how many sheets to print for six labels and for seven. Both passed before the edit.
In Codex, the request is $om-code-review Review the diff in sheets.mjs locally. Substitute a changed file from your own project if you are following along. The skill accepts a local diff, so this exercise needs no pull request.
Six labels, three per sheet expected 2 got 2
Seven labels, three per sheet expected 3 got 2
node --test 1 passed, 1 failed
Review verdict request changes
The failure pointed at the seven-label assertion. The line to fix was in sheets.mjs, where rounding down discarded the partly filled sheet. Restoring Math.ceil made both tests pass. The reviewer’s rule is simple here. A failed configured command requires a request for changes, even if the proposed edit looks harmless. Validation and verdict rules.
With only the six-label test, the wrong calculation still passes. We published the review instructions so teams can inspect that part of the process. Pick one edge case from a real job and break it on a branch. Can a colleague reproduce the failure using just the command, file and expected result in the review?