Token导航 LogoToken导航

Agent Skill · 研究检索

maintain-data-structures(维护数据结构)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

maintain-data-structures 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 69,087。

总安装 220周安装 9GitHub Stars 1下载 71核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:maintain-data-structures(维护数据结构)
来源仓库:https://github.com/dudusoar/vrp-toolkit
仓库路径:skills/maintain-data-structures
安装命令:
npx skills add https://github.com/dudusoar/vrp-toolkit --skill maintain-data-structures
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dudusoar/vrp-toolkit --skill maintain-data-structures

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助数据整理、表格分析和指标计算。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合清洗字段、汇总数据或生成统计口径。使用时需确认数据来源、字段含义和时间范围。涉及敏感数据时应先确认脱敏边界和导出权限。

maintain-data-structures 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/maintain-data-structures

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dudusoar/vrp-toolkit --skill maintain-data-str…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

maintain-data-structures 怎么安装?

在终端执行 npx skills add https://github.com/dudusoar/vrp-toolkit --skill maintain-data-structures。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

maintain-data-structures 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

maintain-data-structures 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

maintain-data-structures 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

maintain-data-structures 用的人多吗?

公开数据是累计安装 220 次,近一周安装 9 次,下载 71 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

maintain-data-structures 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
maintain-data-structures

维护数据结构 · 本页

2201需要联网MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Data Structures Reference

Quick access to all data structure definitions in the VRP toolkit. This skill saves tokens by providing pre-documented structures instead of reading source code repeatedly.

Quick Navigation

Choose the appropriate reference based on what you're working with:

By Layer

- Instance, PDPTWInstance, Solution, Node, Constraint - When: Defining or working with problem instances

- Solver, ALNSSolver, Operators, SearchState, ALNSConfig - When: Implementing or understanding algorithms

- OSMnx graphs, GeoDataFrame, distance matrices, data generators - When: Loading data, working with OSMnx, benchmarks

- How routes, time windows, coordinates are actually represented in code - When: Understanding how to work with data structures in Python

By Common Questions

QuestionReferenceSection
"What attributes does Instance have?"problem_layer.mdInstance
"How are routes represented?"runtime_formats.mdRoute Representation
"What's in an OSMnx Graph?"data_layer.mdGraph (NetworkX)
"How do I configure ALNS?"algorithm_layer.mdALNSConfig
"What's the structure of a Node?"problem_layer.mdNode
"How are time windows stored?"runtime_formats.mdTime Window Representation
"How do destroy operators work?"algorithm_layer.mdDestroyOperator
"What's in a distance matrix?"runtime_formats.mdDistance Matrix
"How do I work with OSMnx nodes?"data_layer.mdGeoDataFrame
"What's a Solution object?"problem_layer.mdSolution

By Data Type

TypeReferenceDescription
Instanceproblem_layer.mdProblem definition
Solutionproblem_layer.mdSolution with routes
Nodeproblem_layer.mdLocation/customer
Routeruntime_formats.mdList[int] format
TimeWindowruntime_formats.mdTuple[float, float] format
ALNSConfigalgorithm_layer.mdAlgorithm configuration
Operatoralgorithm_layer.mdDestroy/repair/local search
nx.MultiDiGraphdata_layer.mdOSMnx network graph
np.ndarrayruntime_formats.mdDistance/time matrices
GeoDataFramedata_layer.mdOSMnx nodes/edges

When to Use This Skill

Trigger this skill when:

  1. Understanding structures: "What attributes does X have?"
  2. Working with data: "How do I access Y in Z?"
  3. Migrating code: Need to understand existing data structures
  4. Implementing features: Need to know structure interfaces
  5. Debugging: Need to understand what data looks like
  6. Avoiding repeated reads: Instead of reading source code files repeatedly

Reference Files Overview

problem_layer.md

Size: ~300 lines Contains:

  • Instance, PDPTWInstance classes
  • Solution class with methods
  • Node class with all attributes
  • Constraint types
  • Type aliases
  • Common usage patterns

Use when: Defining problems, creating instances, working with solutions

algorithm_layer.md

Size: ~350 lines Contains:

  • Solver interface
  • ALNSSolver and ALNSConfig
  • Destroy/Repair/LocalSearch operators
  • SearchState tracking
  • Operator statistics
  • ALNS main loop pattern

Use when: Implementing algorithms, understanding operators, configuring ALNS

data_layer.md

Size: ~300 lines Contains:

  • OSMnx Graph structure (NetworkX)
  • GeoDataFrame (nodes and edges)
  • Distance/time matrix creation
  • Data generators (OrderGenerator)
  • Benchmark formats (Solomon)
  • OSMnx → VRP conversions

Use when: Loading data, OSMnx integration, working with benchmarks

runtime_formats.md

Size: ~400 lines Contains:

  • Route as List[int] with examples
  • TimeWindow as Tuple[float, float]
  • Coordinates as tuples
  • Distance matrices as NumPy arrays
  • Pickup-delivery pairs as list of tuples
  • Configuration dictionaries
  • Common type conversions
  • Memory efficiency tips

Use when: Understanding practical code representations, writing/reading routes

Usage Examples

Example 1: Understanding a Route

Question: "I see route = [0, 5, 3, 7, 0] in the code. What does this mean?"

Action: Load runtime_formats.md → Route Representation

Answer:

  • Route is a list of node IDs
  • 0 = depot (start and end)
  • [5, 3, 7] = customers visited in order
  • This represents: Depot → Node 5 → Node 3 → Node 7 → Depot

Example 2: Creating an Instance

Question: "How do I create a PDPTW instance?"

Action: Load problem_layer.md → PDPTWInstance

Answer:

instance = PDPTWInstance(
    nodes=node_list,
    battery_capacity=100.0,
    max_route_time=480.0,
    vehicle_capacity=50.0
)

Example 3: Configuring ALNS

Question: "What parameters can I configure for ALNS?"

Action: Load algorithm_layer.md → ALNSConfig

Answer: See all parameters with defaults, explanations, and usage example.

Example 4: Working with OSMnx

Question: "What attributes does an OSMnx node have?"

Action: Load data_layer.md → Node Attributes

Answer: y (lat), x (lon), osmid, street_count, etc.

Benefits of This Skill

  1. Token Efficiency: Read structured docs once instead of code files repeatedly
  2. Quick Reference: Find information faster with organized structure
  3. Complete Coverage: All data structures in one place
  4. Practical Examples: Shows actual usage, not just definitions
  5. Cross-Referenced: Easy to navigate between related structures

Integration with Other Skills

This skill is referenced by:

  • migrate-module: Understanding structures when migrating code
  • osmnx-integration: OSMnx data structure details (when created)
  • add-algorithm: Algorithm layer structures for new implementations

When other skills need data structure information, they reference this skill instead of reading source code.

Maintenance

This reference should be updated when:

  • New data structures are added to the codebase
  • Existing structures change significantly
  • New attributes or methods are added to core classes

Keep this as the single source of truth for data structure documentation.

平台分布

Claude Code

31.13%
按下载量换算22

windsurf

23.14%
按下载量换算16

trae

17.42%
按下载量换算12

OpenCode

11.34%
按下载量换算8

Codex

7.28%
按下载量换算5

github-copilot

3.68%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills