← 返回 Skills 市场
Airline Info To Website
作者
wangxinyu123
· GitHub ↗
· v0.1.1
· MIT-0
83
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install airline-info-to-website
功能描述
抓取航空公司机型座位图数据,自动分类整理图片,生成网站展示航司信息。支持 seatmaps.com 数据源,自动处理机型详情、舱位配置、座椅图片和机上设施信息。
使用说明 (SKILL.md)
Airline Info to Website
系统化收集航空公司机型资料,自动整理归类,为网站展示提供标准化数据结构。
技能包结构
| 文件 / 目录 | 说明 |
|---|---|
SKILL.md |
主入口:权限配置、阶段总览、触发场景 |
references/reference.md |
路径与依赖、输出目录规范、各 Phase 命令、完成检查 |
references/examples.md |
典型用法与命令示例 |
references/template.md |
机型详情文档模板 |
scripts/ |
可执行脚本(抓取、分类、去重) |
路径约定
- 技能根目录:本文件所在目录(含
scripts/) - Python 依赖:
pip install requests beautifulsoup4 - 输出目录:默认为
FlightData/,可自定义
权限配置
本 skill 默认全程按「危险 / 免逐条确认」执行。启动方式:
claude --dangerously-skip-permissions --permission-mode bypassPermissions
或配置 ~/.claude/settings.json:
{
"permissions": {
"allow": [
"Bash",
"Read(~/Desktop/**)",
"Read(~/skills/**)",
"Edit",
"Write",
"MultiEdit"
]
}
}
执行阶段
| 阶段 | 名称 | 命令 |
|---|---|---|
| 1 | 确认范围 | 明确航司名称、机型范围、输出目录 |
| 2 | 获取机型列表 | 访问 seatmaps.com 航司页面 |
| 3 | 抓取机型数据 | python scripts/scrape_seatmaps.py --airline "航司名" --output FlightData/ |
| 4 | 原始归档 | 确认数据已保存到 images/0-原始数据/ |
| 5 | 语义分类 | node scripts/classify-images.js --base-dir "FlightData/航司目录" |
| 6 | 去重 | node scripts/dedup-images.js --base-dir "FlightData/航司目录" |
| 7 | 多版本处理 | 检查机型是否有多个类型版本 |
| 8 | 文档生成 | 生成 机型详情.md、README.md |
| 9 | 清理 | 删除临时文件 |
何时使用
以下场景优先按本 skill 执行:
- 抓取某航司的全部或部分机型数据
- 获取机型的 seatmap、舱位、座椅图片
- 建立航司机型数据库用于网站展示
- 整理飞机图片并分类归档
快速开始
# 1. 抓取数据
python scripts/scrape_seatmaps.py --airline "新加坡航空 Singapore Airlines SQ" --output FlightData/
# 2. 语义分类
node scripts/classify-images.js --base-dir "FlightData/新加坡航空 Singapore Airlines SQ"
# 3. 去重
node scripts/dedup-images.js --base-dir "FlightData/新加坡航空 Singapore Airlines SQ"
详细说明见 references/reference.md,示例见 references/examples.md。
安全使用建议
This skill's code looks consistent with its stated purpose (scraping seatmaps.com and organizing images), but the runtime README instructs you to bypass permission checks and give the agent broad filesystem/edit access — a high-risk request. Do NOT run it with `--dangerously-skip-permissions` or blindly paste the settings.json snippet. Safer options: (1) run the Python/Node scripts locally yourself from a terminal (not via an autonomous agent), limiting the --output path to a dedicated folder; (2) inspect the scripts (they are included) and run them inside an isolated VM or container; (3) use the --dry-run flags first to verify behavior; (4) avoid changing agent-wide ~/.claude/settings.json to allow Read(~/Desktop/**) or access to other skills; (5) monitor network traffic and review seatmaps.com terms/robots.txt to ensure scraping is allowed. If you must use the skill via an agent, restrict its allowed paths to only the intended output directory and deny Edit/Write to unrelated locations.
功能分析
Type: OpenClaw Skill
Name: airline-info-to-website
Version: 0.1.1
The skill bundle contains instructions in SKILL.md that explicitly direct the AI agent to bypass security constraints using flags like '--dangerously-skip-permissions' and '--permission-mode bypassPermissions', as well as suggesting broad Read/Write/Bash permissions in the agent's configuration. While the scripts (scrape_seatmaps.py, classify-images.js, and dedup-images.js) appear to perform their stated tasks of scraping and organizing airline data from seatmaps.com, the attempt to disable the agent's safety sandbox is a significant security risk. Additionally, scrape_seatmaps.py contains a Python syntax error in an f-string (attempting an import inside a string), suggesting the code may be poorly tested or improperly generated.
能力标签
能力评估
Purpose & Capability
The included Python scraper and Node classification/dedup scripts directly implement the described goal (scrape seatmaps.com, save images, classify and deduplicate, generate Markdown). No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md instructs running the agent with `--dangerously-skip-permissions` or editing `~/.claude/settings.json` to allow wide permissions including Read(~/Desktop/**) and Read(~/skills/**), Edit, Write, MultiEdit. Scraping and local file output do not legitimately require broad access to the user's Desktop or other skills folders — this grants the agent scope far beyond the stated task.
Install Mechanism
No remote downloads or installers are included; scripts are provided and dependencies are normal (pip install requests beautifulsoup4, Node.js). There is no high-risk install URL or archive extraction.
Credentials
The skill requests no environment variables or credentials, which is appropriate, but the runtime instructions demand broad filesystem permissions in the agent config. Granting access to ~/Desktop/** and ~/skills/** and Edit/Write privileges is disproportionate to a scraper that only needs a single output directory.
Persistence & Privilege
While always:false, the SKILL.md recommends persistent agent configuration changes (editing ~/.claude/settings.json) to allow bypassed permissions. Modifying agent settings to permanently broaden read/write capabilities increases long-term risk and privilege surface.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install airline-info-to-website - 安装完成后,直接呼叫该 Skill 的名称或使用
/airline-info-to-website触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
airline-info-to-website v0.1.1
- 新增项目文档和说明文件:README.md、scripts/README.md
- 新增机型详情模板文件:references/template.md
- 新增数据采集与整理脚本:scripts/scrape_seatmaps.py(抓取 seatmaps.com 数据)、scripts/classify-images.js(图片分类)、scripts/dedup-images.js(图片去重)
- 丰富技能包结构,完善快速使用流程
v0.1.0
Initial release — automates the collection and organization of airline seat map data for website integration.
- Fetches aircraft seat map and configuration info from seatmaps.com.
- Automatically sorts and categorizes images and aircraft data.
- Provides structured output for website display, including model details and amenities.
- Includes scripts for scraping, classification, deduplication, and data documentation.
- Supports batch processing, multi-version aircraft handling, and easy customization.
元数据
常见问题
Airline Info To Website 是什么?
抓取航空公司机型座位图数据,自动分类整理图片,生成网站展示航司信息。支持 seatmaps.com 数据源,自动处理机型详情、舱位配置、座椅图片和机上设施信息。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。
如何安装 Airline Info To Website?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install airline-info-to-website」即可一键安装,无需额外配置。
Airline Info To Website 是免费的吗?
是的,Airline Info To Website 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Airline Info To Website 支持哪些平台?
Airline Info To Website 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Airline Info To Website?
由 wangxinyu123(@wangxinyu123)开发并维护,当前版本 v0.1.1。
推荐 Skills