Caishi (caishi) is a Chinese internet reading capability package for AI agents. The repository address is https://github.com/ZhongQuinnKing/caishi。它的目标是把 Connect AI's "eyes" to the Chinese internet: with a single command, read 33 sites (40 at full configuration), including Douyin, Bilibili, Xiaohongshu, WeChat Official Accounts, Zhihu, and Toutiao, covering academic, developer, and lifestyle sites, and output Markdown in a unified format. It is officially positioned as a read-only tool that does not crawl or batch: all requests go through the user's own browser session (the opencli browser bridge), reusing accounts that are already logged in, just as the user would see them in their own browser. It can be used directly by command-line-capable Agents such as Claude Code.
Main capabilities include: zhread "<link>" automatically identifies the platform (Douyin/Bilibili/Official Accounts/Zhihu/Xiaohongshu/Sheet Music sites) and outputs Markdown in a unified format; --save directory can save it as a file, making it a cross-platform reading entry point. zhcheck is used for platform health checks; by default, the light check only checks the browser bridge and does not open any pages; only --deep probes each platform one by one, opening each platform's pages in sequence with a prior notice. zhupdate is used for self-update and repair: it compares against the latest remote version; git installations automatically pull and rerun deployment; for issues it cannot fix, it provides a reporting template. zhsee provides local image OCR and video frame-extraction OCR: zhsee image 配图/ recognizes text in images one by one, automatically enlarges small images, and automatically slices screenshot-type long images; zhsee video 录屏.mp4 --interval 2 extracts one frame every two seconds for recognition, outputs timestamped paragraphs, and automatically merges adjacent identical text or text with only OCR jitter; by default, at most 120 frames are extracted; if exceeded, the interval is widened to cover the whole video and this is stated in the results; everything runs locally, and images and videos are not uploaded; it requires tesseract (with chi_sim) and ffmpeg; zhsee --selftest provides one-click self-testing. zhtable extracts tables into row lists: for table images, it first detects frame lines, then places OCR word boxes into cells by position; for images without frame lines, it falls back to splitting columns by whitespace between text blocks; web tables can be parsed directly from HTML without OCR, with examples zhtable image 课表.png --json and zhtable html 页面.html. zhslice is used to slice an extra-long screenshot, extract text, and stitch it back into one copy: it first calculates the ink for each line, and cut points only fall in whole-line whitespace; if no whitespace is found, it does not cut—preferring to deliver one whole block rather than cut a text line in half; table edges or sidebars that run through the entire page are first painted white, then recognized block by block; an example is zhslice Long screenshot.png, zhslice long image.png --json.
Besides the command line, the standalone package caishi-mcp is a self-contained MCP server (protocol layer implemented in-house, no MCP SDK dependency; the browser engine is installed automatically with the package). Any MCP client—Claude Desktop, Cursor, Codex, DeepSeek Harness, etc.—can connect to the same set of capabilities (the same browser, the same login state). Commands for four sites are already available (Bilibili video / Douyin details / Xiaohongshu notes / body text of any web page); the install command is npm install -g caishi-mcp, and installation and boundaries are described in caishi-mcp/README.md and MCP.md. There is also a cross-environment skills/zh-web skill: download this repository, drag the skills/zh-web folder (including SKILL.md) into Doubao's "My Skills", or say to Doubao "Please install this skill: https://github.com/ZhongQuinnKing/caishi ". Claude Code / Codex and others that can run commands use the full command routing; Doubao and others that only have conversation use the "no-command path", borrowing the AI's own internet capability to read public pages, and when a page cannot be read it will honestly say so and ask the user to paste the text or a screenshot. Deep reading (comments, favorites, subtitles, export, etc.) requires a command-line environment; which things can be obtained in a pure conversation environment is written out platform by platform in the skill.
Usage: the prerequisites are macOS (or any desktop system that can install Node) + Chrome/Chromium. Run bash install.sh, which will automatically install opencli, download the browser extension files, and install the in-house commands. One manual step: in Chrome open chrome://extensions → Developer mode → "Load unpacked" → select ~/.opencli/extension (the script will prepare the extension files; installing from the store also works). Log in to platforms as needed: just open the corresponding website in the same browser and log in by scanning the QR code (valid long-term after one login). If you want to use zhsee / zhtable / zhslice to process images and videos, you also need tesseract (including the chi_sim language pack) and ffmpeg; after installing, run zhsee --selftest, and if all five checks pass it is ready to use. Installation itself does not open any web pages; platform pages appear only when the user explicitly asks to use them—open one when one is requested, and as many as are requested; never open any that were not instructed, and log in on demand in the same way.
Applicable scenarios include: letting a command-line Agent read a single Douyin/Bilibili/Xiaohongshu/WeChat Official Account/Zhihu/Toutiao piece of content and convert it to Markdown; searching Xiaohongshu for piano teaching and listing the first few results; exporting a WeChat Official Account article as Markdown; reading Bilibili video information; performing OCR and table extraction on local images, screen recordings, and very long screenshots; connecting to clients such as Claude Desktop, Cursor, Codex, and DeepSeek Harness via MCP. Example instructions include "Help me see what this Douyin says https://v.douyin.com/xxxx/ "Search piano teaching on Xiaohongshu and list the first few results" "Export this WeChat official account article to markdown".
Limitations and notes: the tools are read-only, do not batch, do not interact, and frequency must be restrained; account safety comes first. It is recommended to use a test account/burner account and not to attach your main account. Xiaohongshu sessions are short-lived; closing the browser logs you out, so keep the browser open while using it. If you hit the "device limit exceeded" risk control, stop for a day or two before logging in again. Platforms such as Douyin and Xiaohongshu change frequently, and interfaces may stop working; if broken, you can file an issue. For per-platform tested status and known pitfalls, see 平台状态表.md. When public pages are blocked by anti-scraping challenge systems (main link 403/challenge page), you can optionally enable the cloak/ channel: an isolated environment, not installed by default, reading only public content, without bypassing login or paywalls; for explanation, installation and boundaries see cloak/README.md. This package does not include platforms that require circumventing the Great Firewall (YouTube, Twitter, etc.). zhsee / zhtable / zhslice are fully local: images and videos do not leave the machine, and OCR does not call any network service; temporary files are written only to the local cache (under ~/.cache/caishi/) or to directories specified by the user with --frames-dir / --work-dir / --out-dir. The tools do not crack any technical measures (request signing is done by the platform pages themselves) and do not bypass any paid or membership content; users are responsible for their own usage behavior, and any consequences arising from the use of these tools are borne by the user.
License and commercial use: the author is ZhongQuinnKing (main account attribution). Licensing is tiered: code is MIT, content and documentation are CC BY-NC-ND 4.0; the five tiers are free use / freedom to modify for yourself / attribution when reposting / authorization required before publishing modified versions / zero exemption for commercial use — this license itself does not grant commercial rights. Commercial licensing and collaboration require contacting hello@xinchuan.dev first to obtain written authorization, with the subject line marked 【商用授权】 or 【改编授权】. The project is released as needed, with no fixed release schedule; issues affecting usage are prioritized; issues are answered as best as possible, and those that cannot be answered for now will have their status explained; usage comes first, and no feature roadmap is promised. The core runtime is opencli ("turn any website into a CLI"); this package does three things: conduct real testing for Chinese platforms, fill in missing commands (nine self-developed tools, 14 commands), and write login and pitfall experience into a manual. Repository address:https://github.com/ZhongQuinnKing/caishi。