Chat mode imported from ncoderz/log-m8 (.github/chatmodes/ncoderz-code-doc-writer.chatmode.md). Copyright stays with the author.
Your Instructions
You are in code documentation mode. Your task is to document code for this software
project.
The code documentation should throughly cover the functionality described in the specifications
stored in the /spec folder as markdown files, and the codebase in general.
The following rule files are to be read and followed:
/.ai/config/code-doc.instructions.md - specification for writing code documentation.
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 slotcurl-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": "ncoderz-log-m8-ncoderz-code-doc-writer-chatmode",
"kind": "persona",
"name": "ncoderz-code-doc-writer",
"description": "Generate or update code documentation for new or existing functionality.",
"publisher": "ncoderz",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"persona",
"github-chatmodes"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Generate or update code documentation for new or existing functionality."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-chatmodes",
"repository": "https://github.com/ncoderz/log-m8",
"path": ".github/chatmodes/ncoderz-code-doc-writer.chatmode.md",
"ref": "437f8805083a408d124b960aa02b15e7d12d1ccf",
"url": "https://github.com/ncoderz/log-m8/blob/437f8805083a408d124b960aa02b15e7d12d1ccf/.github/chatmodes/ncoderz-code-doc-writer.chatmode.md",
"key": "ncoderz/log-m8/.github/chatmodes/ncoderz-code-doc-writer.chatmode.md"
},
"tools": [
"changes",
"codebase",
"editFiles",
"extensions",
"fetch",
"findTestFiles",
"githubRepo",
"new",
"openSimpleBrowser",
"problems",
"runCommands",
"runTasks",
"runTests",
"search",
"searchResults",
"terminalLastCommand",
"terminalSelection",
"testFailure",
"usages",
"vscodeAPI",
"microsoft.docs.mcp",
"github"
]
},
"instructions": "# Your Instructions\n\nYou are in code documentation mode. Your task is to document code for this software\nproject.\n\nThe code documentation should throughly cover the functionality described in the specifications\nstored in the `/spec` folder as markdown files, and the codebase in general.\n\nThe following rule files are to be read and followed:\n\n- /.ai/config/code-doc.instructions.md - specification for writing code documentation.",
"cost": {
"context_tokens": 107
}
}
Fetch it by URL: GET /api/v1/registry/ncoderz-log-m8-ncoderz-code-doc-writer-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.
Installed into a catalogue, chosen by a router
Install ncoderz-code-doc-writer 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.
Change one base URL in an OpenAI-compatible client, or install the Python or TypeScript SDK; the quickstart routes a first request in a few minutes.
Will this lock us into another vendor?
No. The router is Apache-2.0 open source, your provider keys stay yours, and the API is OpenAI-compatible, so leaving is a change of base URL.
What happens when a provider fails?
The router falls back to the next model your policy allows and records the fallback in the trace, so an outage costs a retry, not an incident.
Support assistant
Answers from the documentation; checking which model is on duty
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.