compare

compare is a command for coding agents 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

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

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.

agentmods
npx agentmods add commands/mims-harvard/tooluniverse/compare
Clone the repo
git clone --depth 1 https://github.com/mims-harvard/ToolUniverse

Or install tooluniverse, the plugin that ships this one along with the rest of its 47 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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00074 $0.01365
Opus 5 $0.00037 $0.00682
Sonnet 5 $0.00015 $0.00273
Haiku 4.5 $0.00007 $0.00136

Measured 4d ago against content hash 41e2a1303349, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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,670 stars, last pushed 2d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,365 once invoked, about $0.0004 per session on Opus 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.