[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CSC062W4918C9A4NPCF0X7":3,"skill-same:01M7CSC062W4918C9A4NPCF0X7":108},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M7CSC062W4918C9A4NPCF0X7","cuopt-routing-api-python",null,"Vehicle routing (VRP, TSP, PDP) with cuOpt — Python API only. Use when the user is building or solving routing in Python.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cuopt-routing-api-python\nversion: \"26.08.00\"\ndescription: Vehicle routing (VRP, TSP, PDP) with cuOpt — Python API only. Use when the user is building or solving routing in Python.\nlicense: Apache-2.0\nmetadata:\n  author: NVIDIA cuOpt Team\n  tags:\n    - cuopt\n    - routing\n    - vrp\n    - tsp\n    - python\n---\n\n\n\n# cuOpt Routing — Python API\n\nConfirm problem type (TSP, VRP, PDP) and data (locations, orders, fleet, constraints) before coding.\n\nThis skill is **Python only**. Routing has no C API in cuOpt.\n\n## Minimal VRP Example\n\n```python\nimport cudf\nfrom cuopt import routing\n\ncost_matrix = cudf.DataFrame([...], dtype=\"float32\")\ndm = routing.DataModel(n_locations=4, n_fleet=2, n_orders=3)\ndm.add_cost_matrix(cost_matrix)\ndm.set_order_locations(cudf.Series([1, 2, 3], dtype=\"int32\"))\nsolution = routing.Solve(dm, routing.SolverSettings())\n\nif solution.get_status() == 0:\n    solution.display_routes()\n```\n\n## Adding Constraints\n\n```python\n# Time windows\ndm.add_transit_time_matrix(transit_time_matrix)\ndm.set_order_time_windows(earliest_series, latest_series)\n\n# Capacities\ndm.add_capacity_dimension(\"weight\", demand_series, capacity_series)\ndm.set_order_service_times(service_times)\ndm.set_vehicle_locations(start_locations, end_locations)\ndm.set_vehicle_time_windows(earliest_start, latest_return)\n\n# Pickup-delivery pairs\ndm.set_pickup_delivery_pairs(pickup_indices, delivery_indices)\n\n# Precedence\ndm.add_order_precedence(node_id=2, preceding_nodes=np.array([0, 1]))\n```\n\n## Solution Checking\n\n```python\nstatus = solution.get_status()  # 0=SUCCESS, 1=FAIL, 2=TIMEOUT, 3=EMPTY\nif status == 0:\n    route_df = solution.get_route()\n    total_cost = solution.get_total_objective()\nelse:\n    print(solution.get_error_message())\n    print(solution.get_infeasible_orders().to_list())\n```\n\n## Data Types (use explicit dtypes)\n\n```python\ncost_matrix = cost_matrix.astype(\"float32\")\norder_locations = cudf.Series([...], dtype=\"int32\")\ndemand = cudf.Series([...], dtype=\"int32\")\n```\n\n## Solver Settings\n\n```python\nss = routing.SolverSettings()\nss.set_time_limit(30)\nss.set_verbose_mode(True)\nss.set_error_logging_mode(True)\n```\n\n## Common Issues\n\n| Problem | Fix |\n|---------|-----|\n| Empty solution | Widen time windows or check travel times |\n| Infeasible orders | Increase fleet or capacity |\n| Status != 0 with time windows | Add `add_transit_time_matrix()` |\n| Wrong cost | Check cost_matrix is symmetric |\n| `compute_waypoint_sequence` alters route_df | It replaces the `location` column with waypoint ids in place — pass `route_df.copy()` if you still need cost-matrix indices (e.g. when iterating per truck) |\n\n## Debugging\n\n**When status != 0:** `print(solution.get_error_message())` and `print(solution.get_infeasible_orders().to_list())` to see which orders are infeasible.\n\n**Data types:** Use explicit dtypes (float32, int32) for matrices and series to avoid silent errors.\n\n## Examples\n\n- [examples.md](references\u002Fexamples.md) — VRP, PDP, multi-depot\n- [server_examples.md](references\u002Fserver_examples.md) — REST client (curl, Python)\n- **Reference models:** This skill's `assets\u002F` — [vrp_basic](assets\u002Fvrp_basic\u002F), [pdp_basic](assets\u002Fpdp_basic\u002F). See [assets\u002FREADME.md](assets\u002FREADME.md).\n\n## Escalate\n\nFor contribution or build-from-source, see the developer skill.\n","# cuOpt Routing — Python API\n\nConfirm problem type (TSP, VRP, PDP) and data (locations, orders, fleet, constraints) before coding.\n\nThis skill is **Python only**. Routing has no C API in cuOpt.\n\n## Minimal VRP Example\n\n```python\nimport cudf\nfrom cuopt import routing\n\ncost_matrix = cudf.DataFrame([...], dtype=\"float32\")\ndm = routing.DataModel(n_locations=4, n_fleet=2, n_orders=3)\ndm.add_cost_matrix(cost_matrix)\ndm.set_order_locations(cudf.Series([1, 2, 3], dtype=\"int32\"))\nsolution = routing.Solve(dm, routing.SolverSettings())\n\nif solution.get_status() == 0:\n    solution.display_routes()\n```\n\n## Adding Constraints\n\n```python\n# Time windows\ndm.add_transit_time_matrix(transit_time_matrix)\ndm.set_order_time_windows(earliest_series, latest_series)\n\n# Capacities\ndm.add_capacity_dimension(\"weight\", demand_series, capacity_series)\ndm.set_order_service_times(service_times)\ndm.set_vehicle_locations(start_locations, end_locations)\ndm.set_vehicle_time_windows(earliest_start, latest_return)\n\n# Pickup-delivery pairs\ndm.set_pickup_delivery_pairs(pickup_indices, delivery_indices)\n\n# Precedence\ndm.add_order_precedence(node_id=2, preceding_nodes=np.array([0, 1]))\n```\n\n## Solution Checking\n\n```python\nstatus = solution.get_status()  # 0=SUCCESS, 1=FAIL, 2=TIMEOUT, 3=EMPTY\nif status == 0:\n    route_df = solution.get_route()\n    total_cost = solution.get_total_objective()\nelse:\n    print(solution.get_error_message())\n    print(solution.get_infeasible_orders().to_list())\n```\n\n## Data Types (use explicit dtypes)\n\n```python\ncost_matrix = cost_matrix.astype(\"float32\")\norder_locations = cudf.Series([...], dtype=\"int32\")\ndemand = cudf.Series([...], dtype=\"int32\")\n```\n\n## Solver Settings\n\n```python\nss = routing.SolverSettings()\nss.set_time_limit(30)\nss.set_verbose_mode(True)\nss.set_error_logging_mode(True)\n```\n\n## Common Issues\n\n| Problem | Fix |\n|---------|-----|\n| Empty solution | Widen time windows or check travel times |\n| Infeasible orders | Increase fleet or capacity |\n| Status != 0 with time windows | Add `add_transit_time_matrix()` |\n| Wrong cost | Check cost_matrix is symmetric |\n| `compute_waypoint_sequence` alters route_df | It replaces the `location` column with waypoint ids in place — pass `route_df.copy()` if you still need cost-matrix indices (e.g. when iterating per truck) |\n\n## Debugging\n\n**When status != 0:** `print(solution.get_error_message())` and `print(solution.get_infeasible_orders().to_list())` to see which orders are infeasible.\n\n**Data types:** Use explicit dtypes (float32, int32) for matrices and series to avoid silent errors.\n\n## Examples\n\n- [examples.md](references\u002Fexamples.md) — VRP, PDP, multi-depot\n- [server_examples.md](references\u002Fserver_examples.md) — REST client (curl, Python)\n- **Reference models:** This skill's `assets\u002F` — [vrp_basic](assets\u002Fvrp_basic\u002F), [pdp_basic](assets\u002Fpdp_basic\u002F). See [assets\u002FREADME.md](assets\u002FREADME.md).\n\n## Escalate\n\nFor contribution or build-from-source, see the developer skill.\n",{"name":5,"license":15,"version":24,"metadata":25,"description":7},"26.08.00",{"tags":26,"author":32},[27,28,29,30,31],"cuopt","routing","vrp","tsp","python","NVIDIA cuOpt Team","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill cuopt-routing-api-python",{"tool":48,"command":49},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill cuopt-routing-api-python",{"tool":51,"command":52},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill cuopt-routing-api-python","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002FSKILL.md",true,[56,62,68,72,76,80,86,90,94,98,102],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"assets\u002Fpdp_basic\u002Fmodel.py","SCRIPT","脚本",1568,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fassets\u002Fpdp_basic\u002Fmodel.py",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"assets\u002Fpdp_basic\u002FREADME.md","ASSET","资产文件",257,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fassets\u002Fpdp_basic\u002FREADME.md",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"assets\u002FREADME.md",553,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fassets\u002FREADME.md",{"path":73,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":74,"sourceHtmlUrl":75},"assets\u002Fvrp_basic\u002Fmodel.py",838,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fassets\u002Fvrp_basic\u002Fmodel.py",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"assets\u002Fvrp_basic\u002FREADME.md",272,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fassets\u002Fvrp_basic\u002FREADME.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"BENCHMARK.md","REFERENCE","参考文档",5317,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002FBENCHMARK.md",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fevals.json",2382,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fevals\u002Fevals.json",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fexamples.md",7019,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Freferences\u002Fexamples.md",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fserver_examples.md",5794,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Freferences\u002Fserver_examples.md",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"skill-card.md",3744,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fskill-card.md",{"path":103,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":106,"sourceHtmlUrl":107},"skill.oms.sig","OTHER","其他",6253,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-skills\u002Fskills\u002Fcuopt-routing-api-python\u002Fskill.oms.sig",[109,117,124,131,138,145],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]