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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- Never write to
assets/,references/, orscripts/— these are part of the skill distribution and must remain unchanged. - All downloaded input files (from remote URLs) must be saved to
./run/data/. - All generated HTML reports must be saved to
./run/report/. - All generated Python scripts must be saved to
./run/. - The
run/directory may be cleared between sessions; do not store permanent data there. - Working directory for execution: All generated scripts in
./run/must be executed with the skill root directory (the directory containingSKILL.md) as the current working directory, so that relative paths likeassets/iso3166-1.jsonand./run/data/report-data.jsonresolve correctly. Do notcdinto./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
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。