Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / review-inbox

review-inbox

Your GitHub work in a drawer: PRs waiting for your review, each summarized in plain language, your open PRs with their reviews, and your issues

Code you can checkTerminal + desktopPaneBandToastBoxButtonText
writes files, runs programs, draws

What it does

  • Draws a band above the prompt, a pane
  • Adds /review-inbox
  • Hooks session.start, ui.close
  • Starts processes

Good points

  • No network calls
  • Written in TypeScript
  • Handles errors

Code to start from

A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.

Starter (register.tsx)

register.tsx
import type { Register } from 'claude-code'

// Drawn like review-inbox by SummerRiversound (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/summerriversound-review-inbox/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const counts = '…'
    const oldest = '…'
    const open = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" justifyContent="space-between">
          <Box flexDirection="row">
            <Text color="subtle">
              {"▌ "}
            </Text>
            <Text bold>
              {counts}
            </Text>
            <Text dimColor>
              {oldest}
            </Text>
          </Box>
          <Button label={`${open}`} variant="primary" />
        </Box>
        {await next(e)}
      </Box>
    )
  })

  // the pane: open it with $.ui.open({ id: 'my-pane', title: "‹title›" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const title = '…'
    const statusLine = '…'
    const label = '…'
    const hidden = '…'
    const firstFetch = '…'
    const drafts = '…'
    const firstFetch2 = '…'
    const firstFetch3 = '…'
    const references = '…'
    return (
      <Box flexDirection="column" paddingX={1}>
        <Box flexDirection="row" justifyContent="space-between">
          <Text bold>
            {title}
          </Text>
          <Box flexDirection="row" gap={2}>
            <Text color="error">
              {statusLine}
            </Text>
            <Button label="↻" dimColor />
          </Box>
        </Box>
        <Box flexDirection="row" gap={1} marginY={1}>
          <Button label={`${label}`} />
          <Button label={`${label}`} />
          <Button label={`${label}`} />
        </Box>
        <Box flexDirection="column">
          <Box marginBottom={1}>
            <Button label={`${hidden}`} dimColor />
          </Box>
          <Text dimColor>
            {firstFetch}
          </Text>
          <Box flexDirection="column" marginTop={1}>
            <Box marginBottom={1}>
              <Text dimColor>
                {drafts}
              </Text>
            </Box>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Text dimColor>
            {firstFetch2}
          </Text>
        </Box>
        <Box flexDirection="column">
          <Text dimColor>
            {firstFetch3}
          </Text>
          <Box flexDirection="column" marginTop={1}>
            <Box marginBottom={1}>
              <Text dimColor>
                {references}
              </Text>
            </Box>
          </Box>
        </Box>
      </Box>
    )
  })
}

The mod's own code

Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.

hooks/register.tsx lines 545–567 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    if (e.viewport) terminalColumns = e.viewport.columns
    if (e.props.hasSurvey) return next(e)
    const hiddenMap = await read($, hidden)
    const reviews = (await read($, items)).filter(i => !i.isDraft && !isHidden(hiddenMap, i))
    const counts = bandLabels(bandCounts(reviews.length, await read($, mine), await read($, issues)), m)
    if (counts.length === 0) return next(e)

    const { Box, Text, Button } = $.ui.resolve(e)
    const now = Date.now()
    const oldest = reviews.length > 0 ? Math.max(...reviews.map(i => waitingDays(i.requestedAt, now))) : undefined

    return (
      <Box flexDirection="row" justifyContent="space-between">
        <Box flexDirection="row">
          <Text color={oldest === undefined ? 'subtle' : ageColor(oldest)}>▌ </Text>
          <Text bold>{counts.join(' · ')}</Text>
          {oldest !== undefined && <Text dimColor>{m.band.oldest(oldest)}</Text>}
        </Box>
        <Button key="open" label={m.band.open} variant="primary" onPress={() => void openDrawer($)} />
      </Box>
    )
  })
hooks/register.tsx lines 569–728 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const { Box, Text, Button, Link } = $.ui.resolve(e)
    const hiddenMap = await read($, hidden)
    const everything = await read($, items)
    const list = everything.filter(i => !isHidden(hiddenMap, i))
    const hiddenCount = everything.length - list.length
    const state = await read($, status)
    const now = Date.now()
    const ready = list.filter(i => !i.isDraft)
    const drafts = list.filter(i => i.isDraft)
    const active = await read($, tab)
    const myPrs = await read($, mine)
    const myIssues = await read($, issues)
    const addedKeys = [...(await read($, added)), ...(await read($, requested))]

    const card = (item: InboxItem) => {
      const days = waitingDays(item.requestedAt, now)
      const isAdded = addedKeys.includes(itemKey(item))
      return (
        <Box key={`card-${item.repo}-${item.number}`} flexDirection="row" marginBottom={1}>
          <Box width={1} flexShrink={0} backgroundColor={item.isDraft ? 'inactive' : ageColor(days)} />
          <Box flexDirection="column" paddingLeft={1} flexGrow={1}>
            <Box flexDirection="row" justifyContent="space-between">
              <Text bold>
                {item.repo} #{item.number}
                {item.isRerequest && <Text color="suggestion"> {m.card.rerequest}</Text>}
              </Text>
              <Text dimColor>
                <Text color={item.isDraft ? 'inactive' : days >= 3 ? ageColor(days) : undefined}>
                  {m.card.waiting(days)}
                </Text>
                {' · '}
                {item.team === undefined ? m.card.direct : m.card.team(item.team)}
              </Text>
            </Box>
            <Text dimColor wrap="truncate-end">
              <Link href={item.url}>{item.title} ↗</Link>
            </Text>

            {item.sinceLastReview && (
              <Box flexDirection="column" marginTop={1}>
                <Text color="suggestion">{m.card.sinceMyReview}</Text>
                <Text>{item.sinceLastReview}</Text>
              </Box>
            )}
            <Box flexDirection="column" marginTop={1}>
              <Text dimColor>{m.card.summary}</Text>
              <Text bold>{item.summary}</Text>
            </Box>
            {item.why && (
              <Box flexDirection="column" marginTop={1}>
                <Text dimColor>{m.card.why}</Text>
                <Text>{item.why}</Text>
              </Box>
            )}
            {item.impact.length > 0 && (
              <Box flexDirection="column" marginTop={1}>
                <Text dimColor>{m.card.impact}</Text>
                {item.impact.map(i =>
                  i.warn ? (
                    <Text color="warning">⚠️ {i.text}</Text>
                  ) : (
                    <Text>· {i.text}</Text>
                  ),
                )}
              </Box>
            )}

            <Box flexDirection="row" justifyContent="space-between" marginTop={1}>
              <Text dimColor>
                {item.author} · {m.card.size(item.files, item.additions.toLocaleString(), item.deletions.toLocaleString())}
              </Text>
              <Box flexDirection="row" gap={1}>
                <Button
                  key={`hide-${item.repo}-${item.number}`}
                  label={m.card.hide}
                  dimColor
                  onPress={() => void setHidden($, h => ({ ...h, [itemKey(item)]: item.headSha }))}
                />
                <Button
                  key={`review-${itemKey(item)}`}
                  label={isAdded ? m.card.added : m.card.review}
                  {...(isAdded ? { dimColor: true } : { variant: 'primary' as const })}
                  onPress={() => void addCard($, item)}
                />
              </Box>
            </Box>
          </Box>
        </Box>
      )
    }

    const prCard = (pr: MyPr) => (
      <Box key={`pr-${pr.url}`} flexDirection="row" marginBottom={1}>
        <Box width={1} flexShrink={0} backgroundColor={stateColor(pr.state)} />
        <Box flexDirection="column" paddingLeft={1} flexGrow={1}>
          <Box flexDirection="row" justifyContent="space-between">
            <Text bold>
              {pr.repo} #{pr.number}
            </Text>
            <Text>
              <Text color={stateColor(pr.state)} bold={pr.state !== 'waiting'}>
                {m.state[pr.state]}
              </Text>
              <Text dimColor>
                {pr.ciPending ? m.card.ciRunning : ''} · {m.card.waiting(waitingDays(pr.createdAt, now))}
              </Text>
            </Text>
          </Box>
          <Text dimColor wrap="truncate-end">
            <Link href={pr.url}>{pr.title} ↗</Link>
          </Text>
          {pr.newReviews.length > 0 && (
            <Text color="suggestion" wrap="truncate-end">
              {m.card.newReview(reviewers(pr))}
            </Text>
          )}
        </Box>
      </Box>
    )

    const issueCard = (issue: IssueItem) => (
      <Box key={`issue-${issueKey(issue)}`} flexDirection="row" marginBottom={1}>
        <Box width={1} flexShrink={0} backgroundColor={issue.kind === 'reference' ? 'inactive' : 'suggestion'} />
        <Box flexDirection="column" paddingLeft={1} flexGrow={1}>
          <Box flexDirection="row" justifyContent="space-between">
            <Text bold>
              {issue.repo} #{issue.number}
            </Text>
            <Text dimColor>
              {m.issueKind[issue.kind]} · {m.card.ago(waitingDays(issue.at, now))}
            </Text>
          </Box>
          <Text dimColor wrap="truncate-end">
            <Link href={issue.url}>{issue.title} ↗</Link>
          </Text>
          {issue.kind === 'reference' && (
            <Text dimColor>
              {m.card.referenced(issue.by ?? '', issue.target ?? '')}
            </Text>
          )}
        </Box>
      </Box>
    )

    const minutes = minutesSince(state.updatedAt, now)
    const statusLine =
      state.kind === 'loading'
        ? m.status.loading
        : state.kind === 'error'
          ? m.status.error(state.message ?? '')
          : minutes === undefined
            ? ''
            : m.status.updated(minutes)

    const references = myIssues.filter(i => i.kind === 'reference')
    const direct = myIssues.filter(i => i.kind !== 'reference')
    const tabs: { id: Tab; label: string }[] = [
      { id: 'review', label: m.tabs.review(ready.length) },
      { id: 'mine', label: m.tabs.mine(myPrs.length) },
Licence text (MIT)
MIT License

Copyright (c) 2026 SummerRiversound

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

How to build this: Pane (panel), Add a slash command

What its code calls

runs programswrites filesenv varsdrives Claude

What its code shows

Read from the source at commit 54fa40b89d1a on 2026-10-11. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.

Decides the listing: code you can check
Entry readEvery module hooks/hooks.json names was read.hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.13 files parsed
All its code is in the modEvery import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod
ReadableNo minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs
Calls in the openNetwork and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open
For you to weigh before installing
Where it drawsThe terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both
Install lineWhether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there
Programs on WindowsWhether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks
NetworkWhether every fetch names its https host in the code.no network
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.gh (reaches the network)
Reads and sendsWhether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables, files, settings.json, the prompt box and reaches the network
Keys in the sourceWhether the source holds what looks like an API key or a private key.no keys in the source
LicenceAn open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.MIT
Settings hooksHooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone
Servers it shipsMCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/
Skills, commands, agentsWhat its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows
Tools and MCPWhether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command
Asks of the modelCompletions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.model.complete, adds command review-inbox
Events it hooksBy what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (review-inbox) · also: session.start, ui.close, ui.render (AbovePrompt, Pane) · timers: clock.after, clock.every
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: HOME, USERPROFILE, CLAUDE_CONFIG_DIR, LC_ALL, LC_MESSAGES (+1); files: …/…; settings.json; the prompt box
Writes, by nameThe files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.files: …/…; the prompt box

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

From its marketplace

Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:

/plugin marketplace add SummerRiversound/review-inbox
/plugin install review-inbox@review-inbox
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (54fa40b89d1a). Compare them before you install. /reload-plugins loads it into a session that is already open.

Try the commit ModsCode read

No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:

git clone https://github.com/SummerRiversound/review-inbox
git -C review-inbox checkout 54fa40b89d1ae1a6172463b9105f05f8158d2ae3
claude plugin validate review-inbox
claude --plugin-dir review-inbox

The validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.

Ask Claude about it

With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:

Read the ModsCode mod "summerriversound-review-inbox" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

Badge for your README

If this is your mod, paste this into your README. It links to this page.

README.md
[![ModsCode](https://modscode.com/badge/summerriversound-review-inbox.svg)](https://modscode.com/claude-mods/mods/summerriversound-review-inbox/)