Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Imported from zernie/vigiles (bench/tasks/parse-list/SKILL.md). Install upstream with npx skills add zernie/vigiles --skill parse-list. Copyright stays with the author.
Implement parseList
Implement a function parseList(input) in src/parse.js and export it as a
named ESM export.
It takes a comma-separated string and returns the list of items:
Split the input on commas.
Trim surrounding whitespace from each item.
The module must be importable as parseList from src/parse.js. The behaviour
is covered by the tests under test/.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install implement-parse-list and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
zernie-vigiles-parse-list.ocm.jsonjson
{
"ocm": "1",
"id": "zernie-vigiles-parse-list",
"kind": "skill",
"name": "implement-parse-list",
"description": "Implement the parseList string utility",
"publisher": "zernie",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Implement the parseList string utility"
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/zernie/vigiles",
"path": "bench/tasks/parse-list/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/zernie/vigiles/blob/HEAD/bench/tasks/parse-list/SKILL.md",
"key": "zernie/vigiles/bench/tasks/parse-list/SKILL.md"
}
},
"instructions": "<!-- vigiles:result \"npm test\" -->\n\n# Implement parseList\n\nImplement a function `parseList(input)` in `src/parse.js` and export it as a\nnamed ESM export.\n\nIt takes a comma-separated string and returns the list of items:\n\n- Split the input on commas.\n- Trim surrounding whitespace from each item.\n\nThe module must be importable as `parseList` from `src/parse.js`. The behaviour\nis covered by the tests under `test/`.",
"cost": {
"context_tokens": 103
}
}
Fetch it by URL: GET /api/v1/registry/zernie-vigiles-parse-list/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.