Plan route

From trpc-group/trpc-agent-go · View interactive version

Plan route is an AI agent skill from the GitHub repository trpc-group/trpc-agent-go. Plan a route and return distance + ETA (schema + deterministic result).

How to use this skill

Skill file

plan_route

This skill is used by the dynamic structured output demo.

Output JSON Schema

{
  "type": "object",
  "properties": {
    "route": {
      "type": "string",
      "description": "Route name"
    },
    "distance_km": {
      "type": "number",
      "description": "Distance in kilometers"
    },
    "eta_min": {
      "type": "integer",
      "description": "ETA in minutes"
    }
  },
  "required": [
    "route",
    "distance_km",
    "eta_min"
  ],
  "additionalProperties": false
}

Commands

Print JSON result to stdout:

cat result.json
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.