REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
a code review TUI with vim keybindings
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/skills/agavra-tuicr)同じ作業で AI をサービスにつなぐ MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
同じ種類の作業。Skill 一覧と同じ並び
| これ tuicr | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | agavra | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub スター | 3,616 | 467,235 | 234,125 | 149,873 | 144,332 |
| 最終コード更新 | 2026年11月17日 | 2026年11月18日 | 2026年4月20日 | 2026年11月18日 | 2026年11月18日 |
| ライセンス | MIT | MIT | – | Apache-2.0 | MIT |
agavra による 1 個の Skill(指示セット)。AI が読んでそのとおりに作業します · MCP server ではありません
MCP = 手
AI を外部のサービスやデータにつなぎます(例:Notion を読む、請求書を作る)。プログラムやサーバーが動いている必要があります。
Skill = 手順書
作業のやり方を AI に教えるテキストファイル。どのサービスにもつながりません。
重なる部分もあります。ツールを呼ぶスクリプト付きの Skill や、知識だけを渡す MCP もあります。やりたい作業から選んでください。
CodexCursor
提供元の README と repo のフォルダから判断
GitHub account agavra (person), 13 years old
★ 3,616 stars · code last changed 2026年11月17日
6 scripts that can run on a computer: tuicr-wrapper-cmux.sh, tuicr-wrapper-herdr.sh, tuicr-wrapper-rex.sh, tuicr-wrapper-zellij.sh and 2 more
No internet calls found in the scripts
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 62d172d (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
まず:どの AI を使っていますか
使っているアプリを選ぶと、そのアプリでのインストール方法だけが表示されます
Files are byte-for-byte the same as on GitHub at commit 62d172d · View on GitHub ↗
6 scripts
Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip
All 8 files · 47 KB
SKILL.md14 KB_tuicr-common.sh3 KBtuicr-wrapper-cmux.sh5 KBtuicr-wrapper-herdr.sh6 KBtuicr-wrapper-rex.sh5 KBtuicr-wrapper-zellij.sh8 KBtuicr-wrapper.sh6 KBLICENSE1 KB+Create skillUpload a skillpick tuicr.zip
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
この文をコピーして Claude Code のチャットに貼り付けます
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Claude Code を開き直し、/tuicr と入力するか関連する作業を頼むと Claude が自動で使います
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
git clone --depth 1 https://github.com/agavra/tuicr.git /tmp/popnx-skill-agavra-tuicr-62d172d && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-agavra-tuicr-62d172d/skills/tuicr' ~/.claude/skills/tuicrChatGPT デスクトップアプリには Codex が組み込まれていて、Codex は ~/.agents/skills フォルダから Skill を読み込みます
ChatGPT デスクトップアプリで Codex を開き、この文をチャットに貼り付けます
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
tuicr フォルダを ~/.agents/skills/tuicr に置きます
~ はホームフォルダ($HOME)です
ターミナルを使わない場合:ZIP をダウンロードして展開し、tuicr フォルダを ~/.agents/skills に移動します
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
git clone --depth 1 https://github.com/agavra/tuicr.git /tmp/popnx-skill-agavra-tuicr-62d172d && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-agavra-tuicr-62d172d/skills/tuicr' ~/.agents/skills/tuicrChecked against official docs 2026年11月15日 · Source: learn.chatgpt.com
自分でインストールした Skill は使えません。ディレクトリのプラグインに含まれる Skill だけが使えます
この Skill を ChatGPT で使うには、上の方法で ChatGPT デスクトップアプリを使ってください
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
この文をコピーして Codex のチャットに貼り付けます · ChatGPT デスクトップアプリ内の Codex、Codex CLI、IDE 拡張機能で使えます
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex は新しくインストールした Skill を自動で見つけます。表示されない場合は Codex を再起動してください · 使い方:ChatGPT では @ を入力して Skill を選びます · Codex CLI や IDE 拡張機能では /skills を実行するか、$ に続けて Skill 名を入力します
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
git clone --depth 1 https://github.com/agavra/tuicr.git /tmp/popnx-skill-agavra-tuicr-62d172d && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-agavra-tuicr-62d172d/skills/tuicr' ~/.agents/skills/tuicrこの文をコピーして Cursor のチャットに貼り付けます
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Cursor の Agent チャットで / を入力し tuicr を選ぶ
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
git clone --depth 1 https://github.com/agavra/tuicr.git /tmp/popnx-skill-agavra-tuicr-62d172d && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-agavra-tuicr-62d172d/skills/tuicr' ~/.cursor/skills/tuicrSkill を読めるほかのアプリ向けです。この文には Claude Code、Codex、Cursor のパスが入っていて、AI が使っているアプリに合わせて選びます · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
Gemini CLI や GitHub Copilot など Agent Skills 対応の他のアプリはフォルダが違います。そのアプリのガイドを見て、SKILL.md のあるフォルダをコピーしてください。
2026年11月11日 に Claude Code、Codex、Cursor の公式ガイドで skill フォルダを確認
✓ コマンド確認済み 2026年11月18日
以下は提供元の repo の文章で、PopNx MCP の指示ではありません
最初の 8,000 文字を表示 · GitHub で全文を開く
---
name: tuicr
description: Use tuicr's review CLI to read and add comments in active TUI review sessions, and launch tuicr in cmux, Rex, tmux, Zellij, or Herdr when a user needs an interactive review pane.
---
# tuicr Review Workflow
Use `tuicr review` as the default agent interface. The TUI is where the human
reviews code; the CLI is how the agent discovers active sessions, reads user
comments, and, only when appropriate, adds agent-authored comments.
## Core Rule
First decide which workflow the user is asking for:
1. **User-led review of agent-generated changes**
- The user wants to inspect the patch and write comments in tuicr.
- Your job is to open or find the session, then retrieve the user's comments
with `tuicr review comments` when they say comments are ready. If you are
explicitly waiting while the user reviews, poll the same command
periodically and look for new comment IDs.
- Do not add your own review comments, do not preemptively review your own
patch, and do not impersonate the user's comments.
2. **Agent review of an AI-generated patch**
- The user wants you to understand, critique, or summarize a patch.
- You may inspect the patch and propose findings.
- If you can confidently identify this workflow and the target session, add
findings directly with `tuicr review add` and an explicit `--username`
identifying the agent. Ask first when the workflow or session is ambiguous.
If the user's intent is ambiguous, ask which workflow they want.
## Attach To A Session
1. Determine the repository directory from the user's request, current working
directory, or recent file operations. Ask if it is ambiguous.
2. List persisted sessions:
```bash
tuicr review list --repo /path/to/repo # checkout + its repo's PR sessions
tuicr review list --repo owner/repo # all sessions for a forge repo
tuicr review list --all # every session across all repos
```
`--repo` is a selector: a checkout path also surfaces PR sessions for that
checkout's `origin` repo, and a forge coordinate like `owner/repo` matches
local and PR sessions by owner/repo. Each row carries a `kind` (`local` or
`pr`) and a usable `slug`. Use `--all` when you don't know the repo.
`[]` with exit 0 also means "not a repo root" — a subdirectory returns it
too. Pass the root, then `--all`, before concluding nothing is open.
3. Choose the session:
- If the CLI clearly reports exactly one relevant active session with
`"active": true`, attach to it.
- If multiple sessions are active, or the correct session is not clear, ask
the user which slug to use. One repo can hold a worktree and a
commit-range session at once, and adding to the wrong one exits 0.
- If the user provided a slug or session JSON path, use it directly.
- For a PR review, pass the PR slug from the listing (e.g.
`gh:owner/repo/pr/N`) to `--session`; it is self-contained and needs no
`--repo`.
- If there is no active session, start or wait for one as described below.
- Until active-session discovery is formalized as a stable protocol, treat
`"active": true` as a convenience signal. If slug resolution fails, ask the
user for the slug or repo path used by the session.
The CLI works even if the agent is not running inside tmux, Zellij, or Herdr,
so do not require a multiplexer just to connect to an existing active session.
## Start A Session
When the user needs an interactive tuicr pane and no active session exists:
| Environment | Action |
|-------------|--------|
| `$CMUX_WORKSPACE_ID` is set | Run `tuicr-wrapper-cmux.sh /path/to/repo -- <scope>` |
| `$REX_SESSION` is set | Run `tuicr-wrapper-rex.sh /path/to/repo -- <scope>` |
| `$TMUX` is set | Run `tuicr-wrapper.sh /path/to/repo -- <scope>` |
| `$ZELLIJ` is set | Run `tuicr-wrapper-zellij.sh /path/to/repo -- <scope>` |
| `$HERDR_ENV` is `1` | Run `tuicr-wrapper-herdr.sh /path/to/repo -- <scope>` |
| None is set | Tell the user you are waiting for them to start `tuicr` in the repo, then attach with `tuicr review list` after they say it is ready |
`<scope>` is `-w` for uncommitted working-tree changes or `-r <revset>` for a
commit range — always pass one explicitly so the user is never left to pick
staged/unstaged/commit-range manually in the TUI.
If more than one multiplexer marker is set, prefer the innermost multiplexer if
that is clear; otherwise ask. cmux hosts a Ghostty terminal, so `$TERM_PROGRAM`
reads `ghostty` inside cmux — check `$CMUX_WORKSPACE_ID`, not the terminal name.
tuicr supports both git and Jujutsu (jj) repositories, and jj workspaces may
have no `.git` directory at all. Do not pre-check the directory with
`git rev-parse` or refuse to launch because git does not recognize it; always
run the wrapper and let it validate the repository.
Wrapper paths are relative to this skill directory:
```bash
<skill-directory>/tuicr-wrapper-cmux.sh /path/to/repo -- -w
<skill-directory>/tuicr-wrapper-rex.sh /path/to/repo -- -w
<skill-directory>/tuicr-wrapper.sh /path/to/repo -- -w
<skill-directory>/tuicr-wrapper-zellij.sh /path/to/repo -- -w
<skill-directory>/tuicr-wrapper-herdr.sh /path/to/repo -- -w
```
The Herdr wrapper requires `jq` to read pane IDs and completion results from
Herdr's JSON responses. The Rex wrapper requires `jq` to read the new block ref
from `rex split --json`.
Every wrapper accepts pass-through tuicr arguments after `--`, which is how
you scope the review instead of leaving the scope selector for the user to
fill in — for example `-- -w` for uncommitted working-tree changes or
`-- -r <revset>` for a commit range. Always pass one of these explicitly when
launching a review pane.
If your tool supports command timeouts, use a long timeout, such as 10 minutes,
because the tmux, Zellij, and Herdr wrappers wait for the TUI to exit. The cmux
and Rex wrappers are the exception: they return as soon as the pane is running.
When another tuicr is already open where the new pane would go (the caller's
tmux window; the same repository under Zellij), the tmux and Zellij wrappers
wait for it to close before opening a new pane, for up to `TUICR_WAIT_TIMEOUT` seconds (default 300). If it is still open
after that, they exit 75 without opening anything: rerun the command, and don't
treat it as an empty review. A tuicr in another tmux window, such as another
agent session's, doesn't make the tmux wrapper wait.
The cmux wrapper prints the new surface ref between `=== TUICR SURFACE ===`
markers; capture it to close the pane later with
`cmux close-surface --surface <ref>`. The Rex wrapper prints the new block ref
between `=== TUICR BLOCK ===` markers; capture it to close the block later with
`rex block close <ref>`.
Once the TUI creates its active session, use
`tuicr review list --repo /path/to/repo` to capture the slug. If your
environment cannot run another command while a blocking wrapper is waiting,
read the comments after the user exits tuicr.
## Reconstruct The Diff
To review a patch yourself, rebuild the diff the user sees. The slug's source
segment says which:
| Slug segment | Diff |
|--------------|------|
| `worktree/<head>`, `staged-and-unstaged/<head>` | `git diff HEAD` |
| `staged/<head>` | `git diff --cached` |
| `unstaged/<head>` | `git diff` |
| `commits/<base>..<head>` | `git diff <base>~1..<head>` |
| `pr/<n>` | `gh pr diff <n>` |
| `pristine` | none; every tracked file shown in full |
Range endpoints are inclusive and printed oldest-first, so `<base>` without
`~1` drops the first commit. Check the file count against the listing row's
`file_count`; a mismatch means every line number you derive will be wrong.
## Read User Comments
This is the main review loop for user-led review.
There is no push stream from tuicr to the agent. Read comments by running the
CLI on demand. After the user says comments are ready, or after the TUI exits,
run:
```bash
tuicr review comments --repo質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。