# Send Yarn - Control and Access Threads.com via the CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "yarn-threads-cli",
    "name": "Yarn - Control and Access Threads.com via the CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jeizzon/yarn-threads-cli",
    "canonicalUrl": "https://clawhub.ai/jeizzon/yarn-threads-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/yarn-threads-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=yarn-threads-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/commands.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "yarn-threads-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T08:20:13.414Z",
      "expiresAt": "2026-05-18T08:20:13.414Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=yarn-threads-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=yarn-threads-cli",
        "contentDisposition": "attachment; filename=\"yarn-threads-cli-0.1.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "yarn-threads-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/yarn-threads-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/yarn-threads-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/yarn-threads-cli",
    "agentUrl": "https://openagent3.xyz/skills/yarn-threads-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/yarn-threads-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/yarn-threads-cli/agent.md"
  }
}
```
## Documentation

### yarn-threads

CLI for Threads (by Meta). Supports reading, browsing, and posting.

### Installation

npm install -g yarn-threads-cli

Verify:

yarn-threads --version

### Auth

Three options (in order of preference):

Chrome profile (recommended)
Firefox profile
Manual tokens (from browser DevTools → Application → Cookies on threads.net)

Refer to the yarn-threads-cli documentation for more information on how to set up authentication.

Verify auth: yarn-threads whoami

### Key Commands

# Browse
yarn-threads home                        # Home feed
yarn-threads likes                       # Your liked posts
yarn-threads saved                       # Your saved/bookmarked posts

# Read
yarn-threads read <url-or-code>          # Single post
yarn-threads thread <url-or-code>        # Post + all replies
yarn-threads replies <url-or-code>       # Replies only

# Profiles
yarn-threads about <handle>              # User profile info
yarn-threads user-posts <handle>         # User's posts
yarn-threads followers <handle>          # User's followers
yarn-threads following <handle>          # Who user follows

# Search
yarn-threads search <query>              # Search users

# Post / Engage
yarn-threads post "text"                 # Create new post
yarn-threads reply <url-or-code> "text"  # Reply to a post
yarn-threads quote <url-or-code> "text"  # Quote a post

### Output Flags

--json — structured JSON output (use for parsing media URLs, metadata)
--plain — stable plain text, no emoji/color (good for piping)
--json-full — includes raw API response (debugging)

### Pagination

Feed/list commands support:

--all — fetch all pages
--max-pages <n> — limit pages
--cursor <cursor> — start from a specific page cursor

### Media

When using --json, posts include CDN URLs for images and videos in the media fields. Analyze these with the image tool for visual context.

### Examples

# Get last 2 pages of likes as JSON
yarn-threads likes --max-pages 2 --json

# Read a specific thread
yarn-threads read https://www.threads.net/@user/post/abc123

# Post with restricted replies
yarn-threads post "Hello Threads" --reply-control accounts_you_follow

# Get a profile
yarn-threads about zuck

See references/commands.md for full flag reference per command.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jeizzon
- Version: 0.1.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-11T08:20:13.414Z
- Expires at: 2026-05-18T08:20:13.414Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/yarn-threads-cli)
- [Send to Agent page](https://openagent3.xyz/skills/yarn-threads-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/yarn-threads-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/yarn-threads-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/yarn-threads-cli)