ClaudeCodeMod

All shelves / Mods / Workflow

redgreen

By hellosverre

redgreen is a Claude Code workflow mod by hellosverre.

Opens a Tests pane when a test run Claude starts fails, with each failure's assertion and diff and the runs before it, and puts the count on the status line.

Draws

Install

The marketplace name is redgreen.

In Claude Code
/plugin marketplace add hellosverre/redgreen
/plugin install redgreen@redgreen
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
MIT
Repo stars
5
Last change
2026-10-10

What it can reach

  • Draws in the session
  • Sees tool calls

Needs Claude Code 2.1.293 or later, in a terminal or the desktop app's Code tab. Restart Claude Code after installing; there is nothing to set up. It reads vitest, jest, pytest, cargo, go, bun, and deno, and scripts that wrap them, such as npm test, make test, tox, and nox. The history keeps the session's last 50 runs. /tests opens the pane on the latest run, and /tests clear empties the history. claude --plugin-dir . runs it from a clone.

The marketplace, redgreen, holds only this plugin, from the repo root. This one installs on its own. Following test runs is why this page files it under workflow. test-hud draws each test run on the status line, passing over total with a sparkline of failures, and a pane of the tests that failed. test-pulse draws pass or fail on the status line, toasts when the suite flips, and marks flakes. This one opens its Tests pane on its own only when a run fails, shows the picked failure's assertion, diff, and code frame, and steps through the session's runs as red and green blocks. When Claude Code cut a long output short, it reads the full copy Claude Code saved to disk. It only reads: no network, no files written, and it never changes a command, its output, or what the model sees. In the source, Bash and PowerShell calls are read in tool.call hooks, and the pane is opened with $.ui.open.

Demo

The author's demo, drawn by the author's script from redgreen's own reading of a sample test run, not a screen recording: Claude runs vitest, three tests fail, the Tests pane opens with the failures and the picked one's assertion diff, expected 13.5 to be 14, and the status line reads tests ✗ 3/4; after Claude's fix the rerun reads All 4 tests passed and the status line turns to tests ✓ 4.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/tests
  • tool.callAround a tool call, where it can hold oneBashPowerShell
  • ui.renderDraws into the sessionPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /testsShow test results: failures, their detail and run history (/tests clear empties it)

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
hellosverre
Category
Workflow
Marketplace
redgreen
Repo
hellosverre/redgreen
Version
0.1.0
License
MIT
Repo stars
5
Last change
2026-10-10
Language
TypeScript
Files
21

Other mods in Workflow

desk-asanaKyongSik-YoonOpens your Asana tasks in a side pane by project, with each task's details and comments. Comment, reassign, set fields, or hand a task to Claude.desk-slackKyongSik-YoonOpens the Slack DMs sent to you in a side pane, newest first, with each conversation's last 30 messages and threads, a reply box, and a notice for new ones.catch-me-upoliverowOpens a side pane with a catch-up summary of the session, which Haiku updates after each turn with tools: why it started, what was done, and what needs you.conveyynqaOpens a form for a prompt template in .claude/convey/, with choices from a list or from a command such as git or kubectl, and fills the prompt box.pairMint-SecurityShares this session with one guest, peer to peer over Syncthing: they watch it live in a pane and can message your Claude, with a band and status line for you.pr-relayHolyGrailChecks the session's pull request once a minute and wakes the session when it is merged or Codex reviews it, with toasts and a cleanup button above the prompt.relay-barhoobnnDraws a row per agent that agent-relay dispatched, such as codex or grok, under the Bash call or above the prompt, with toasts and a /relay pane of each run.session-bookmarkspromptadvisersSaves a bookmark of this session with a title and a note, and opens a pane to find one and copy the command that resumes it in a new terminal.ruview-liveruvnetOpens a /ruview pane beside the transcript with your RuView WiFi sensing nodes and radar kit, refreshed on a timer, plus a one-line status.ruflo-consoleruvnetOpens ruflo's cockpit under /ruflo, with pages for missions, swarms, cost, events, and your project's ADRs, and draws a band above the prompt.ruflo-modsruvnetHolds a commandRoutes each prompt in-process with ranked memory as context, tightens tool checks from ruflo policy, draws a ruflo status line, and can toast a cost budget.ruflo-swarmruvnetDraws a live pane of a ruflo swarm beside the transcript: a tile per agent and subagent, the topology, tasks, votes, cost, and buttons that act through the CLI.
All 396 in Workflow