What it is. Options side by side on the same criteria, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. Ask for it in plain words: “Compare these four CRM tools in Artifacts on price, seats, integrations and support, with a verdict.” It stays a live item at its own link in the space, and the space’s owner can publish it as a web page anyone can open. See one an agent made: Task chair comparison, four real chairs side by side, with a verdict.
Agents read this guide with the guide tool, topic compare, before they first make a comparison. It is shown here word for word, so people and their agents work from the same method.
- Guide topic
compare- Tools
- 4 tools
A comparison puts a few options — products, tools, vendors, plans, hotels, candidates — side by side on the same criteria, so a team can decide. People see two views:
- Cards: the pick first and large — its picture, "Our pick", the verdict, who it is best for, its highlighted values, pros and cons, and its button; then a card for each other option with its picture, badge, who it is best for, its highlighted values, summary, pros and cons, and its button. With no pick, the verdict stands at the top on its own.
- Table: the criteria in rows (grouped), the options in columns with their picture, badges, who they are best for and their button in the header, the criterion names fixed on the left. The best value in each row is green with a check; the pick's column is marked. "Differences only" hides rows where every option is the same.
People with edit access change it too: Add an option or a criterion; double-click a value to set it
(typed by its criterion, or "Looked, not found", with a note and a source) or clear it; double-click an
option or a criterion (or its ⋯ menu) to edit it, make an option the pick, move it, or delete it (with
Undo). So the comparison you made may not be the one that is there now: read_compare before every
change. People comment on an option or on one value.
The tools: create_compare (title, subtitle, verdict, criteria, options with values), read_compare
(criteria keys, option ids, values, the best per criterion, what is missing), update_compare (add,
change, remove and reorder criteria and options; set or clear single values), render_compare
(screenshots of both views and checks).
Order of work
- Name the decision and who makes it: "Which laptop for the design team, under $2,000". The criteria come from that decision, not from what one product page lists.
- Choose the criteria: five to fifteen, grouped ("Pricing", "Performance", "Support"), each typed; mark which way is better; highlight the three or four that decide it.
- Choose the options: two to twelve; three to six read best. Only real, current options.
- Research every value from pages you read: the product or pricing page first, then spec sheets and
reviews. Keep the address of each: it is the value's
source. create_comparewith the criteria, then the options and their values.render_compare; fix what the checks name and what looks wrong; render again.- Give the person the URL, the pick and why, and what you could not find.
Criteria
type | Values | Example |
|---|---|---|
money | a number in currency (default USD) | price 1299 → "$1,299" |
number | a number, with unit | battery 18, unit "hours" → "18 hours" |
percent | a number: 12.5 for 12.5% | uptime 99.9 |
rating | 0 to max (default 5) | 4.6 → "4.6 / 5" |
yes_no | true or false | free trial: true → "Yes" |
text | a few words | "Aluminium", "Email and chat" |
- Numbers go in number types, never in text: "$1,299" is
money1299, "18 hours" isnumber18 with unit "hours". Only then can the table line them up and mark the best; the checks name text criteria whose values are numbers. better: "lower" for price, weight, latency; "higher" for battery, storage, ratings; on yes/no, which answer is better. Leave it off where neither is better, and on text.highlightthe three or four criteria that decide it: they show on the cards.grouprows that belong together; the table shows each group under its heading.keyis the criterion's id in values (lowercase, digits, _), made from the label when left out.notesays what it means or how it was measured: "list price, one seat, billed yearly".
Values
- Every value comes from a page you read, with that page as
source. Never fill a value from memory. nullwhen you looked and did not find it: the table says "Not found". Do not guess, and do not leave the key out (left out reads as not looked at yet, a "—").notefor what qualifies it: "with the 2-year plan", "in the EU", "tested by Wirecutter".imageon a value when a picture says it better than words — the case, the colour, the screen: the address of an image on the page you read. It shows above the value in the table (small on the cards).- Values on one criterion must be comparable: the same unit, plan level, currency, region. When they are not, say so in the note.
Options
title(its name),subtitle(maker, plan, year),summary(two sentences: what it is),best_for(who or what it suits, in a few words: "small teams on a budget"),urlandlink_label(its button: "Buy at Apple", "See pricing").image: a picture of it, the address of an image on its page. Left out, Artifacts uses the picture theurl's page offers for previews (its og:image), when it has one; the reply listsimages_from_pages. Check the picture inrender_compare: a page's preview picture can be a banner rather than the product; giveimageyourself when it is.badge: a second label, as reviewers use them — "Runner-up", "Budget pick", "Upgrade pick" — on at most two or three options. The pick has its own.- Give every option the same parts — all summaries, all pros and cons, all
best_for— so the cards line up; the checks name the ones missing. prosandcons: short and specific, from the values or reviews: "Best battery of the five: 22 hours", not "Good battery".- At most one
pick. Its card shows theverdict, so the verdict is the reason it is the pick;whyis shown only when there is no verdict. With no clear winner, no pick: say why in the verdict.pick: trueon another option moves the pick there. - Order them to be read: the pick first, then by how well they fit.
Verdict
Shown once: on the pick's card, or at the top when there is no pick. Two or three sentences that cite the values: the answer to the decision, the trade-off, and when another option would be the better choice. "The Air is the pick for most of the team: lightest, cheapest, and within an hour of the best battery. Choose the Pro 14 if you edit video."
From the data-visualization skill (NTCoding/claude-skillz, data-visualization/SKILL.md), the parts that
apply to a comparison:
- Annotate the insight, not just the data — "Sales peaked in Q3" not just "Sales over time"
- Provide context — Benchmarks, historical reference, targets
- Data tables — Provide as fallback for all charts
- Text summaries — Describe key insights
🚨 Never rely on color alone. 8% of men are colorblind. Use shape, pattern, or labels as backup encoding.
(In Artifacts: the insight is the verdict, the pick's why and the pros and cons; context is the note on a value or criterion; the best value carries a check as well as its color.)
An example
The products and numbers here are made up; yours come from the pages you read.
Checking it
render_compare shows the cards and the table and lists: values with no value yet, not found, or without a
source; text criteria whose values are numbers; options missing a summary, pros or cons, an image or a url
that others have; a missing pick or verdict; no or too many highlighted criteria. Fix each, then look at the
screenshots: titles and values readable, the cards about the same length, the best marks where you expect
them.
Changing it
read_comparefirst: people may have edited values, moved options or changed the pick.update_compare:add_criteria,change_criteria(by key;""clears a field; values must fit a new type),remove_criteria,order_criteria,add_options,change_options(by id; values merge by key),remove_options,order_options,set_values(one value: option, criterion, value —nullfor not found —, note, source),clear_values(back to no value). One call is applied all or nothing; the reply lists the criteria keys and option ids, and what was added.
Comments
People comment on an option or on one value. list_comments shows the option (and criterion) in the
anchor; answer with reply_comment, fix it with update_compare (set_values for one value), and
resolve. To start a thread yourself, comment with option (id or number) and, for one value,
criterion (its key).