Search Clojars libraries.
Searches the Clojars repository of Clojure and ClojureScript libraries like its search page: group/artifact name, latest version, one-line description and package link. First results page only. Returns an empty list when nothing matches.
- Site
- Clojars, United States
- Version
- v1
- Runs, last 7 days
- No reports yet
- sha256
- 9808ed154c2c…
Run it with your agent
after installing WieldAsk in plain words. Your agent finds this recipe and calls it:
“Search Clojars libraries.”
Read-only: it changes nothing on the site. No login needed.
{ "tool": "run", "arguments": { "recipe_id": "clojars.org/search-packages", "params": { "query": "ring" } } }
Requests
sent from your browser, in order- 1GET/search?qClojars search page /search?q=…; read-only GET. Each result is an li.search-results card with the package link, version text and description.
Parameters
from your agentquerystringrequiredLibrary name or keyword, e.g. 'ring', 'cheshire', 'core.async'
Returns
to your agentpackagesobject[]description, name, url, version
querystring
Where it can send
- clojars.org
Anything else is blocked by the extension.
Reads from your session
Nothing. Your browser attaches the site's cookies by itself.
Used only in requests to the addresses on the left. Never sent to wield.run or your agent.
Checks
a run passes when- length(output.packages) > `0`
- length(output.packages[?starts_with(url, 'https://clojars.org/')]) == length(output.packages)
- length(output.packages[?name != `null`]) == length(output.packages)
- length(output.packages[?version != `null`]) > `0`
Raw recipe
Served as canonical JSON from /api/v1/recipes/clojars.org/search-packages, so its sha256 matches the ETag and the index.
Check it yourself
curl -s https://wield.run/api/v1/recipes/clojars.org/search-packages | shasum -a 256 # 9808ed154c2c38f9f3dc75abf9772a83a72b645d186bceae1b4533dc209e1ce9
clojars.org/search-packages.json, v1
{ "description": "Searches the Clojars repository of Clojure and ClojureScript libraries like its search page: group/artifact name, latest version, one-line description and package link. First results page only. Returns an empty list when nothing matches.", "effect": "read", "id": "clojars.org/search-packages", "keywords": [ "clojars", "clojars.org", "clojure", "clojurescript", "clj", "library", "libraries", "package", "maven", "jvm", "leiningen", "deps", "repository", "dependency" ], "output": { "schema": { "properties": { "packages": { "items": { "properties": { "description": { "type": [ "string", "null" ] }, "name": { "description": "group/artifact, e.g. 'ring/ring-codec'", "type": "string" }, "url": { "type": "string" }, "version": { "description": "Latest version on Clojars", "type": [ "string", "null" ] } }, "required": [ "name", "url" ], "type": "object" }, "type": "array" }, "query": { "type": "string" } }, "required": [ "query", "packages" ], "type": "object" }, "value": "{query: params.query, packages: steps.search.packages[?name != `null` && href != `null`].{name: name, version: (name_and_version && split(name_and_version, ' ')[1]) || `null`, description: description || `null`, url: join('', ['https://clojars.org', href])}}" }, "params": { "additionalProperties": false, "properties": { "query": { "description": "Library name or keyword, e.g. 'ring', 'cheshire', 'core.async'", "maxLength": 100, "minLength": 2, "type": "string" } }, "required": [ "query" ], "type": "object" }, "provenance": { "method": "har", "notes": "GET /search?q=<query> answers 200 HTML with li.search-results cards. The link text is group/artifact, the version follows it in the same div, and span.desc holds the description. Only the result list is read.", "recorded_at": "2026-11-08T16:22:40.000Z", "recorded_by": "wield-forge (claude-haiku agent)" }, "requires_login": false, "schema": "https://wield.run/schema/recipe/v1.json", "site": { "country": "US", "id": "clojars.org", "language": "en", "name": "Clojars", "origin": "https://clojars.org", "origins": [ "https://clojars.org" ] }, "steps": [ { "description": "Clojars search page /search?q=…; read-only GET. Each result is an li.search-results card with the package link, version text and description.", "expect": { "assert": "status == `200` && contains(body, 'Clojars')", "content_type": "html", "status": [ 200 ] }, "extract": { "html_items": { "packages": { "fields": { "description": { "selector": "span.desc" }, "href": { "attr": "href", "selector": "div.result a" }, "name": { "selector": "div.result a" }, "name_and_version": { "selector": "div.result > div > div" } }, "max": 50, "selector": "li.search-results" } } }, "id": "search", "request": { "headers": { "Accept": "text/html" }, "method": "GET", "query": { "q": "{{params.query}}" }, "url": "/search" } } ], "task": "Search Clojars libraries", "tos": { "notes": "Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.", "reviewed": false }, "verify": { "checks": [ "length(output.packages) > `0`", "length(output.packages[?starts_with(url, 'https://clojars.org/')]) == length(output.packages)", "length(output.packages[?name != `null`]) == length(output.packages)", "length(output.packages[?version != `null`]) > `0`" ], "example_params": { "query": "ring" }, "max_ms": 5000 }, "version": 1 }