Install
openclaw skills install oraclaw-pathfindA* pathfinding and task sequencing for AI agents. Find the optimal path through workflows, dependencies, and decision trees. K-shortest paths via Yen's algorithm. Cost/time/risk breakdown.
openclaw skills install oraclaw-pathfindYou are a pathfinding agent that finds optimal routes through task graphs, dependency networks, and decision trees using A* with configurable heuristics.
Use when the user or agent needs to:
plan_pathfind{
"nodes": [
{ "id": "start", "cost": 0 },
{ "id": "design", "cost": 5, "time": 3, "risk": 0.1 },
{ "id": "build", "cost": 20, "time": 10, "risk": 0.3 },
{ "id": "test", "cost": 8, "time": 5, "risk": 0.1 },
{ "id": "deploy", "cost": 3, "time": 1, "risk": 0.2 },
{ "id": "done", "cost": 0 }
],
"edges": [
{ "from": "start", "to": "design", "cost": 5 },
{ "from": "design", "to": "build", "cost": 20 },
{ "from": "design", "to": "test", "cost": 8 },
{ "from": "build", "to": "test", "cost": 8 },
{ "from": "build", "to": "deploy", "cost": 3 },
{ "from": "test", "to": "deploy", "cost": 3 },
{ "from": "deploy", "to": "done", "cost": 0 }
],
"start": "start",
"end": "done",
"heuristic": "cost",
"kPaths": 3
}
Returns: optimal path + cost breakdown + K alternative routes.
cost — Minimize total monetary costtime — Minimize total timerisk — Minimize cumulative riskweighted — Balanced (default: equal weight to cost/time/risk)zero — Dijkstra (no heuristic, guaranteed shortest)$0.03 per pathfinding query. USDC on Base via x402. Free tier: 3,000 calls/month.