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.
Custom agent imported from evcc-io/evcc (.github/agents/template.agent.md). Copyright stays with the author.
Cleanse parameter defaults
Validate templates files inside templates/definition/** against default parameters in util/templates/defaults.yaml.
Make sure that templates don't repeat parts of the default parameter definition.
Reorder parameters after presets
Validate templates files inside templates/definition/**. If the template contains parameters and presets, ensure that any parameter contained in a preset appears in the template after the preset. Reorder such parameters after the presets.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/evcc-io-evcc-template-agent/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
evcc-io-evcc-template-agent.ocm.jsonjson
{
"ocm": "1",
"id": "evcc-io-evcc-template-agent",
"kind": "agent",
"name": "template",
"description": "Tidy templates",
"publisher": "evcc-io",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"agent-md",
"github-custom-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Tidy templates"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-custom-agents",
"repository": "https://github.com/evcc-io/evcc",
"path": ".github/agents/template.agent.md",
"ref": "0f9c74cfc40c9f6eb66a66745789f595b6b6983c",
"url": "https://github.com/evcc-io/evcc/blob/0f9c74cfc40c9f6eb66a66745789f595b6b6983c/.github/agents/template.agent.md",
"key": "evcc-io/evcc/.github/agents/template.agent.md"
},
"tools": [
"read",
"edit",
"search",
"shell"
]
},
"instructions": "## Cleanse parameter defaults\n\nValidate templates files inside `templates/definition/**` against default parameters in `util/templates/defaults.yaml`.\nMake sure that templates don't repeat parts of the default parameter definition.\n\n## Reorder parameters after presets\n\nValidate templates files inside `templates/definition/**`. If the template contains parameters and presets, ensure that any parameter contained in a `preset` appears in the template after the `preset`. Reorder such parameters after the presets.",
"cost": {
"context_tokens": 128
}
}
Fetch it by URL: GET /api/v1/registry/evcc-io-evcc-template-agent/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.