搜索

PythonReactSEOPDF
OpenClaw

ai-layoff-radar

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

arthuronai0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install arthuronai/ai-layoff-radar

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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:

{
  "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."
    }
  ]
}

来源信息

Source
github
Repository
openclaw/skills
Path
skills/arthuronai/ai-layoff-radar
Version
1.0.0
Commit
2cf6ff9b6f96cfd68df6d9c9a989e40feeee85d8
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

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

pip install -r requirements.txt

Configuration

Set environment variables:

# 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:

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

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...

来源内容

SKILL.md
# 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
# 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`...

相关技能

OpenClaw

geo-optimization

capt-marbles

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 discove...

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...