AI Layoff Radar
v1.0.0Detect AI-driven layoffs from global news and generate structured risk reports.
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The code implements news fetching, layoff extraction, LLM classification, and a billing flow — all coherent with the 'AI Layoff Radar' purpose. However the declared required environment variable in SKILL.md/registry is NEWS_API_KEY (primary credential), which the code never uses. Instead the code expects OPENAI_API_KEY (for LLM classification) and SKILLPAY_API_KEY (for billing). The NEWS_API_KEY requirement is misleading and disproportionate to the actual implementation.
Instruction Scope
SKILL.md describes scanning news and returning structured reports but omits any mention of the SkillPay billing step and of using OpenAI for classification. At runtime main.py enforces billing (GET/POST to https://skillpay.me) before running detection and uses an OpenAI call for classification (with a heuristic fallback). The instructions therefore under-specify critical behavior (charging the user and calling an external LLM).
Install Mechanism
No install spec is provided (instruction-only), which limits install-time risk. However the skill bundles Python source and a requirements.txt that will pull third-party packages (requests, feedparser, newspaper3k, openai, etc.) if installed. There are no downloads from arbitrary URLs or extract operations in an install script, so install risk is moderate/standard for a Python package.
Credentials
Registry/SKILL.md declare a single required env var NEWS_API_KEY, but the code actually reads OPENAI_API_KEY (sensitive) and SKILLPAY_API_KEY (sensitive), plus optional SKILLPAY_DEV_MODE and OPENAI_MODEL. Billing requires SKILLPAY_API_KEY and will send it to https://skillpay.me. The primaryEnv declared is incorrect, and sensitive credentials required by the code are not documented in the skill metadata, which is a misleading/Proportionality problem.
Persistence & Privilege
The skill does not request persistent 'always' inclusion and does not modify other skills or system-wide settings. It performs network calls (news sites, LLM provider, billing endpoint) during runs, which is expected for its purpose. Autonomous invocation is enabled by default (normal behavior) but combined with the hidden billing flow and missing metadata this increases the practical risk surface.
What to consider before installing
Do not install or enable this skill yet. Ask the publisher to: (1) correct SKILL.md/registry so it lists OPENAI_API_KEY and SKILLPAY_API_KEY (and mark which is primary), (2) explicitly document the billing flow and when/why the skill will charge users, and (3) provide the real homepage or source repository and provenance for https://skillpay.me. If you must test it, run it in an isolated environment (no production credentials), set SKILLPAY_DEV_MODE=true to avoid live charges, and review network traffic to confirm no unexpected endpoints are contacted.Like a lobster shell, security has layers — review code before you run it.
Runtime requirements
EnvNEWS_API_KEY
Primary envNEWS_API_KEY
ai news layoffs automation alertslatest
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
- Scan news sources.
- Extract layoff events.
- Detect AI-related causality.
- Generate a structured report.
Output format
Return JSON with fields:
companydatecountrylayoff_sizeai_causality_scoresummary
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."
}
]
}
Comments
Loading comments...
