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.
simplify - Skill - OpenSmartRoute
Skillv1.0.0
simplify
Review implementation for simplification opportunities
Imported from richardgill/nix (built/ai-agents/pi/skills/simplify/SKILL.md). Install upstream with npx skills add richardgill/nix --skill simplify. Copyright stays with the author.
Run ~/Scripts/git-pr-diff.
Are there any ways you can simplify the implementation? I want the implementation to be as clean, readable and understandable as possible. Try to avoid:
Unnecessary indirection that makes things harder to understand
Backwards compatability that is unnecessary or makes things more complex
If there are functional changes that simplify the implementatino, you can ask me if we can simplify that too.
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.
richardgill-nix-simplify.ocm.jsonjson
{
"ocm": "1",
"id": "richardgill-nix-simplify",
"kind": "skill",
"name": "simplify",
"description": "Review implementation for simplification opportunities",
"publisher": "richardgill",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Review implementation for simplification opportunities"
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/richardgill/nix",
"path": "built/ai-agents/pi/skills/simplify/SKILL.md",
"ref": "4f853dba4c915059d0e436964f18c92ef4b592c0",
"url": "https://github.com/richardgill/nix/blob/4f853dba4c915059d0e436964f18c92ef4b592c0/built/ai-agents/pi/skills/simplify/SKILL.md",
"key": "richardgill/nix/built/ai-agents/pi/skills/simplify/SKILL.md"
}
},
"instructions": "Run `~/Scripts/git-pr-diff`.\n\nAre there any ways you can simplify the implementation? I want the implementation to be as clean, readable and understandable as possible. Try to avoid:\n\n- Unnecessary indirection that makes things harder to understand\n- Backwards compatability that is unnecessary or makes things more complex\n\nIf there are functional changes that simplify the implementatino, you can ask me if we can simplify that too.",
"cost": {
"context_tokens": 108
}
}
Fetch it by URL: GET /api/v1/registry/richardgill-nix-simplify/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.