Whose Red logo

Whose Red

Community
okgrit
whose-red

Investigate whether a failing test run is caused by a change, was already broken on main, or is inconclusive, using matched branch and clean-main runs. Use when tests fail on a branch or PR, when an agent says 'this failure is pre-existing', or before retrying or reverting a fix.

Overview

Publisherokgrit
Repositorydone-is-a-claim
Skill namewhose-red
Stars
33
Forks
4
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by okgrit on GitHub. Read the source before you install it.

Installation

Install the Whose Red AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/okgrit/done-is-a-claim/tree/main/skills/whose-red
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/okgrit/done-is-a-claim.git /tmp/done-is-a-claim
mkdir -p .claude/skills
cp -r /tmp/done-is-a-claim/skills/whose-red .claude/skills/whose-red
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Whose Red in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Whose Red on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Whose Red is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Whose red is it

A red says the suite failed, not who failed it. The branch's log alone may not separate "the change is wrong" from "main was already broken". Use a matched control where possible, investigate differences, and report uncertainty before you retry, revert or block on the red.

Procedure

  1. Read the error text first. These errors can point to setup or command problems, but can also result from the change:

    • command not found, exit 127, a missing interpreter or tool;
    • file or directory not found for the test path itself (exit 4 in pytest);
    • no tests ran / nothing collected (exit 5 in pytest);
    • network, disk-full or permission errors. Check the paths, dependencies, configuration and relevant diff before assigning cause. A removed test path, changed tool requirement or broken setup may be a regression. A check that never ran is not a pass.
  2. Prepare a clean control. A scratch worktree detached at an explicit main commit, never your working checkout:

    bash
    git fetch origin
    git worktree add --detach ../control origin/main
    cd ../control && git rev-parse HEAD && git status --porcelain

    Quote the printed commit. git status --porcelain must print nothing.

  3. Match the experiment on both trees. Use the same command, paths, flags and environment. If narrowing a full-suite failure to files or tests, rerun that narrowed command on the branch before comparing it with main. If the failure depends on order or shared state, compare the full suite, including its order or seed. Record any unavoidable differences; they limit the verdict.

  4. Compare failure signatures and all failures in the matched scope. Test names alone do not identify a cause. Compare error text, failing assertion and relevant stack or context; check for additional branch failures.

    Control on mainVerdictDo
    Same failure signature on bothEvidence that this failure existed on the tested main commitReport the shared failure; assess extra failures or changed behavior separately; this does not exonerate the whole change
    Extra branch failures or a different signaturePossible additional regressionInvestigate each difference against the diff and matched runs
    Main green, branch redEvidence implicating the change in this scopeInvestigate the cause; repeat matched runs if nondeterminism is plausible
    Outcomes or counts vary between runsNondeterministic or otherwise inconclusiveRecord repeated matched outcomes and investigate variability; do not infer load sensitivity from a count alone
    Files exist only on the branch, or setup prevents comparisonNo direct matched control yetInvestigate the new test or setup; report the comparison as inconclusive rather than assigning cause by construction
  5. Check the base before retrying. Record the branch's base and the main commit tested. If a newer main could matter, test integration in a separate scratch worktree. Do not automatically rebase or modify the owner's branch.

  6. Record both runs. A verdict with one number in it is a guess:

    text
    command/scope: <matched command, environment, order or seed if relevant>
    red: <test id> — <failure signature>; extra branch failures: <ids or none>
    branch <commit>: FAIL   control main <commit>: PASS|FAIL
    verdict: evidence of pre-existing failure | additional regression | environment | inconclusive
    limits: <unmatched conditions, repetitions, or untested scope>

Main's own reds

Keep a short list of failures observed on main, including their signatures, commands and commits. Use it as a lead, not a standing exemption for other branches. Re-check it on the relevant main commit before using it to explain a new red, and retire entries once matched runs show them resolved.

Frequently asked questions

What does the Whose Red AI skill do?

Investigate whether a failing test run is caused by a change, was already broken on main, or is inconclusive, using matched branch and clean-main runs. Use when tests fail on a branch or PR, when an agent says 'this failure is pre-existing', or before retrying or reverting a fix.

Why use Whose Red on TypingMind?

Because you install it once and use it with any model. Whose Red is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Whose Red in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/okgrit/done-is-a-claim/tree/main/skills/whose-red. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Whose Red?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Whose Red?

As many as you like. As long as a model supports skills, you can use Whose Red with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Whose Red AI skill free?

Yes. It is published on GitHub by okgrit under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇