← Back to Skills Marketplace
terrycarter1985

GOG Sales Analytics

by terrycarter1985 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gog-sales-analytics
Description
Weekly GOG sales scraper, AI analysis via Gemini, and Feishu Drive report sync. Scrapes all discounted games from GOG catalog, generates markdown insights, a...
README (SKILL.md)

GOG Sales Analytics

Automated weekly workflow: scrape GOG discounts → Gemini analysis → Feishu Drive report.

What It Does

  1. Scrape — Fetches all currently discounted games from the GOG catalog API (paginated, no auth needed)
  2. Analyze — Sends full discount dataset to Google Gemini for deal analysis, trend comparison, and budget recommendations
  3. Upload — Syncs the markdown report to a Feishu Drive folder with proper multipart upload

Prerequisites

  • Python 3.10+
  • Environment variables (set in .env or environment):
    • GEMINI_API_KEY — Google Gemini API key
    • FEISHU_APP_ID — Feishu app ID
    • FEISHU_APP_SECRET — Feishu app secret
    • FEISHU_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_all multipart endpoint
  • Scraping is rate-limited (0.5s between pages)
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gog-sales-analytics
  3. After installation, invoke the skill by name or use /gog-sales-analytics
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: GOG API scraper, full-dataset Gemini analysis, Feishu Drive upload with multipart fix
Metadata
Slug gog-sales-analytics
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install GOG Sales Analytics?

Run "/install gog-sales-analytics" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is GOG Sales Analytics free?

Yes, GOG Sales Analytics is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does GOG Sales Analytics support?

GOG Sales Analytics is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created GOG Sales Analytics?

It is built and maintained by terrycarter1985 (@terrycarter1985); the current version is v1.0.0.

💬 Comments