yichen-content-archive

Reads, downloads, and archives known URLs from X, Xiaohongshu, Douyin, WeChat, YouTube, Bilibili, and Xiaoyuzhou.

2.0k|274|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-content-archive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yichen-content-archive
Source: https://github.com/mcncarl/yichen-skills/tree/main/yichen-content-archive
Command: npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-content-archive

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It turns user-supplied links from platforms like X, Xiaohongshu, Douyin, WeChat Official Accounts, YouTube, Bilibili, and Xiaoyuzhou into organized local archives without performing any open-ended searching or crawling.

Core Features & Use Cases

  • Known-URL Archiving: Reads, downloads, or archives only URLs, URL files, confirmed candidates, or explicitly specified collections the user provides, producing a manifest, run summary, and failure log.
  • Built-in Platform Fetchers: Ships fixed executors for Douyin video download via Playwright, Xiaohongshu note extraction from INITIAL_STATE, anonymous X post/Article reading via FxTwitter and Jina, and local-only WeChat article export.
  • Strict Safety Boundaries: Refuses keyword search, recommendation expansion, and credential use without per-turn authorization, and never overwrites existing outputs.
  • Use Case: Give it a list of confirmed Douyin and Xiaohongshu benchmark links, and it downloads the videos, metadata, and subtitles into a timestamped archive directory with a JSONL manifest.

Quick Start

Use $yichen-content-archive to download and archive these known Douyin and Xiaohongshu links into a new output directory.

Frequently Asked Questions about yichen-content-archive

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

FAQPage Schema
How do I download a Douyin video without a watermark using Python?

Run the bundled douyin_download.py script with a known douyin.com HTTPS link; it uses Playwright to intercept the aweme/detail API response and extracts the direct video URL. Pass --metadata-only to save only metadata without downloading the video file.

How to fetch Xiaohongshu notes and images from a link?

Use xiaohongshu_fetch.py with the note URL and an output directory; it anonymously parses window.__INITIAL_STATE__ for structured metadata, then downloads videos, subtitles, or images. Add --skip-media to save only HTML and metadata, and --use-cookie only after explicit per-turn authorization.

Can this tool search for content or discover new accounts?

No, it strictly refuses keyword search, site crawling, account discovery, and recommendation expansion. It only accepts URLs the user directly provides, URL files, upstream-confirmed candidates, or explicitly specified known collections with defined limits.

Does reading X posts require a Twitter login or API key?

No, known X status and Article URLs are read anonymously through FxTwitter first, with Jina Reader as a public fallback. Authenticated fallbacks via OpenCLI or xreach are only listed as options and require explicit per-turn user authorization before execution.

What happens if the output directory already exists?

The executors never overwrite existing files; they automatically create a new suffixed directory such as -run-N or a sibling resume directory. The WeChat exporter treats existing directories as read-only checkpoints and writes pending items to a new resume folder.

Why does WeChat article export fail with a login required error?

The local exporter at 127.0.0.1:18901 needs an active session; you must open its dashboard, scan the QR code, and confirm on your phone yourself. The tool never controls the WeChat client or completes the login on your behalf.