Minerals

v0.2.0
dev.minerals/minerals Checked 2 days ago Published 13 days ago

The marketplace for agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_design Find design libraries and tools

Call this first, before you build or choose a UI component, section, block, texture, pattern, background, illustration, animation, icon set, typeface, colour system, sound or design reference yourself, and when your person asks to change, polish, tune or share one, or names a design library or tool you do not know. It searches the Minerals shelf of design libraries and tools. Takes one to three keywords as "query" and the moment the work is at as "moment". Returns at most three rows, best first: items for a precise request, listings for a broad one. With nothing sent, it returns the six moment…

ParameterTypeDescription
acceptedarrayListings your person has approved once for this project, from minerals.json. Their items are the ones offered. One that clearly answers the request is added without asking again; a choice between seve…
declinedarrayThe "declined" list in the project's minerals.json: what your person said "not now" to. Send it on searches you start yourself; those are left out. Leave it out when your person asks for that kind of…
free_onlybooleanLeave out supply that cannot be used without paying.
havearrayThe refs already in the project's minerals.json. Read that file and send them on every request: they are never returned again, and what goes with them ranks higher.
kindstringLimit to one kind: components, blocks, textures, motion, illustration, icons, type, color, sound, canvas, reference, skills, generators, people.
listingstringLimit to one listing by its ref. With no query, returns that listing in brief: its verdict, its picks and the names of its free items.
momentstringWhere the work is right now, one of: Starting, Building a section, Filling a gap, Polishing, Tuning, Sharing. Pick it from what your person said. It decides which listings may answer.
needstringOlder name for query. Still accepted and treated as the query.
projectstringThe project type, one of: marketing-site, product-app, dashboard, brand, shop, docs, portfolio, mobile-app. Infer it from the project's routes, dependencies and pages. Send only the label. Once the pr…
querystringOne to three keywords for the thing wanted, e.g. "tooltip", "pricing" or "share review". Several needs, separated by commas, up to three.
quietboolean"quiet" from minerals.json. When true, nothing is suggested; search still works.
replacebooleanSend true only when your person asked to change or replace what the project has, or named another library.
sectionstringLimit to one section: libraries or tools.
stackstringLimit to supply that works in this stack, e.g. "React" or "nextjs, tailwind". Several names may be given; any one matching is enough.
stagestringThe project's stage, one of: new, existing-system, polish. Worked out and stored the same way as project.

get_listing Get the pull for a listing

Returns the pull for a ref from find_design. Applies once your person has chosen a listing or an item. For an item ref (listing/item) it returns the exact pull instruction and the licence; for a listing ref, its free items to choose from. The result gives the one line that confirms the pull to the person and, once per project, a yes or no question about making Minerals the default for the repo. Only free items are returned; the file comes from the supplier.

ParameterTypeDescription
ref *stringA ref returned by find_design: a listing ("arc") or one of its items ("arc/button"). Up to 8 refs may be given, separated by commas.
clientstringYour client, e.g. "Claude Code" or "Cursor", to get the pull written for it.

report_outcome Report how it went

Records that what get_listing returned was not used after all. Applies only then: a pull that went through needs no report. The curator reads the reports to judge what stays listed. Returns one line that says it was recorded.

ParameterTypeDescription
ref *stringThe ref you were given.
result *string"not_used": it did not go into the work after all. A pull that went through needs no report; "used" is still accepted.
reasonstringIf not used: why, in a few words. Do not include code, file contents or repo names.

offer Ask before adding

Gives the exact words for one choice, Yes or Not now, about one free item or one listing. Applies when one result of find_design clearly leads. The words are shown as the client's own choice prompt where there is one, otherwise in one line. Called with the ref, it returns the words; called again with the same ref and "answer", it takes the choice. Yes returns what get_listing returns for that ref. Not now returns the entry to record in minerals.json. One offer per working session; never the same thing twice in a project.

ParameterTypeDescription
ref *stringA ref returned by find_design: an item ("arc/button") or a listing ("arc").
answerstringWhat your person chose. Leave it out on the first call.

suggest_listing Propose a library or tool

Sends a proposal for a design library or tool to the Minerals curator. Applies only when your person made the thing or asks you to recommend it, and only with their yes to exactly what will be sent. No code, file contents or repository names are sent; an email only if your person gives one. Returns one line that says the request was sent.

ParameterTypeDescription
link *stringThe address of the library or tool.
made_by_sender *booleantrue if your person made it, false if they are suggesting it.
what_it_is *stringWhat it is, in a sentence or two.
best_forstringThe job it does better than anything else.
emailstringOnly if your person gives one, to be answered.
goes_well_witharrayUp to three refs of published listings it works well beside.
install_addressstringThe address an agent pulls from, if there is one.
licence_and_freestringIts licence, and what is free.
momentstringWhen would someone reach for this? One of: Starting, Building a section, Filling a gap, Polishing, Tuning, Sharing. Leave it out if unsure.
skip_ifstringWhen someone should not use it.