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 mateuszmidor/AiStudy (opencode/.opencode/skills/tell-joke/SKILL.md). Install upstream with npx skills add mateuszmidor/AiStudy --skill tell-joke. Copyright stays with the author.
Tell Joke Skill
This skill fetches single joke, then formats it according to template, then returns it to the caller.
Step-by-Step Instructions
Step 1 - Fetch the joke
Execute script ./scripts/fetch_joke.sh to get a single random joke.
Step 2 - format the joke text according to template
The joke fetched in Step 1 must be formatted according to ./assets/output_template.md
Step 3 - return the joke to caller
The formatted joke must be returned to the caller.
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}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
mateuszmidor-aistudy-tell-joke.ocm.jsonjson
{
"ocm": "1",
"id": "mateuszmidor-aistudy-tell-joke",
"kind": "skill",
"name": "tell-joke",
"description": "This skill returns a single random joke.",
"publisher": "mateuszmidor",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"This skill returns a single random joke."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/mateuszmidor/AiStudy",
"path": "opencode/.opencode/skills/tell-joke/SKILL.md",
"ref": "54424aab564c0d995dbbdacdba3c5fe3710623ef",
"url": "https://github.com/mateuszmidor/AiStudy/blob/54424aab564c0d995dbbdacdba3c5fe3710623ef/opencode/.opencode/skills/tell-joke/SKILL.md",
"key": "mateuszmidor/AiStudy/opencode/.opencode/skills/tell-joke/SKILL.md"
}
},
"instructions": "# Tell Joke Skill\n\nThis skill fetches single joke, then formats it according to template, then returns it to the caller.\n\n## Step-by-Step Instructions\n\n### Step 1 - Fetch the joke\n\nExecute script ./scripts/fetch_joke.sh to get a single random joke.\n\n### Step 2 - format the joke text according to template\n\nThe joke fetched in Step 1 must be formatted according to ./assets/output_template.md\n\n### Step 3 - return the joke to caller\n\nThe formatted joke must be returned to the caller.",
"cost": {
"context_tokens": 121
}
}
Fetch it by URL: GET /api/v1/registry/mateuszmidor-aistudy-tell-joke/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.