which-to-buy

which-to-buy is a skill for Claude Code, Codex from mostafa-drz/claude-skills. It costs 52 tokens per session (2,517 once invoked), scanned A, original, MIT.

A product-comparison workflow that researches two to five items and places their specifications, prices, differences, and a recommendation on one page. It is intended for deciding what to buy, not for purchasing anything.

In plain words
What is it for?
Use it for requests such as comparing headphones, choosing a product under a budget, or deciding between several named products or links.
Why use it?
It removes the need to open many tabs and compare product details by hand. The recommendation is based on the buyer's stated priorities rather than a generic ranking.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for requests such as comparing headphones, choosing a product under a budget, or deciding between several named products or links.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mostafa-drz/claude-skills/which-to-buy
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.

Any agent
npx skills add mostafa-drz/claude-skills --skill which-to-buy
Clone the repo
git clone --depth 1 https://github.com/mostafa-drz/claude-skills

Made for: Claude Code, Codex.

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 which-to-buy

README.md
[![agentmods](https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/which-to-buy/github.svg)](https://agentmods.dev/skills/mostafa-drz/claude-skills/which-to-buy)
Your own site
<a href="https://agentmods.dev/skills/mostafa-drz/claude-skills/which-to-buy"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/which-to-buy/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 which-to-buy

Your own site · 80×15
<a href="https://agentmods.dev/skills/mostafa-drz/claude-skills/which-to-buy"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/which-to-buy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,517 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.00052 $0.02517
Opus 5.5 $0.00021 $0.01007
Sonnet 5.5 $0.00010 $0.00503
Haiku 4.5 $0.00005 $0.00252

Measured 19d ago against content hash 132737c8856b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

which-to-buy 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 19d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/render_page.py, scripts/validate_compare.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

desktop/which-to-buy/SKILL.md · 199 lines

How it starts

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

Which to buy

Buying something shouldn't take eleven tabs. This skill researches 2–5 products, lines their specs up side by side on one calm page, shows where they actually differ, and puts a recommendation on top that's picked for what matters to you, not for a generic "best". When you want to dig in, every product and question on the page copies a ready-made prompt you paste back into this chat.

It starts automatically when the request matches: "Sony XM6 vs Bose QC Ultra", "which robot vacuum should I get under $500?", "compare these three" plus links. It's not for browsing a whole category (it asks you to narrow to five), and it never buys anything.

One reference, read it every run: research.md (where specs and prices come from, what to compare, how to pick). Data shape: evals/example-compare.json. Defaults: Configuration, at the end of this file.


The flow

Compare progress:
- [ ] 0. Settings: the chat, then saved settings in memory, then Configuration
- [ ] 1. Frame: what, which candidates (2-5), what matters, budget
- [ ] 2. Research: specs and prices, each value with its source (research.md)
- [ ] 3. Choose rows: what differs and what matters, 8-14 rows
- [ ] 4. Pick: for this person's priorities, with the rows that decide it
- [ ] 5. Write compare.json → validate → render → show the page
- [ ] 6. Close: two lines, then stay in the chat for follow-ups

0. Settings

Look in memory for the line starting "which-to-buy settings:" (country, currency, stores to skip, standing priorities such as "quiet matters more than power"). What the user says in this chat wins, then the saved settings, then Configuration.

1. Frame

Work out, from the chat first:

  • What is being bought, and the candidates. Use the ones named or linked. If only a category is given ("a robot vacuum"), shortlist 3 from current, well-reviewed options in the budget and say why each made the list. More than five named: ask which to drop, or keep the five closest to the stated priorities and say which were left out.
  • What matters: 1–4 priorities in the user's words ("quiet", "battery", "fits carry-on luggage"). These become priorities, and each maps to a row.
  • Budget and country (prices and availability differ by market).

Read the full file on GitHub · 199 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 19d ago First seen · 199 lines · 52 tokens per session scan A 132737c8856b

Subscribe to this mod's changes

which-to-buy is a skill published in the GitHub repository mostafa-drz/claude-skills (4 stars, last pushed 20d ago), licensed MIT. It adds 52 tokens to every session and 2,517 once invoked, about $0.0002 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-10-02.

Related

Other skills, from other repositories