grok-json-generator

Convert Twitter links into structured JSON data via browser automation.

35|10|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/ttmouse/skills --skill grok-json-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grok-json-generator
Source: https://github.com/ttmouse/skills/tree/main/grok-json-generator
Command: npx skills add https://github.com/ttmouse/skills --skill grok-json-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the conversion of a list of Twitter links into structured JSON data, streamlining the process of importing data into databases after Twitter filtering.

Core Features & Use Cases

  • Batch URL Conversion: Process multiple Twitter links efficiently.
  • Structured JSON Output: Generates data in a predefined JSON format suitable for database ingestion.
  • Use Case: After curating a list of relevant Twitter posts, use this Skill to transform the links into structured data, including tweet content, author, and metadata, ready for database entry.

Quick Start

Run the script with your list of Twitter links using the command: node scripts/grok-generator.js --links "https://x.com/link1 https://x.com/link2"

Frequently Asked Questions about grok-json-generator

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

FAQPage Schema
How do I convert Twitter links to JSON data for database ingestion?

To convert Twitter links to JSON data, you can automate browser interaction using Playwright to extract tweet content, author, and metadata into a predefined JSON schema. This process automates data extraction, making it ready for database entry.

How do I batch process multiple Twitter URLs to extract tweet content?

You can batch process multiple Twitter URLs by running the generator script with a list of links separated by spaces. The tool handles batch URL conversion automatically, extracting structured data from each tweet sequentially.

Do I need Playwright installed to automate Twitter data extraction?

Yes, you need Playwright installed to automate Twitter data extraction. This Skill relies on Playwright for browser interaction to access Grok's AI capabilities and extract the tweet metadata into a structured JSON file.

What is the best way to scrape Twitter posts into a structured format?

The best way to scrape Twitter posts into a structured format is using browser automation to leverage Grok's AI capabilities. This approach extracts tweet content, author, and metadata directly into a predefined JSON schema, streamlining database imports.

Can I use Node.js scripts to automate Grok AI for Twitter data extraction?

Yes, you can use Node.js scripts to automate Grok AI for Twitter data extraction. The Skill requires Node.js for script execution and uses command-line arguments to pass the Twitter links for processing into JSON output.