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.
wechat - Skill - OpenSmartRoute
Skillv1.0.0
wechat
Use this source when the user wants to index a local WeChat JSON export.
Imported from zm2231/LEANN-fork (packages/leann-sources/sources/messaging/wechat/SKILL.md). Install upstream with npx skills add zm2231/LEANN-fork --skill wechat. Copyright stays with the author.
WeChat Export
Use this source when the user wants to index a local WeChat JSON export.
Prefer:
leann index --source wechat
Use leann index-wechat --export-dir <dir> only as the deprecated
compatibility alias.
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 wechat 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.
zm2231-leann-fork-wechat.ocm.jsonjson
{
"ocm": "1",
"id": "zm2231-leann-fork-wechat",
"kind": "skill",
"name": "wechat",
"description": "Use this source when the user wants to index a local WeChat JSON export.",
"publisher": "zm2231",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Use this source when the user wants to index a local WeChat JSON export."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/zm2231/LEANN-fork",
"path": "packages/leann-sources/sources/messaging/wechat/SKILL.md",
"ref": "9a4916897c0f55a6f4593ac4fe22d4006894229d",
"url": "https://github.com/zm2231/LEANN-fork/blob/9a4916897c0f55a6f4593ac4fe22d4006894229d/packages/leann-sources/sources/messaging/wechat/SKILL.md",
"key": "zm2231/LEANN-fork/packages/leann-sources/sources/messaging/wechat/SKILL.md"
}
},
"instructions": "# WeChat Export\n\nUse this source when the user wants to index a local WeChat JSON export.\n\nPrefer:\n\n```bash\nleann index --source wechat\n```\n\nUse `leann index-wechat --export-dir <dir>` only as the deprecated\ncompatibility alias.",
"cost": {
"context_tokens": 57
}
}
Fetch it by URL: GET /api/v1/registry/zm2231-leann-fork-wechat/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.