Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hamzabellouch/agent-skills --skill vehicle-routing-problem-optimizationgit clone --depth 1 https://github.com/hamzabellouch/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hamzabellouch/agent-skills/vehicle-routing-problem-optimization)<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/vehicle-routing-problem-optimization"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/vehicle-routing-problem-optimization/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/vehicle-routing-problem-optimization"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/vehicle-routing-problem-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.01656 |
| Opus 5.5 | $0.00030 | $0.00662 |
| Sonnet 5.5 | $0.00015 | $0.00331 |
| Haiku 4.5 | $0.00007 | $0.00166 |
Grade A, and why
vehicle-routing-problem-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vehicle Routing Problem (VRP) Optimization Skill Guide
This skill standardizes mathematical modeling and programmatic resolution of delivery fleet route optimization using Google OR-Tools constraint programming.
1. CVRPTW Constraint Hierarchy
[ Input Problem Data ]
|-- Customer Coordinates & Delivery Demands (e.g. packages/weight)
|-- Service Time Windows [Earliest Arrival, Latest Departure]
|-- Fleet Vehicle Capacities & Maximum Shift Durations
|-- Distance / Travel Time Matrix (from OSRM / Google Maps API)
|
v
[ Google OR-Tools Routing Model ]
|-- RoutingIndexManager (Node <-> Index Mapping)
|-- AddDimension(Distance / Capacity / Time)
|-- AddDisjunction (Penalized Dropped Visits if overconstrained)
|
v (Guided Local Search / Tabu Search)
[ Optimized Multi-Vehicle Dispatch Schedules ]
2. Production Code Implementation (Python / OR-Tools)
from ortools.constraint_solver import routing_enums_pb2
from ortools.constraint_solver import pywrapcp
def create_data_model():
"""Builds sample input data for 4 vehicles and 10 delivery locations."""
data = {}
# Time/distance matrix in minutes (10 locations + 1 depot at index 0)
data["time_matrix"] = [
[0, 12, 20, 15, 18, 25, 22, 10, 14, 16, 20],
[12, 0, 10, 8, 15, 18, 20, 14, 16, 12, 18],
[20, 10, 0, 12, 14, 15, 16, 18, 20, 14, 10],
[15, 8, 12, 0, 10, 12, 14, 16, 18, 10, 15],
[18, 15, 14, 10, 0, 8, 10, 12, 14, 16, 18],
[25, 18, 15, 12, 8, 0, 6, 10, 12, 14, 16],
[22, 20, 16, 14, 10, 6, 0, 8, 10, 12, 14],
[10, 14, 18, 16, 12, 10, 8, 0, 6, 8, 10],
[14, 16, 20, 18, 14, 12, 10, 6, 0, 5, 8],
[16, 12, 14, 10, 16, 14, 12, 8, 5, 0, 6],
[20, 18, 10, 15, 18, 16, 14, 10, 8, 6, 0],
]
# Time windows: [earliest_start_min, latest_start_min]
data["time_windows"] = [
(0, 480), # 0: Depot open 8 hours
(30, 120), # 1
(60, 180), # 2
(90, 240), # 3
(120, 300),# 4
(150, 360),# 5
(180, 400),# 6
(60, 200), # 7
(120, 300),# 8
(180, 360),# 9
(240, 450),# 10
]
# Customer delivery demands (e.g., packages)
data["demands"] = [0, 1, 2, 1, 3, 2, 1, 2, 1, 2, 1]
data["vehicle_capacities"] = [8, 8, 8, 8]
data["num_vehicles"] = 4
data["depot"] = 0
return data
def solve_cvrptw():
data = create_data_model()
# 1. Routing Index Manager
manager = pywrapcp.RoutingIndexManager(
len(data["time_matrix"]),
data["num_vehicles"],
data["depot"],
)
routing = pywrapcp.RoutingModel(manager)
# 2. Transit Callback (Travel Time)
def time_callback(from_index, to_index):
from_node = manager.IndexToNode(from_index)
to_node = manager.IndexToNode(to_index)
return data["time_matrix"][from_node][to_node]
transit_callback_index = routing.RegisterTransitCallback(time_callback)
routing.SetArcCostEvaluatorOfAllVehicles(transit_callback_index)
# 3. Add Time Window Dimension
time_dimension_name = "Time"
routing.AddDimension(
transit_callback_index,
60, # Allow waiting time up to 60 mins
480, # Max vehicle shift 8 hours
False,# Don't force start cumul to zero
time_dimension_name,
)
time_dimension = routing.GetDimensionOrDie(time_dimension_name)
# Add time window constraints for each customer
for location_idx, time_window in enumerate(data["time_windows"]):
index = manager.NodeToIndex(location_idx)
time_dimension.CumulVar(index).SetRange(time_window[0], time_window[1])
# 4. Add Demand / Capacity Dimension
def demand_callback(from_index):
from_node = manager.IndexToNode(from_index)
return data["demands"][from_node]
demand_callback_index = routing.RegisterUnaryTransitCallback(demand_callback)
routing.AddDimensionWithVehicleCapacity(
demand_callback_index,
0, # null capacity slack
data["vehicle_capacities"],
True, # start cumul to zero
"Capacity",
)
# 5. Search Parameters
search_parameters = pywrapcp.DefaultRoutingSearchParameters()
search_parameters.first_solution_strategy = (
routing_enums_pb2.FirstSolutionStrategy.PATH_CHEAPEST_ARC
)
search_parameters.local_search_metaheuristic = (
routing_enums_pb2.LocalSearchMetaheuristic.GUIDED_LOCAL_SEARCH
)
search_parameters.time_limit.seconds = 5
# Solve
solution = routing.SolveWithParameters(search_parameters)
return solution is not None
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 154 lines · 75 tokens per session scan A e5319a6b0e8e
vehicle-routing-problem-optimization is a skill published in the GitHub repository hamzabellouch/agent-skills (8 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 1,656 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.
Other skills, from other repositories
spec-implement
Orchestrate parallel implementation of a feature specification by dispatching coder agents batch-by-batch with code review gates between batches. Use this skill when the user says "implement this feature", "start implementing", "run the spec", "execute the plan", "continue implementing", or wants to begin coding a…
spec-ship
Push the current branch to GitHub and create a pull request. Use this skill when the user says "ship it", "ship this", "push to github", "create a pr", "open a pull request", "send for review", "get this reviewed", or wants to push their work and open a PR. Also use when the user says "/spec-ship" (or their host's…
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.