Skip to main content
ClaudeWave
Skill1.3k estrellas del repoactualizado today

plan_route

The plan_route skill calculates travel routes and returns structured data including route names, distances in kilometers, and estimated travel times in minutes. Use this skill when you need deterministic, schema-validated routing information for navigation or logistics planning tasks within agent workflows.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go /tmp/plan_route && cp -r /tmp/plan_route/examples/skilldynamicschema/skills/plan_route ~/.claude/skills/plan_route
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# plan_route

This skill is used by the dynamic structured output demo.

## Output JSON Schema

```json
{
  "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:

```bash
cat result.json
```