home / skills / openclaw / skills / x-trends-dev
This skill fetches current top X Trends by country, delivering quick, JSON-ready insights for monitoring trends and scripting.
npx playbooks add skill openclaw/skills --skill x-trends-devReview the files below or copy the command above to add this skill to your agents.
---
name: x-trends
description: "Fetches current top trending topics on X (Twitter) for any country using public aggregators."
version: 1.2.0
author: Ani
license: MIT
---
# X Trends Scraper 📉
A professional CLI tool to fetch X (Twitter) trending topics without an account.
Powered by [getdaytrends.com](https://getdaytrends.com).
## Installation
```bash
clawdhub install x-trends
```
## Usage
Run the tool directly:
```bash
# Default (India, Top 20, Table View)
x-trends
# JSON Output (for scripts)
x-trends --json
# Specific Country & Limit
x-trends --country us --limit 5
```
## Features
- **No Login Required**: Uses public aggregators.
- **Volume Data**: Shows tweet counts (<10K, 50K, etc).
- **Multi-Country**: Supports 'us', 'uk', 'india', 'world', etc.
- **JSON Mode**: Easy parsing for other tools.
## Output
Displays a clean, colorized table or raw JSON.
This skill fetches current top trending topics on X (formerly Twitter) for any country using public trend aggregator services. It provides both a readable table view and a machine-friendly JSON output. The tool does not require an X account and is suitable for quick trend checks or integration into scripts.
The skill scrapes public aggregator pages to collect the latest trending topics for a specified country or region. It extracts headline text, estimated volume bands (like <10K, 50K, etc.), and rank position, then formats results as a colorized table or as JSON. Command-line flags let you choose country, result limit, and output mode for easy automation.
Do I need an X/Twitter account to use this skill?
No. The skill uses public aggregator pages and does not require logging into X.
Can I get results in a format suitable for automation?
Yes. Use the JSON output mode to receive structured data for scripts and pipelines.