Xpersona
G

GOG Weekly Sales Analytics

CLAWHUB · Unverified

Automated weekly workflow that scrapes GOG store discounts, analyzes the full discounted-game dataset with Gemini, generates a markdown insights report, and...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17brwfrqyjhbjgadkvar20h8x8492g8:gog-sales-analytics
  1. Install using `clawhub skill install s17brwfrqyjhbjgadkvar20h8x8492g8:gog-sales-analytics` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/terrycarter1985/gog-sales-analytics before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-terrycarter1985-gog-sales-analytics/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

64,644 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: GOG Weekly Sales Analytics
description: Automated weekly workflow that scrapes GOG store discounts, analyzes the full discounted-game dataset with Gemini, generates a markdown insights report, and syncs it to Feishu Drive. Use for recurring game-deal reporting and team distribution.
tags: ['gog', 'sales', 'gemini', 'feishu', 'workflow', 'analytics']
metadata: {"openclaw":{"emoji":"🎮"}}
---

# GOG Weekly Sales Analytics

Automated workflow that:

1. Scrapes weekly discounted game data from the GOG store
2. Analyzes the **full** set of discounted games with Google Gemini to surface best-value deals
3. Generates a markdown report with insights and recommendations
4. Syncs the report to a shared Feishu Drive folder for team access
5. Publishes the workflow as a reusable skill on ClawHub

## Usage

```bash
cp .env.example .env
# Fill in API keys in .env
pip install -r requirements.txt
python main.py
```

## Environment

| Variable | Purpose |
| --- | --- |
| `GEMINI_API_KEY` | Gemini analysis |
| `FEISHU_APP_ID` / `FEISHU_APP_SECRET` | Feishu Drive auth (tenant_access_token) |
| `FEISHU_DRIVE_FOLDER_ID` | Target Drive folder for the report |
| `CLAWHUB_API_TOKEN` | ClawHub publishing |

## Notes

- Feishu upload uses the `upload_all` multipart/form-data API (metadata in the form body, binary via `files`).
- Gemini analysis processes every discounted game in the dataset — there is no 20-item cap.

## Skills Used

- web-scraper: GOG store data extraction
- gemini: AI-powered sales analysis and report generation
- feishu-drive: Cloud storage sync and permission management
- gog: Game metadata and platform integration
- clawhub: Skill publishing and distribution

README.md

# GOG Weekly Sales Analytics Workflow

Automated workflow that:
1. Scrapes weekly discounted game data from GOG store
2. Analyzes deals using Google Gemini to find best value offers
3. Generates markdown report with insights and recommendations
4. Syncs report to shared Feishu Drive folder for team access
5. Publishes the workflow as a reusable skill on ClawHub

## Usage
```
cp .env.example .env
# Fill in API keys in .env
pip install -r requirements.txt
python main.py
```

## Skills Used
- web-scraper: GOG store data extraction
- gemini: AI-powered sales analysis and report generation
- feishu-drive: Cloud storage sync and permission management
- gog: Game metadata and platform integration
- clawhub: Skill publishing and distribution

_meta.json

{
  "ownerId": "kn72jmd20ws94jr0p8b3p24wyn82abgj",
  "slug": "gog-sales-analytics",
  "version": "1.2.3",
  "publishedAt": 1781969476725
}

skill-card.md

## Description:

Automated weekly workflow that scrapes GOG store discounts, analyzes the full discounted-game dataset with Gemini, generates a markdown insights report, and syncs it to Feishu Drive.

This skill is ready for commercial/non-commercial use.

## Publisher:

[terrycarter1985](https://clawhub.ai/user/terrycarter1985)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and analysts use this skill to run a recurring workflow that collects discounted GOG game data, produces Gemini-assisted deal insights, and distributes the generated report through Feishu Drive.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The workflow publishes the whole working directory after handling API keys and generated reports, creating a credible credential and data exposure risk.

Mitigation: Remove automatic publication from the recurring workflow or replace it with a separate explicit release action that uses a staged allowlist excluding .env, generated data, logs, caches, and other private files.

Risk: GOG sales data and generated reports are sent to Gemini and Feishu.

Mitigation: Use the skill only when that data sharing is acceptable for the deployment context and configured accounts.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/terrycarter1985/skills/gog-sales-analytics)
- [GOG discounted games listing](https://www.gog.com/en/games?priceDiscounted=true)
- [Feishu tenant access token API](https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal)
- [Feishu Drive upload_all API](https://open.feishu.cn/open-apis/drive/v1/files/upload_all)

## Skill Output:

**Output Type(s):** [text, markdown, json, shell commands, configuration]

**Output Format:** [Markdown report, JSON sales data, and shell command output]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Processes the full discounted-game dataset and can upload the generated report to Feishu Drive when configured.]

## Skill Version(s):

1.2.3 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

scraper/gog_sales_scraper.yaml

name: gog-weekly-sales
base_url: https://www.gog.com/en/games?priceDiscounted=true
selectors:
  games:
    selector: ".product-tile"
    children:
      title: ".product-title::text"
      original_price: ".price-value--original::text"
      discounted_price: ".price-value--discounted::text"
      discount_percent: ".discount-badge::text"
      release_date: ".release-date::text"
      game_id: "[data-product-id]::attr(data-product-id)"
output:
  format: json
  path: "../data/weekly_sales_{date}.json"
schedule: "0 0 * * 1"
headers:
  User-Agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"

Sponsored

Ads related to GOG Weekly Sales Analytics and adjacent AI workflows.