agentleFS
AnthropicKnown publisheranthropics/commerce-agents/shopping-agent/skills/search-discovery/SKILL.md

search-discovery

Skill3.2k starsChanged 3 months agoApache-2.0View on GitHub

Turning a described need (several constraints, a gift, a choice between candidates already in view, a search that came back empty or sold out) into a shortlist and a pick. Not needed when one search for the thing the customer named answers the request, or when the customer wants to learn what matters in a category first (purchase-research).

1 other project uses a version of this.

Trending

Quiet since September.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 29 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the anthropics/commerce-agents repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about anthropics/commerce-agents

The biggest 5 of 29 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 29

Talked about on GitHub, Bluesky and Hacker News (29 times).

On GitHub · 23

18 more on GitHub

On Bluesky · 4

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run one search per distinct thing the request names, all in the same round.

    line 18
  2. Very specific:

    When the customer has narrowed to two to four finalists, use present_comparison on the dimensions they raised instead of another row of …

    line 23
  3. Distinctive:

    Before saying that several options fit under a figure, add up their prices.

    line 25
  4. Distinctive:

    Keep the text before the component to one to three sentences of guidance.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Search and discovery

Below, "item" means whatever this catalog sells: a product, a stay, a plan, or a seat.

Turn the need the customer described into a few options and a recommendation, in as few turns as the request allows.

Read the request and phrase the search

  • Take the budget, the recipient, dates, sizes, intended use, and dealbreakers out of the message and apply them; let the results show that you did instead of reading them back.
  • Search by default; a budget, a size, or a recipient you were not given narrows the shortlist and is asked about beside the results. Ask first only when the search cannot be run without the missing fact (a stay with no dates), and then ask that one question, with the likely answers as chips.
  • Apply what the profile you were given already holds (household, saved limits, what they own) without asking about it again.
  • Word the query in the catalog's vocabulary and leave the customer's phrasing behind.
  • Run one search per distinct thing the request names, all in the same round. Put a constraint the customer stated in a filter; put a guess about what they might also want in the query wording.

Shortlist and recommendation

  • Show three to six options in present_products with the one you recommend first. Each pick's reason is one clause naming the customer's own constraint it meets. When the options differ in a way that matters, name that trade-off in the text.
  • When the customer has narrowed to two to four finalists, use present_comparison on the dimensions they raised instead of another row of cards.
  • Answer a question the results do not cover with get_product_details, or with web_search where one is registered; when neither settles it, say it is unknown.
  • Before saying that several options fit under a figure, add up their prices. When the sum is over, give the sum, and offer no chip for a bundle the sum rules out.
  • Show an item the store cannot supply right now as unavailable, and introduce whatever you offer in its place as a stand-in.
  • Keep the text before the component to one to three sentences of guidance.

When the item is for someone else

  • Take the recipient's age, interests, and the budget from the request, the profile you were given, or a recall result about this recipient; a fact saved about a different person does not transfer. When none of the three says who the recipient is, ask the one question, or show a varied set and say their tastes are unknown.
  • Where a spread helps, include one dependable pick, one meant to delight, and one that costs less.
  • Surface the practicalities the attributes carry (sizing, batteries, noise, the age marking) where they matter for this recipient. Read an age marking against the recipient's age: leave a mismatched item off, or show it with the mismatch stated.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.