Minerals
v0.2.0The 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…
| Parameter | Type | Description |
|---|---|---|
accepted | array | Listings 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… |
declined | array | The "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_only | boolean | Leave out supply that cannot be used without paying. |
have | array | The 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. |
kind | string | Limit to one kind: components, blocks, textures, motion, illustration, icons, type, color, sound, canvas, reference, skills, generators, people. |
listing | string | Limit 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. |
moment | string | Where 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. |
need | string | Older name for query. Still accepted and treated as the query. |
project | string | The 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… |
query | string | One to three keywords for the thing wanted, e.g. "tooltip", "pricing" or "share review". Several needs, separated by commas, up to three. |
quiet | boolean | "quiet" from minerals.json. When true, nothing is suggested; search still works. |
replace | boolean | Send true only when your person asked to change or replace what the project has, or named another library. |
section | string | Limit to one section: libraries or tools. |
stack | string | Limit to supply that works in this stack, e.g. "React" or "nextjs, tailwind". Several names may be given; any one matching is enough. |
stage | string | The 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.
| Parameter | Type | Description |
|---|---|---|
ref * | string | A 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. |
client | string | Your 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.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The 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. |
reason | string | If 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.
| Parameter | Type | Description |
|---|---|---|
ref * | string | A ref returned by find_design: an item ("arc/button") or a listing ("arc"). |
answer | string | What 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.
| Parameter | Type | Description |
|---|---|---|
link * | string | The address of the library or tool. |
made_by_sender * | boolean | true if your person made it, false if they are suggesting it. |
what_it_is * | string | What it is, in a sentence or two. |
best_for | string | The job it does better than anything else. |
email | string | Only if your person gives one, to be answered. |
goes_well_with | array | Up to three refs of published listings it works well beside. |
install_address | string | The address an agent pulls from, if there is one. |
licence_and_free | string | Its licence, and what is free. |
moment | string | When would someone reach for this? One of: Starting, Building a section, Filling a gap, Polishing, Tuning, Sharing. Leave it out if unsure. |
skip_if | string | When someone should not use it. |