account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
\"Solve vehicle routing problems to optimize delivery routes under capacity and time constraints. Use this skill when the user needs to plan delivery routes, minimize transportation costs, or optimize fleet utilization — even if they say 'delivery route optimization', 'fleet
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-sc-routing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/algo-sc-routingContext preview
The summary Claude sees to decide when to auto-load this skill.
\"Solve vehicle routing problems to optimize delivery routes under capacity and time constraints. Use this skill when the user needs to plan delivery routes, minimize transportation costs, or optimize fleet utilization — even if they say 'delivery route optimization', 'fleet
name: "\"algo-sc-routing\"" description: "\"Solve vehicle routing problems to optimize delivery routes under capacity and time constraints. Use this skill when the user needs to plan delivery routes, minimize transportation costs, or optimize fleet utilization — even if they say 'delivery route optimization', 'fleet routing', or 'minimize driving distance'.\"." allowed-tools: Read, Glob, Grep
VRP determines optimal routes for a fleet of vehicles to serve a set of customers from a depot, minimizing total distance or cost. NP-hard — exact solutions only feasible for small instances (< 25 nodes). Practical solutions use heuristics (Clarke-Wright savings, sweep) or metaheuristics (simulated annealing, genetic algorithm).
**Trigger conditions:**
**When NOT to use:**
IRON LAW: VRP Is NP-Hard — Exact Solutions Don't Scale For n customers, the solution space grows factorially. Exact methods (branch and bound) work for n < 25. For real-world problems (50-1000+ customers), heuristics are REQUIRED. A good heuristic solution within 5% of optimal is far more valuable than an optimal solution that takes hours to compute.
Collect: depot location, customer locations and demands, vehicle capacity, number of vehicles, time windows (if applicable), distance/time matrix. **Gate:** All locations geocoded, demand doesn't exceed vehicle capacity per customer.
**Clarke-Wright Savings Heuristic:** 1. Start with each customer on its own route (depot → customer → depot) 2. Compute savings for merging route pairs: s(i,j) = d(depot,i) + d(depot,j) - d(i,j) 3. Sort savings descending 4. Merge routes greedily if capacity constraint allows 5. Improve with 2-opt (swap edges within routes) and or-opt (move customers between routes)
Check: all customers visited exactly once, no vehicle exceeds capacity, all routes start and end at depot. Compare total distance against lower bound. **Gate:** All constraints satisfied, solution within 10% of lower bound.
Return routes with sequence, distance, and load.
{
"routes": [{"vehicle": 1, "sequence": ["depot", "C3", "C7", "C1", "depot"], "distance_km": 45, "load": 850, "capacity": 1000}],
"summary": {"total_distance_km": 180, "vehicles_used": 4, "utilization_avg": 0.82},
"metadata": {"customers": 30, "method": "clarke_wright_2opt", "computation_ms": 150}
}**Input:** 10 customers, 2 vehicles (cap=500), depot at center **Expected:** 2 routes, each serving ~5 customers, total distance minimized by geographic clustering.
| Input | Expected | Why | |-------|----------|-----| | One customer demand > capacity | Infeasible or split delivery | Need split delivery VRP variant | | All customers co-located | Minimal routing, capacity-limited trips | Distance is trivial, trips determined by load | | Tight time windows | More vehicles needed | Time constraints may prevent full-capacity routes |
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when shipping agent features,…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining tools for agents, SDKs, or…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the user needs to choose a bidding…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict click probability, build an ad…