跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/davila7/claude-code-templates/networkx

Claude Code NetworkX Skill for Weighted Walking Routes

Represent places and links as a Python graph, then compute and explain a shortest path using edge weights. Useful for route analysis or a classroom exercise.

中文

Install in Claude Code

Use Claude Code with the complete pinned skill and a Python environment containing NetworkX. The exercise uses hand-entered edges and needs no map service.

  1. Get the complete `cli-tool/components/skills/scientific/networkx` directory from the pinned GitHub checkout.
  2. Copy it under the target project's `.claude/skills/`. Confirm `.claude/skills/networkx/SKILL.md`, open Claude Code at the project root, and call `/networkx`.

Example task

Build a fictional walking graph. Entry to Gallery is nine minutes directly. Via Garden the two legs take three and four minutes. Find the weighted shortest path and rerun after removing one leg.

What to check

The first path goes through Garden in seven minutes. Removing the Entry-to-Garden edge should leave the nine-minute direct route.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Why could the shortest path take longer in minutes?

Check whether the algorithm uses the travel-time attribute. Minimizing edge count can select a slower route.

Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯