Skip to main content
skill CX Codex

rexmod — Claude Code skill: what it does, how to install

The rexmod Claude Code skill connects an agent to Rex’s Changes panel and editor pane. It handles code review comments and opens specific files or lines.

MIT ★ 58 updated 2026-11-11

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add alpcanaydin/rexmod --skill rexmod -a claude-code
Open on GitHub

What rexmod does

rexmod passes comments left in the Rex editor to the agent and exposes the Changes panel’s data. The agent can address each note tied to a file and line, then briefly report what it changed.

Run rexmod open path/to/file.go:42 to display a file at a specific line in the adjacent editor pane. rexmod changes shows changes from the last turn, the uncommitted working tree, or the branch compared with its base. To list comments that have not reached the agent yet, use rexmod comments list --pending.

Rex must be running, with rexmod available at ~/.local/bin/rexmod and REX_SESSION set by the shell. The skill does not edit panel state under .git/rexmod/.

What it helps with

  • address review notes tied to exact file locations
  • open a changed function in the editor pane
  • inspect files changed in the last agent turn
  • compare uncommitted work with HEAD or a branch with its base

Example prompts for the agent

  • Handle every review comment attached to this message and briefly report each change.
  • Open src/main.go at line 42 in the Rex editor.
  • Show the uncommitted changes from the Changes panel.

How to install rexmod

1Skills CLI (Vercel)

npx skills add alpcanaydin/rexmod --skill rexmod -a claude-code

2Manually: put the files in place

~/.claude/skills/rexmod/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rexmod/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about rexmod

How do I install rexmod in Claude Code?

Run npx skills add alpcanaydin/rexmod --skill rexmod -a claude-code. The skill is placed at ~/.claude/skills/rexmod/SKILL.md.

What does rexmod do?

It passes editor review comments to the agent, opens files at requested lines, and exposes change sets from Rex’s Changes panel.

What does rexmod need to run?

It needs Rex, the rexmod command at ~/.local/bin/rexmod, and the REX_SESSION environment variable supplied by the shell.

Source text

SKILL.md · MIT
---
name: rexmod
description: Work with the rexmod Changes panel and editor pane in Rex. Use when the user's message carries review comments from their editor, when you want to show the user a file or line in their editor pane, or when you need the change sets the panel shows (last turn, uncommitted, branch).
---

# rexmod

The user runs you in a Rex pane with rexmod: a Changes panel on the right of
the window, a Neovim editor pane beside you, and review comments they leave in
that editor. The `rexmod` command (`~/.local/bin/rexmod`) talks to all of it.
It finds this tab from `REX_SESSION`, which your shell already has.

## Review comments

Comments the user left for you arrive with their next message, as a list of
`file:line`, the code, and the comment. Treat each one as a request about that
exact spot: address every comment, then say briefly what you did for each.

To see what is still waiting (comments not yet delivered):

```sh
rexmod comments list --pending
```

## Show the user code

Open a file at a line in the editor pane next to you (it is created if
missing, and reused after that):

```sh
rexmod open path/to/file.go:42
```

Do this when you point the user at something specific: the bug you found,
the function you changed, the place they should review.

## Change sets

The panel's tabs as JSON (files with added/deleted line counts):

```sh
rexmod changes --mode last-turn     # what your last turn changed
rexmod changes --mode uncommitted   # working tree vs HEAD
rexmod changes --mode branch        # this branch vs its base
```

Don't edit the panel's state under `.git/rexmod/`; rexmod manages it.

© alpcanaydin · MIT · alpcanaydin/rexmod

Similar skills

All skills for Code review and refactoring →

Project sponsors

Companies that keep this analytics open