ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 lack435

cross-review-status

Claude Code 插件会在提示列上方绘制状态带,显示工作会话启动的 cross-review 审查和咨询,每项占一行并标出各自的进展。

lack435@lack435

lack435/simple-cross-model-review/tree/main/.claude/skills/cross-review-status

已翻译

关于这个 mod

cross-review-status 是一个 Claude Code 插件,会在提示列上方绘制状态带,逐行显示本次工作会话启动的每个 cross-review 审查和咨询,以及各自的进展状态(running/converged/changes_requested/escalate/failed 等,并用颜色和符号区分)。进行中的工作排在最前面并显示已用时间(执行期间每 5 秒重绘),后面是最近完成的 3 项;右侧的关闭按钮可以清除已完成的行。它不会改变任何工具调用或结果,只会监视 agent 对 cross_model_* 工具的调用和响应(review_id/session 行以及结果的结构化信封),对任何 MCP 服务器名称都能工作。安装时只需把文件夹复制到项目的 .claude/skills/ 或 ~/.claude/skills/,无需构建;也提供 claude plugin validate/test 命令用于验证和测试。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add lack435/simple-cross-model-review
claude plugin install cross-review-status
原文 / README

cross-review-status

A Claude Code mod that draws a band above the prompt showing the cross-review reviews and consults the session has started, one row each, and where each one stands:

cross-review  (running)   fix-autocrlf   t2  running 4m12s                    (x)
              (changes)   feat-x         t1  changes requested . 3 open
              (ok)        docs           t3  converged
              (failed)    other              RATE_LIMITED

Running jobs come first with their elapsed time (redrawn every 5s while one runs), then the three most recently finished. The close button at the right drops the finished rows. The band sits above whatever else is drawn there (another mod's band, the engine's own) rather than replacing it.

| Glyph (drawn as) | Meaning | | --- | --- | | U+27F3 cyan | running | | U+2713 green | converged, or a consult that was answered | | U+270E yellow | changes_requested, with the open-finding count | | U+26A0 red | escalate or rebaseline | | U+2717 red | the job failed, with its code (RATE_LIMITED, SESSION_BUSY, ...) | | U+2298 gray | cancelled |

The glyphs are written as \uXXXX escapes in the source, so every file in this folder is plain ASCII.

It is not part of the cross-review binary and the server knows nothing about it. It only watches the calls the agent makes to the cross_model_* tools and reads their responses: the review_id: and session: lines of a start, and the machine envelope of a result (structuredContent, or the CROSS_REVIEW_ENVELOPE_OUT block in the text). It never changes a call or its result. Any MCP server name works; it matches on the tool name's cross_model_* suffix.

Using it

In this repository it loads by itself: Claude Code loads a plugin from a project's .claude/skills/<name>/ folder. To use it in another repository, copy this folder into that repository's .claude/skills/, or into ~/.claude/skills/ to have it everywhere. Nothing is built or installed.

The mod API is early access and may change between Claude Code releases. If the band stops appearing after an update, run claude plugin validate .claude/skills/cross-review-status.

Developing it

claude plugin validate .claude/skills/cross-review-status
claude plugin test .claude/skills/cross-review-status

The tests feed the hooks canned server responses through the engine; they call no model. Claude Code writes the API's type declarations into .claude-plugin/types/ when it loads the mod (gitignored), which tsconfig.json extends for an editor.

更多类似作品