twitter

Extract tweets, timelines, and engagement metrics from X pages via browser automation.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/lava-chen/duya --skill twitter-lava-chen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twitter
Source: https://github.com/lava-chen/duya/tree/main/packages/agent/skills/media/twitter
Command: npx skills add https://github.com/lava-chen/duya --skill twitter-lava-chen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the challenge of collecting and analyzing X (Twitter) content by extracting tweets, timelines, and search results without relying on fragile manual browsing.

Core Features & Use Cases

  • Tweet Extraction: Retrieve tweet text, authors, timestamps, engagement metrics, and direct links from X pages.
  • Timeline and Search Retrieval: Collect user timelines, home feeds, and topic-based search results through browser-driven extraction.
  • Robust Data Collection: Uses DOM extraction as the primary approach with API fallback handling for difficult cases such as SPA navigation and tab disconnections.

Quick Start

Use the twitter skill to fetch the latest tweets from a specified X account and return their engagement details.

Frequently Asked Questions about twitter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract tweets and engagement metrics from an X account timeline?

Tweet extraction from X pages uses browser navigation and DOM-based extraction to retrieve tweet text, authors, timestamps, and engagement metrics. It applies API fallback handling to ensure reliable data retrieval across SPA navigations.

What is the best way to collect Twitter search results without manual browsing?

Browser-driven DOM extraction is the best way to collect Twitter search results, retrieving topic-based outputs automatically. It applies API fallback handling to maintain reliable retrieval during SPA navigation and tab disconnections.

Does tweet extraction work with SPA navigation and tab disconnections on X?

Tweet extraction handles SPA navigation and tab disconnections on X by applying API fallback support. This ensures continuous social media activity data collection when standard DOM extraction encounters difficult page states.

Can I monitor an X account and analyze tweet engagement metrics automatically?

You can monitor X accounts and analyze tweet engagement metrics automatically by applying browser automation to timeline pages. It extracts direct links and engagement data for workflows involving account monitoring and tweet engagement analysis.

Why does Twitter data extraction fail during DOM-based retrieval?

Twitter data extraction fails during DOM-based retrieval when SPA navigation or tab disconnections alter the page structure. The Skill applies API fallback support to handle these difficult cases and maintain reliable tweet extraction.