# Send social-reader 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": "social-reader",
    "name": "social-reader",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/HackSing/social-reader",
    "canonicalUrl": "https://clawhub.ai/HackSing/social-reader",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/social-reader",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=social-reader",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "archive.json",
      "drafts.json",
      "fetcher.py",
      "input_urls.txt",
      "notifier.py",
      "pending_tweets.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "social-reader",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T16:45:02.291Z",
      "expiresAt": "2026-05-19T16:45:02.291Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=social-reader",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=social-reader",
        "contentDisposition": "attachment; filename=\"social-reader-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "social-reader"
      },
      "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/social-reader"
    },
    "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/social-reader",
    "downloadUrl": "https://openagent3.xyz/downloads/social-reader",
    "agentUrl": "https://openagent3.xyz/skills/social-reader/agent",
    "manifestUrl": "https://openagent3.xyz/skills/social-reader/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/social-reader/agent.md"
  }
}
```
## Documentation

### Social Reader Skill

This skill provides a social media content scraping and monitoring workflow. It offers two usage modes:

Interactive Mode: Agent fetches a single post in real-time for reading, discussion, or reply generation within a conversation.
Pipeline Mode: Background batch patrol of sources, with LLM distillation and review notifications.

### Dependencies

pip install requests

### Configuration Files

FilePurposeprompt.txtLLM system prompt for the Processor nodesources.jsonList of monitored accounts and fetch intervals (pipeline mode)input_urls.txtManually entered post URLs (one per line, # for comments)seen_ids.jsonDeduplication cache for seen post IDs (pipeline mode only)pending_tweets.jsonQueue of unprocessed posts from the Watcherdrafts.jsonLLM-distilled drafts from the Processorarchive.jsonArchived history records

### Environment Variables (required only for Pipeline Mode Processor)

VariableDescriptionDefaultLLM_API_KEYLLM API key (required)NoneLLM_BASE_URLAPI endpointhttps://api.openai.com/v1LLM_MODELModel namegpt-4o-mini

### Mode 1: Agent Interactive Call (Recommended)

When a user sends a social media post link and asks you to "read and discuss" or "generate a quality reply", call fetcher.py directly — do NOT use run_pipeline.py.

run_pipeline.py triggers deduplication cache, fixed LLM distillation, and browser popups, which are unsuitable for interactive scenarios.

### Usage Example

import sys

skill_dir = r"d:\\AIWareTop\\Agent\\openclaw-skills\\social-reader"
if skill_dir not in sys.path:
    sys.path.append(skill_dir)

from fetcher import get_tweet

result = get_tweet("https://x.com/user/status/123456")

if result.get("success"):
    content = result["content"]
    # Now you can discuss the content with the user or generate a reply

### get_tweet() Return Structure

{
  "source": "fxtwitter",
  "success": true,
  "type": "tweet",
  "content": {
    "text": "Post body text",
    "author": "Display name",
    "username": "Username handle",
    "created_at": "Publish time",
    "likes": 123,
    "retweets": 45,
    "views": 6789,
    "replies": 10,
    "media": ["image_url_1", "image_url_2"]
  }
}

When type is "article" (long-form post), content additionally contains:

title: Article title
preview: Preview text
full_text: Full article body (Markdown format)
cover_image: Cover image URL

This call is completely stateless — it writes no cache files and triggers no notification services.

### Mode 2: Background Pipeline Batch Processing

Use run_pipeline.py to chain Watcher → Processor → Action nodes. Suitable for scheduled tasks or batch processing.

### Three Core Nodes

Watcher (watcher.py)

Reads input_urls.txt or sources.json, deduplicates via seen_ids.json, writes new posts to pending_tweets.json.



Processor (processor.py)

Reads pending_tweets.json, calls LLM to generate commentary, outputs to drafts.json.
Requires LLM_API_KEY environment variable.



Action (notifier.py)

Starts a local HTTP review server (port 18923), opens a browser review page with approve/reject/rewrite/archive controls.

### CLI Examples

# Full pipeline
python run_pipeline.py

# Specific URL
python run_pipeline.py https://x.com/elonmusk/status/123456

# Single node execution
python run_pipeline.py --watch-only
python run_pipeline.py --process-only
python run_pipeline.py --notify-only
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: HackSing
- Version: 1.0.0
## 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-12T16:45:02.291Z
- Expires at: 2026-05-19T16:45:02.291Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/social-reader)
- [Send to Agent page](https://openagent3.xyz/skills/social-reader/agent)
- [JSON manifest](https://openagent3.xyz/skills/social-reader/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/social-reader/agent.md)
- [Download page](https://openagent3.xyz/downloads/social-reader)