compare

compare is a command for Claude Code from mims-harvard/ToolUniverse. It costs 74 tokens per session (1,365 once invoked), scanned A, original, Apache-2.0.

A command for comparing several items in fields suited to their domain, such as drugs, genes, diseases, or clinical trials.

In plain words
What is it for?
Comparing treatments, biological targets, diseases, genetic variants, cell lines, or clinical trials.
Why use it?
It puts alternatives into the same table with aligned information and sources, making differences easier to evaluate.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the tooluniverse plugin — 164 skills, 8 commands, 1 agent, 1 hook, 1 MCP server shipped together

Good fit Comparing treatments, biological targets, diseases, genetic variants, cell lines, or clinical trials.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mims-harvard/tooluniverse/compare
About the project

ToolUniverse is a collection of tools, interfaces, and supporting components for building AI systems that perform scientific work. It is for developers creating AI scientist agents that use APIs, databases, machine-learning tools, and domain-specific utilities. The catalogue includes skills, commands, an MCP server, an agent, and a hook for working with the ecosystem.

mims-harvard/ToolUniverse · 1,813 stars · on GitHub · aiscientist.tools

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mims-harvard/ToolUniverse

Made for: Claude Code.

Or install tooluniverse, the plugin that ships this one along with the rest of its 164 skills, 8 commands, 1 agent, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for compare

README.md
[![agentmods](https://agentmods.dev/badge/commands/mims-harvard/tooluniverse/compare/github.svg)](https://agentmods.dev/commands/mims-harvard/tooluniverse/compare)
Your own site
<a href="https://agentmods.dev/commands/mims-harvard/tooluniverse/compare"><img src="https://agentmods.dev/badge/commands/mims-harvard/tooluniverse/compare/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for compare

Your own site · 80×15
<a href="https://agentmods.dev/commands/mims-harvard/tooluniverse/compare"><img src="https://agentmods.dev/badge/commands/mims-harvard/tooluniverse/compare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.01365
Opus 5.5 $0.00030 $0.00546
Sonnet 5.5 $0.00015 $0.00273
Haiku 4.5 $0.00007 $0.00136

Measured 3mo ago against content hash 41e2a1303349, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compare scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/commands/compare.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Compare these items side-by-side: $ARGUMENTS

Comparison ≠ profile-each-then-merge. The structure has to be decided up front (what columns? what dimensions?), the data has to be aligned (same units, same date range, same reference), and the output has to be a TABLE the user can act on, not a stack of paragraphs.

Process

1. Detect domain

Inspect the items to figure out what KIND of things they are:

Items look like Domain Column set
Generic drug names, kinase inhibitors, mAbs drug mechanism, target(s), approved indications, key trials, AE profile, FDA status, dosing
Gene symbols (BRCA1, TP53, KRAS) gene/target function, disease associations, druggability, # approved drugs targeting, mutation frequency in cancer
Disease names, syndromes disease prevalence, key genes, treatments, ICD codes, clinical trials count
Variants (V600E, R175H) variant gene, amino acid change, pathogenicity, frequency (gnomAD), drug sensitivity, evidence tier
Clinical trial NCT IDs trial phase, indication, intervention, enrollment, status, primary endpoint, sponsor
Cell lines cell line tissue, mutations, drug sensitivity, source

If items mix domains (e.g., "BRCA1, alpelisib"), ask the user what comparison axis they want — drug-vs-target makes no sense as a row-aligned table.

If domain isn't obvious, look up the first item: find_tools with the item name, see what kind of tool matches. Drug-tools → drug; gene-tools → gene; etc.

State the detected domain in one line before continuing.

2. Decide the column set

Use the table above as the default. Ask yourself: what's the user actually trying to PICK BETWEEN? Drop columns that don't help discriminate (e.g., if all items have the same FDA status, drop that column). Keep 5-8 columns max — more becomes unreadable.

If the user's prompt gave a hint ("compare on safety"), bias the column set toward that axis (more safety columns, fewer mechanism columns).

3. Gather data per item, per column

Read the full file on GitHub · 119 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 119 lines · 74 tokens per session scan A 41e2a1303349

Subscribe to this mod's changes

compare is a command published in the GitHub repository mims-harvard/ToolUniverse (1,813 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 1,365 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

compare compared with commands from other repositories

compare next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
comparemims-harvard/ToolUniverseCommand1.8kyesterdayApache-2.0A74Claude Code
leakage-checkyeaight7/agent-powerupsCommand102mo agoApache-2.0A10Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code