Skill1.3k repo starsupdated 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.
Install in Claude Code
Copygit 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_routeThen start a new Claude Code session; the skill loads automatically.
Definition
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
```More from this repository
blogSkill
enSkill
zhSkill
artifact_demoSkill
Demo skill that writes an output file and persists it as an artifact.
news-query-agentSubagent
Answer news queries with a fixed demo response.
weather-querySkill
Answer weather queries with a fixed demo response.
contact-lookup-agentSubagent
Look up contact phone numbers with fixed demo data.
write-okSkill
Write a deterministic OK file to out/ok.txt.