跳到正文
Skillpedia
分析与电子表格40k · #7220

geofeed-tuner

它能做什么

这个工具可以帮助你创建和优化 IP 地理位置数据文件(CSV 格式)。它会检查数据是否正确、是否符合官方标准(RFC 8805),并给出改进建议,让数据更准确、更实用。

适用场景

  • ✓第一次需要创建 IP 地理位置文件时。
  • ✓已经有文件,想检查它是否正确并看看有没有改进空间时。
  • ✓需要发布或与他人分享你的 IP 地理位置数据时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/geofeed-tuner/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/geofeed-tuner/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我检查并优化我的 IP 地理位置 CSV 文件。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会分析你的 CSV 文件,并将其与官方标准和最佳实践进行对比。它会检查错误、给出修正建议,并指出如何让数据更准确、更完整。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Geofeed Tuner – Create Better IP Geolocation Feeds

This skill helps you create and improve IP geolocation feeds in CSV format by:

  • Ensuring your CSV is well-formed and consistent
  • Checking alignment with RFC 8805 (the industry standard)
  • Applying opinionated best practices learned from real-world deployments
  • Suggesting improvements for accuracy, completeness, and privacy

When to Use This Skill

  • Use this skill when a user asks for help creating, improving, or publishing an IP geolocation feed file in CSV format.
  • Use it to tune and troubleshoot CSV geolocation feeds — catching errors, suggesting improvements, and ensuring real-world usability beyond RFC compliance.
  • Intended audience:
    • Network operators, administrators, and engineers responsible for publicly routable IP address space
    • Organizations such as ISPs, mobile carriers, cloud providers, hosting and colocation companies, Internet Exchange operators, and satellite internet providers
  • Do not use this skill for private or internal IP address management; it applies only to publicly routable IP addresses.

Prerequisites

  • Python 3 is required.

Directory Structure and File Management

This skill uses a clear separation between distribution files (read-only) and working files (generated at runtime).

Read-Only Directories (Do Not Modify)

The following directories contain static distribution assets. Do not create, modify, or delete files in these directories:

Directory Purpose
assets/ Static data files (ISO codes, examples)
references/ RFC specifications and code snippets for reference
scripts/ Executable code and HTML template files for reports

Working Directories (Generated Content)

All generated, temporary, and output files go in these directories:

Directory Purpose
run/ Working directory for all agent-generated content
run/data/ Downloaded CSV files from remote URLs
run/report/ Generated HTML tuning reports

File Management Rules

  1. Never write to assets/, references/, or scripts/ — these are part of the skill distribution and must remain unchanged.
  2. All downloaded input files (from remote URLs) must be saved to ./run/data/.
  3. All generated HTML reports must be saved to ./run/report/.
  4. All generated Python scripts must be saved to ./run/.
  5. The run/ directory may be cleared between sessions; do not store permanent data there.
  6. Working directory for execution: All generated scripts in ./run/ must be executed with the skill root directory (the directory containing SKILL.md) as the current working directory, so that relative paths like assets/iso3166-1.json and ./run/data/report-data.json resolve correctly. Do not cd into ./run/ before running scripts.

Processing Pipeline: Sequential Phase Execution

All phases must be executed in order, from Phase 1 through Phase 6. Each phase depends on the successful completion of the previous phase. For example, structure checks must complete before quality analysis can run.

The phases are summarized below. The agent must follow the detailed steps outlined further in each phase section.

Phase Name Description
1 Understand the Standard Review the key requirements of RFC 8805 for self-published IP geolocation feeds
2 Gather Input Collect IP subnet data from local files or remote URLs
3 Checks & Suggestions Validate CSV structure, analyze IP prefixes, and check data quality
4 Tuning Data Lookup Use Fastah's MCP tool to retrieve tuning data for improving geolocation accuracy

…

常见问题

什么是“IP 地理位置订阅源”(IP geolocation feed)?

它是一个文件,记录了一段 IP 地址块所在的地理位置信息。你可以把它理解为 IP 地址的“地图”。

RFC 8805 是什么?

它是一份官方文档,规定了这类 IP 地理位置文件应该如何编写,以便所有人都能正确理解和使用。

我可以用它处理自己的私有 IP 地址吗?

不可以,这个工具只适用于互联网上使用的公共 IP 地址。

详情

作者的原始描述

Use this skill whenever the user mentions IP geolocation feeds, RFC 8805, geofeeds, or wants help creating, tuning, validating, or publishing a self-published IP geolocation feed in CSV format. Intended user audience is a network operator, ISP, mobile carrier, cloud provider, hosting company, IXP, or satellite provider asking about IP geolocation accuracy, or geofeed authoring best practices. Help

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7220
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能