ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 3/5

yarn-threads

Interact with Threads (by Meta) via the yarn-threads-cli. Use when the user wants to read their home feed, likes, saved posts, or a specific thread; look up a profile; search users; or post, reply, or quote on Threads. Requires yarn-threads-cli installed (npm install -g yarn-threads-cli). Auth via Chrome/Firefox profile (the user just needs to be logged in) or manual session tokens.

Why use this skill?

Learn how to use the yarn-threads skill to read, post, and analyze content on Meta's Threads platform using the OpenClaw AI agent CLI tools.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/jeizzon/yarn-threads-cli
Or

What This Skill Does

The yarn-threads skill enables the OpenClaw AI agent to interact directly with the Threads platform by Meta via the command line. By leveraging the yarn-threads-cli, the agent can perform a wide range of social media operations, including reading feeds, analyzing user profiles, searching for content, and publishing original threads or replies. This skill essentially bridges the gap between the AI agent's reasoning capabilities and the Threads social ecosystem, allowing for automated social engagement, content monitoring, and profile management.

Installation

To add this capability to your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/jeizzon/yarn-threads-cli

Prerequisites:

  1. Ensure you have Node.js installed on your system.
  2. Install the underlying CLI globally: npm install -g yarn-threads-cli.
  3. Authenticate by either logging into your browser (Chrome/Firefox) or providing manual session tokens to the tool. You can verify your connection status using yarn-threads whoami.

Use Cases

  • Social Media Monitoring: Automatically fetch home feeds or track replies to your specific posts to stay updated on community discourse.
  • Content Aggregation: Extract data from threads, including text and media metadata, by using the --json flag to process content into a structured format.
  • Audience Analysis: Retrieve follower counts, following lists, and user posts for specific handles to analyze network growth or engagement patterns.
  • Automated Engagement: Schedule or trigger posts and replies directly from the AI agent without manually navigating the web interface.

Example Prompts

  1. "Check my home feed for any recent updates and summarize the latest trends I am following."
  2. "Search for the user 'zuck' on Threads and provide a brief overview of their recent posting activity."
  3. "Reply to this thread URL with a summary of the points mentioned and include a polite acknowledgment."

Tips & Limitations

  • Data Handling: Always use the --json output flag when you need to parse media URLs or metadata for deeper analysis. This ensures the agent receives clean, machine-readable data.
  • Authentication: The tool relies on existing browser sessions. If you encounter authentication errors, ensure your cookies are valid and that you have logged into Threads in your primary browser.
  • Rate Limiting: Because this interacts with a live platform via API/web scraping, avoid excessive requests that could trigger rate limiting or security challenges from Meta. Use --max-pages to keep data collection requests scoped and efficient.

Metadata

Author@jeizzon
Stars1947
Views3
Updated2026-03-04
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-jeizzon-yarn-threads-cli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#social#automation#threads#cli#social-media
Safety Score: 3/5

Flags: network-access, data-collection, external-api