plan_route_skill

This skill plans a route and returns distance and ETA in a deterministic JSON format for reliable agent planning.
  • Go

934

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill trpc-group/trpc-agent-go --skill plan_route

  • result.json63 B
  • SKILL.md701 B

Overview

This skill plans a route and returns a deterministic JSON result containing the route name, total distance in kilometers, and ETA in minutes. It is designed for programmatic use where a strict JSON schema is required for downstream processing. The output is concise and machine-readable for integration with agent systems or travel tools.

How this skill works

Given origin and destination context from the caller, the skill computes a single route, estimates the distance in kilometers, and calculates an ETA in minutes. It then emits a JSON object that strictly follows the provided schema: route, distance_km, and eta_min. The result is deterministic and suitable for automated workflows that require predictable structured output.

When to use it

  • You need a single, deterministic route summary for automation or logging.
  • Integrating with agents or services that require a strict JSON schema response.
  • Providing quick distance and ETA estimates for dashboards or notifications.
  • Feeding route metadata into downstream systems that cannot handle multiple alternatives.
  • Testing or demoing structured output handling in agent frameworks.

Best practices

  • Provide clear origin and destination input to avoid ambiguous routing choices.
  • Use consistent units (kilometers for distance, minutes for ETA) when combining with other systems.
  • Validate inputs upstream to ensure deterministic behavior (fixed time, mode, and constraints).
  • Keep the consumer aware that this skill returns one planned route rather than multiple options.
  • Parse the JSON programmatically—do not rely on freeform text parsing.

Example use cases

  • A scheduled agent requests a commute estimate to include in a morning briefing email.
  • A monitoring tool logs route distance and ETA each time a delivery job is created.
  • A travel assistant populates a trip summary card showing route name, distance, and travel time.
  • A demo of structured output handling where an LLM-based agent queries route planning and consumes the JSON result.
  • An automation pipeline uses the ETA to schedule downstream tasks like notifications or resource allocation.

FAQ

The route field contains a concise route name or identifier describing the path returned by the planner.

Are units fixed in the output?

Yes. distance_km is in kilometers (number) and eta_min is in minutes (integer) to ensure consistent, machine-readable values.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational