TopRank Skills

Home / Claw Skills / 数据解析 / ai-layoff-radar
Official OpenClaw rules 36%

ai-layoff-radar

Detect AI-driven layoffs from global news and generate structured risk reports.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 ai-layoff-radar 技能。 若已安装,则直接安装 ai-layoff-radar 技能。

Overview

Skill Key
arthuronai/ai-layoff-radar
Author
arthuronai
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/arthuronai/ai-layoff-radar
Latest Commit SHA
2cf6ff9b6f96cfd68df6d9c9a989e40feeee85d8

Extracted Content

SKILL.md excerpt

# AI Layoff Radar

Detect global layoffs caused by AI adoption, automation rollout, and AI-led efficiency programs.

## When to use this skill

Activate this skill when the user asks to find, summarize, or monitor layoffs linked to AI adoption.

Use it for triggers such as:
- AI layoffs
- automation layoffs
- job cuts caused by AI
- companies replacing workers with AI
- AI efficiency layoffs

## Steps

1. Scan news sources.
2. Extract layoff events.
3. Detect AI-related causality.
4. Generate a structured report.

## Output format

Return JSON with fields:
- `company`
- `date`
- `country`
- `layoff_size`
- `ai_causality_score`
- `summary`

## Example

User query:
`Find recent AI layoffs`

Example JSON response:

```json
{
  "summary": {
    "total_events": 2,
    "top_companies": ["Example Corp", "Sample Systems"]
  },
  "detected_events": [
    {
      "company": "Example Corp",
      "date": "2026-03-04T14:20:00+00:00",
      "country": "USA",
      "layoff_size": 1200,
      "ai_causality_score": 88,
      "summary": "Company announced layoffs after AI automation rollout in customer operations."
    },
    {
      "company": "Sample Systems",
      "date": "2026-03-03T09:10:00+00:00",
      "country": "UK",
      "layoff_size": 350,
      "ai_causality_score": 74,
      "summary": "Job cuts tied to AI efficiency program and workflow automation."
    }
  ]
}
```

README excerpt

# AI Layoff Radar Skill

AI Layoff Radar is an OpenClaw skill that scans global news and detects company layoffs that are specifically tied to AI adoption (automation, AI replacing workers, and AI efficiency-driven cuts).

## What This Skill Does

1. Fetches layoff-related news from:
   - Google News RSS
   - TechCrunch
   - Bloomberg
   - Reuters
   - Financial Times
   - The Verge
   - Wired
2. Detects layoff candidate events from article text.
3. Extracts structured fields:
   - `company_name`
   - `date`
   - `country`
   - `layoff_count`
   - `reason`
   - `source_url`
4. Classifies each event using an LLM prompt and keeps only AI-related layoffs.
5. Returns a structured JSON report.
6. Enforces SkillPay billing before detection runs.

## Project Structure

- `SKILL.md`
- `README.md`
- `requirements.txt`
- `main.py`
- `layoff_detector.py`
- `news_fetcher.py`
- `ai_classifier.py`
- `billing.py`

## Installation

```bash
pip install -r requirements.txt
```

## Configuration

Set environment variables:

```bash
# OpenAI (for layoff causality classification)
OPENAI_API_KEY=your_openai_api_key
OPENAI_MODEL=gpt-4o-mini

# SkillPay
SKILLPAY_API_KEY=your_skillpay_api_key
SKILLPAY_DEV_MODE=false
```

## SkillPay Billing Setup

SkillPay uses the official API host `https://skillpay.me` and the following endpoints:

- `GET /api/v1/billing/balance`
- `POST /api/v1/billing/charge`
- `POST /api/v1/billing/payment-link`

Set API key:

```bash
export SKILLPAY_API_KEY="your_api_key"
```

DEV mode:

- Set `SKILLPAY_DEV_MODE=true` to bypass live billing calls during local development.
- In DEV mode, billing functions simulate success responses (for example balance `999`).
- In non-DEV mode, missing `SKILLPAY_API_KEY` raises: `SKILLPAY_API_KEY not configured`.

## Run Locally

```bash
python main.py --user_id user_123
```

## Billing Flow (SkillPay)

Skill ID:

- `d81a694a-f0bd-4119-a07a-926927d75631`

Price per call:

- `$0.02`

Execution order in `main.py`:

1. Receive `user_id`...

Related Claw Skills

openstockdata

stock-data-skill

★ 4

OpenClaw Skill for stock data analysis

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

capt-marbles

phantombuster

★ 0

Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.

caspian9

feishu-file-manager

★ 0

飞书云盘文件管理技能。用于读取、下载和管理飞书云盘中的文件。 当用户需要:访问飞书文件、下载文档、读取PDF/Word/PPT文件、分析飞书云盘内容时使用。 核心方法:使用 tenant_access_token 调用 Drive API 下载文件,解析内容返回给用户。

camopel

ddgs-search

★ 0

Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.

camopel

finviz-crawler

★ 0

Continuous financial news crawler for finviz.com with SQLite storage, article extraction, and query tool. Use when monitoring financial markets, building news digests, or needing a local financial news database. Runs as a background daemon or systemd service.