Plan Route
Othersplan_routePlan Route is an Agent Skill for general use published in the trpc-group/trpc-agent-go repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Plan a route and return distance + ETA (schema + deterministic result).
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/trpc-group/trpc-agent-go/blob/HEAD/examples/skilldynamicschema/skills/plan_route/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/plan-route, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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