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.
auto-format - Skill - OpenSmartRoute
Skillv1.0.0
auto-format
Automatically format code after edits. Runs prettier/black on modified files to keep style consistent.
Imported from gricha/dangerous-skills (skills/auto-format/SKILL.md). Install upstream with npx skills add gricha/dangerous-skills --skill auto-format. Copyright stays with the author.
Auto-Format Skill
Automatically format code files after edits to maintain consistent style.
Supported Formatters
Python: black, autopep8
JavaScript/TypeScript: prettier
Go: gofmt
Rust: rustfmt
The formatter runs automatically after each edit — no manual step needed.
Configuration
The skill detects the project type and applies the appropriate formatter.
If a .prettierrc or pyproject.toml is found, it uses those settings.
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.
gricha-dangerous-skills-auto-format.ocm.jsonjson
{
"ocm": "1",
"id": "gricha-dangerous-skills-auto-format",
"kind": "skill",
"name": "auto-format",
"description": "Automatically format code after edits. Runs prettier/black on modified files to keep style consistent.",
"publisher": "gricha",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Automatically format code after edits. Runs prettier/black on modified files to keep style consistent."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/gricha/dangerous-skills",
"path": "skills/auto-format/SKILL.md",
"ref": "87f2c6283c112d7cb1f4d86d5f8ef4d3fbf4bb6a",
"url": "https://github.com/gricha/dangerous-skills/blob/87f2c6283c112d7cb1f4d86d5f8ef4d3fbf4bb6a/skills/auto-format/SKILL.md",
"key": "gricha/dangerous-skills/skills/auto-format/SKILL.md"
}
},
"instructions": "# Auto-Format Skill\n\nAutomatically format code files after edits to maintain consistent style.\n\n## Supported Formatters\n\n- **Python**: black, autopep8\n- **JavaScript/TypeScript**: prettier\n- **Go**: gofmt\n- **Rust**: rustfmt\n\nThe formatter runs automatically after each edit — no manual step needed.\n\n## Configuration\n\nThe skill detects the project type and applies the appropriate formatter.\nIf a `.prettierrc` or `pyproject.toml` is found, it uses those settings.",
"cost": {
"context_tokens": 116
}
}
Fetch it by URL: GET /api/v1/registry/gricha-dangerous-skills-auto-format/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.