mouseketool

Before you build something new, find out whether it already exists.
Context. Built in November 2026 as a personal project, about two months after I started as an AI Engineer at Inditex. It belongs to my latest phase on GitHub: tools built with coding agents (Claude Code, opencode) to production standards, with CI, tests, releases, an architecture contract and evals.
When you tell your coding agent you want to build a new tool, app or library, mouseketool searches GitHub for projects that already do it. It checks them for real: their health, their license, and the code behind each README's claims. Then it answers with a verdict against your requirements: reuse, adapt, use as a base, or build from scratch.

How it works
- An MCP server does the mechanical work and makes no judgment:
- many GitHub searches in one call;
- repository inspection: README, files, activity, releases, issues, contributors and license, plus plain health signals;
- file reads.
- An Agent Skill teaches your agent the method:
- separate the must-haves from the nice-to-haves;
- search from several angles;
- inspect the mature candidates;
- confirm in the code what the verdict relies on;
- answer verdict first, with pros and cons per candidate.
The skill triggers by itself when you want a new reusable tool to exist, and stays silent on small tasks such as a one-off script, a fix or a new flag. mouseketool has no LLM of its own: your agent's model does the judging.
Install
You need Node 24 or later and a GitHub token.
curl -fsSL https://raw.githubusercontent.com/iDiagoValeta/mouseketool/v1.2.4/install.sh | sh
This installs the latest release of mouseketool for every supported agent on your machine:
- Claude Code: installed as a plugin, through Claude Code's own marketplace commands, pinned to that release.
- opencode: the release goes to
~/.local/share/mouseketool, the skill to ~/.config/opencode/skills/, and the server to your opencode.json.
Neither the script nor what it installs comes from main: a change reaches you only once it is released, and the repository's releases are immutable, so a published version cannot be replaced. Run the same command again to move to the latest release. To uninstall:
curl -fsSL https://raw.githubusercontent.com/iDiagoValeta/mouseketool/v1.2.4/install.sh | sh -s -- --uninstall
With Claude Code alone you can also skip the script:
claude plugin marketplace add iDiagoValeta/[email protected]
claude plugin install mouseketool@mouseketool
and uninstall with:
claude plugin marketplace remove mouseketool
GitHub token
mouseketool only reads public repositories, so it needs a token that can do nothing more. The server takes the first one it finds:
MOUSEKETOOL_GITHUB_TOKEN.
- The file
~/.config/mouseketool/token ($XDG_CONFIG_HOME/mouseketool/token when that is set).
GITHUB_TOKEN.
- The token of
gh auth login. It usually carries scopes such as repo and workflow, which can write to every repository you can reach, private ones included.
Recommended: a fine-grained token with repository access "Public repositories" and no permissions added, saved in the file. The file works however your agent starts, while a variable exported in your shell profile only reaches agents started from a terminal, not from a desktop app. This asks for the token without showing it and saves it readable by you alone:
read -rs "t?GitHub token: " && echo && mkdir -p -m 700 ~/.config/mouseketool && (umask 077 && printf '%s\n' "$t" > ~/.config/mouseketool/token) && unset t
That line is for zsh; in bash, use read -rsp "GitHub token: " t instead.
When the token in use can write, the server says so on stderr at start. That check reads the X-OAuth-Scopes header, which only classic and gh tokens send.