connect-four

connect-four is a Claude Code mod by MDmubarak786 that connect Four against Claude, in a pane. Press a column's digit to drop a disc; Claude answers in half a second at three levels, from beatable to a seven-move lookahead. Zero tokens.

Updated 2026-10-16

What is connect-four?

connect-four is a Claude Code mod by MDmubarak786 that connect Four against Claude, in a pane. Press a column's digit to drop a disc; Claude answers in half a second at three levels, from beatable to a seven-move lookahead. Zero tokens. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
AuthorMDmubarak786
RepositoryMDmubarak786/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (100/100)
Rank#3,941 of 5,272 Claude Code mods; #742 in Cost & usage
LicenseMIT
Last commit2026-10-16
Hooks5 events
Seesclassic hooks
Draws onPane

Is connect-four safe to install?

connect-four scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.session.surfaces
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install connect-four?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/MDmubarak786/claude-mods
    claude plugin validate ./claude-mods/mods/connect-four
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add MDmubarak786/claude-mods && claude plugin install connect-four@modhub

Or ask Claude to set it up

Paste this into Claude Code and it installs connect-four for you:

Install the "connect-four" Claude Code mod from https://github.com/MDmubarak786/claude-mods/tree/main/mods/connect-four. Run claude plugin validate on it first and show me what it can access before you enable it.

More from MDmubarak786/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • big-output: Keep huge shell output out of the context window. A Bash result over a threshold is saved to a file and Claude gets its (Review before installing)
  • bingo: Classic 75-ball bingo, you against Claude. Numbers are called, you mark your card and shout Bingo first; Claude plays a (Low risk)
  • circuit-breaker: Stop Claude from retrying the same failing shell command over and over. After N identical failures the next attempt is h (Low risk)
  • copy-last: Copy Claude's last reply, or its last code block, to the clipboard as clean Markdown with /copy, with no terminal indent (Low risk)
  • ding: Play a sound and post a desktop notification when Claude finishes a turn or needs you to answer a question or a permissi (Low risk)
  • dino: The Chrome dinosaur runner in a pane. Press w to jump the cacti; the ground speeds up as you go, and your best distance (Low risk)
  • fence: Limit which paths Claude may edit in a project with one /fence command. Edits outside the fence are refused with a reaso (Low risk)
  • game-2048: 2048 in a pane. Slide tiles with w, a, s and d, merge equal numbers, reach 2048. One undo, a best score that survives re (Low risk)