← 返回 Skills 市场
GOG Sales Analytics
作者
terrycarter1985
· GitHub ↗
· v1.0.0
· MIT-0
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gog-sales-analytics
功能描述
Weekly GOG sales scraper, AI analysis via Gemini, and Feishu Drive report sync. Scrapes all discounted games from GOG catalog, generates markdown insights, a...
使用说明 (SKILL.md)
GOG Sales Analytics
Automated weekly workflow: scrape GOG discounts → Gemini analysis → Feishu Drive report.
What It Does
- Scrape — Fetches all currently discounted games from the GOG catalog API (paginated, no auth needed)
- Analyze — Sends full discount dataset to Google Gemini for deal analysis, trend comparison, and budget recommendations
- Upload — Syncs the markdown report to a Feishu Drive folder with proper multipart upload
Prerequisites
- Python 3.10+
- Environment variables (set in
.envor environment):GEMINI_API_KEY— Google Gemini API keyFEISHU_APP_ID— Feishu app IDFEISHU_APP_SECRET— Feishu app secretFEISHU_DRIVE_FOLDER_ID— Target Feishu Drive folder token
Usage
pip install -r requirements.txt
python main.py
Or import individual modules:
from scraper.gog_api_scraper import scrape_and_save
from analysis.gemini_analyzer import analyze_sales_data
from sync.feishu_upload import upload_file_to_feishu
sales_file = scrape_and_save()
report_file = analyze_sales_data(sales_file)
url = upload_file_to_feishu(report_file, folder_id)
File Structure
├── main.py # Workflow orchestrator
├── scraper/
│ └── gog_api_scraper.py # GOG catalog API scraper
├── analysis/
│ └── gemini_analyzer.py # Gemini-powered analysis
├── sync/
│ └── feishu_upload.py # Feishu Drive upload
├── requirements.txt
├── .env.example
└── SKILL.md
Notes
- GOG catalog API requires no authentication
- Gemini analysis processes the full discount dataset (no truncation)
- Feishu upload uses the
upload_allmultipart endpoint - Scraping is rate-limited (0.5s between pages)
安全使用建议
Before installing, confirm you are comfortable providing Gemini and Feishu credentials, restrict the Feishu app and folder permissions, and run it in a virtual environment. The provided code is coherent with the advertised workflow and does not show hidden exfiltration or destructive behavior.
功能分析
Type: OpenClaw Skill
Name: gog-sales-analytics
Version: 1.0.0
The skill bundle implements a legitimate automated workflow for scraping GOG sales data, analyzing it via Google Gemini, and uploading the results to Feishu Drive. The code follows standard practices for API integration, environment variable management, and rate limiting, with no evidence of malicious intent, data exfiltration, or prompt injection risks.
能力标签
能力评估
Purpose & Capability
The code coherently matches the stated workflow: public GOG scraping, Gemini analysis, and Feishu report upload. The notable capability is that it interacts with external cloud services and can write to a Feishu Drive folder.
Instruction Scope
The usage instructions are user-directed and do not contain goal overrides, hidden stopping-condition changes, or instructions to run outside the stated workflow.
Install Mechanism
The skill is described as instruction-only but asks the user to run pip install from requirements.txt. The dependencies are purpose-aligned but not pinned to exact versions.
Credentials
SKILL.md discloses required Gemini and Feishu environment variables, but registry metadata declares no required env vars or primary credential. This is an under-declaration rather than hidden behavior.
Persistence & Privilege
The workflow writes scraped data and generated reports locally and uploads the report to a configured Feishu folder. No background persistence or autonomous recurring execution is shown.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gog-sales-analytics - 安装完成后,直接呼叫该 Skill 的名称或使用
/gog-sales-analytics触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: GOG API scraper, full-dataset Gemini analysis, Feishu Drive upload with multipart fix
元数据
常见问题
GOG Sales Analytics 是什么?
Weekly GOG sales scraper, AI analysis via Gemini, and Feishu Drive report sync. Scrapes all discounted games from GOG catalog, generates markdown insights, a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。
如何安装 GOG Sales Analytics?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gog-sales-analytics」即可一键安装,无需额外配置。
GOG Sales Analytics 是免费的吗?
是的,GOG Sales Analytics 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
GOG Sales Analytics 支持哪些平台?
GOG Sales Analytics 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 GOG Sales Analytics?
由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.0.0。
推荐 Skills