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.
deslop - Skill - OpenSmartRoute
Skillv1.0.0
deslop
Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.
Imported from brianlovin/agent-config (skills/deslop/SKILL.md) via skills.sh. Install upstream with npx skills add brianlovin/agent-config --skill deslop. Copyright stays with the author.
Remove AI code slop
Check the diff against main, and remove all AI generated slop introduced in this branch.
This includes:
Extra comments that a human wouldn't add or is inconsistent with the rest of the file
Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
Casts to any to get around type issues
Any other style that is inconsistent with the file
Report at the end with only a 1-3 sentence summary of what you changed
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://osr-api.kindrock-caaab1a2.centralindia.azurecontainerapps.io/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 deslop 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.
When a provider is down or over quota the request moves on; the trace says it did.
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
brianlovin-agent-config-deslop.ocm.jsonjson
{
"ocm": "1",
"id": "brianlovin-agent-config-deslop",
"kind": "skill",
"name": "deslop",
"description": "Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.",
"publisher": "brianlovin",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"math"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/brianlovin/agent-config",
"path": "skills/deslop/SKILL.md",
"ref": "HEAD",
"url": "https://www.skills.sh/brianlovin/agent-config/deslop",
"key": "brianlovin/agent-config/skills/deslop/SKILL.md"
}
},
"instructions": "# Remove AI code slop\n\nCheck the diff against main, and remove all AI generated slop introduced in this branch.\n\nThis includes:\n- Extra comments that a human wouldn't add or is inconsistent with the rest of the file\n- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)\n- Casts to any to get around type issues\n- Any other style that is inconsistent with the file\n\nReport at the end with only a 1-3 sentence summary of what you changed",
"cost": {
"context_tokens": 132
}
}
Fetch it by URL: GET /api/v1/registry/brianlovin-agent-config-deslop/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.