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.
claude - Persona - OpenSmartRoute
Personav1.0.0
claude
You are an expert programmer. You will rewrite the above code to do the following:
Chat mode imported from bhargavjoshi1237/medtest (.github/chatmodes/claude.chatmode.md). Copyright stays with the author.
User message:
${otherData.codeToEdit}
You are an expert programmer. You will rewrite the above code to do the following:
${otherData.userInput}
Output only a code block with the rewritten code:
Assistant message:
Sure! Here is the rewritten code:
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.
{
"ocm": "1",
"id": "bhargavjoshi1237-medtest-claude-chatmode",
"kind": "persona",
"name": "claude",
"description": "You are an expert programmer. You will rewrite the above code to do the following:",
"publisher": "bhargavjoshi1237",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"persona",
"github-chatmodes"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"You are an expert programmer. You will rewrite the above code to do the following:"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-chatmodes",
"repository": "https://github.com/bhargavjoshi1237/medtest",
"path": ".github/chatmodes/claude.chatmode.md",
"ref": "99d554274905b3a5795753d135f9074e91533a44",
"url": "https://github.com/bhargavjoshi1237/medtest/blob/99d554274905b3a5795753d135f9074e91533a44/.github/chatmodes/claude.chatmode.md",
"key": "bhargavjoshi1237/medtest/.github/chatmodes/claude.chatmode.md"
}
},
"instructions": "### User message:\n```${otherData.language}\n${otherData.codeToEdit}\n```\n\nYou are an expert programmer. You will rewrite the above code to do the following:\n\n${otherData.userInput}\n\nOutput only a code block with the rewritten code:\n\n### Assistant message:\n\nSure! Here is the rewritten code:\n```${otherData.language}",
"cost": {
"context_tokens": 78
}
}
Fetch it by URL: GET /api/v1/registry/bhargavjoshi1237-medtest-claude-chatmode/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.