{"skill":{"slug":"wechatsync","displayName":"WechatSync","summary":"Multi-platform article publisher and content distribution tool. Sync and cross-post Markdown/HTML articles to 27+ platforms including Zhihu (知乎), Juejin (掘金)...","description":"---\nname: wechatsync\ndescription: \"Multi-platform article publisher and content distribution tool. Sync and cross-post Markdown/HTML articles to 27+ platforms including Zhihu (知乎), Juejin (掘金), CSDN, Toutiao (头条), Weibo (微博), Xiaohongshu (小红书), Bilibili (B站), WordPress, Typecho, WeChat (微信公众号), and more. Use when the user wants to publish, sync, cross-post, or distribute articles (文章同步/多平台发布/一键发布) to Chinese content platforms, tech communities, blogging sites, or self-hosted blogs. Also use when checking platform login status or extracting articles from web pages. Keywords: content syndication, blog distribution, multi-platform publishing, self-media (自媒体), content creator tools.\"\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - WECHATSYNC_TOKEN\n      bins:\n        - wechatsync\n    primaryEnv: WECHATSYNC_TOKEN\n    emoji: \"\\U0001F4DD\"\n    homepage: https://github.com/wechatsync/Wechatsync\n    install:\n      - kind: node\n        package: \"@wechatsync/cli\"\n        bins: [wechatsync]\n---\n\n# WechatSync\n\nPublish and sync Markdown/HTML articles to 27+ content platforms via CLI.\n\n## Prerequisites\n\nThis skill requires external tools that the user must install themselves:\n\n1. **CLI tool** (`@wechatsync/cli`): Open-source npm package ([source code](https://github.com/wechatsync/Wechatsync/tree/v2/packages/cli)). Install with `npm install -g @wechatsync/cli`\n2. **Chrome extension**: Open-source browser extension ([source code](https://github.com/wechatsync/Wechatsync/tree/v2/packages/extension)). Install from [Chrome Web Store](https://chrome.google.com/webstore/detail/hchobocdmclopcbnibdnoafilagadion) or [download ZIP](https://www.wechatsync.com/#install)\n3. **Token**: User-generated token set in extension settings. The token is created locally by the user and used only for localhost communication between CLI and extension. Set via `export WECHATSYNC_TOKEN=\"your-token\"`\n4. **Platform logins**: Log in to target platforms in browser (extension uses existing browser cookies, no credentials are stored or transmitted)\n\n**Security model**: All data stays local. The CLI communicates with the Chrome extension over localhost. The extension calls platform APIs directly from the browser using existing login sessions. No third-party server involved. Full source code is open and auditable.\n\nBefore running any command, confirm the user has completed the prerequisites. Do not install packages on the user's behalf without explicit consent.\n\n## Commands\n\n### Sync\n\n```bash\nwechatsync sync article.md -p juejin              # single platform\nwechatsync sync article.md -p juejin,zhihu,csdn   # multiple platforms\nwechatsync sync article.md -p juejin -t \"Title\"   # custom title\nwechatsync sync article.md -p juejin --cover ./cover.png  # cover image\nwechatsync sync article.md -p juejin --dry-run     # preview only\n```\n\n### Platforms & Auth\n\n```bash\nwechatsync platforms          # list all platforms\nwechatsync platforms --auth   # show login status\nwechatsync auth zhihu         # check single platform\n```\n\n### Extract\n\n```bash\nwechatsync extract              # extract from current browser page\nwechatsync extract -o article.md  # save to file\n```\n\n## Platform IDs\n\nzhihu, juejin, csdn, jianshu, toutiao, weibo, bilibili, xiaohongshu, baijiahao, weixin, yuque, douban, sohu, xueqiu, woshipm, dayu, yidian, 51cto, sohufocus, imooc, oschina, segmentfault, cnblogs, x, eastmoney, smzdm, netease, wordpress, typecho\n\n## Notes\n\n- Images auto-uploaded to target platform CDN (PNG, JPG, GIF, WebP, SVG)\n- Markdown title extracted from front matter `title` or first `# heading`\n- Articles sync as **drafts** by default — user reviews before publishing\n\n## Workflow\n\n1. Confirm prerequisites are installed (ask user if unsure)\n2. Check login: `wechatsync platforms --auth`\n3. Sync: `wechatsync sync <file> -p <platform1>,<platform2>`\n4. Report results with draft URLs\n\nExample prompts:\n- \"Sync this article to Juejin and Zhihu\"\n- \"Which platforms am I logged into?\"\n- \"Extract the article from browser and save it\"\n- \"把这篇文章同步到掘金和知乎\"\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":888,"installsAllTime":0,"installsCurrent":0,"stars":1,"versions":2},"createdAt":1773122880749,"updatedAt":1778491803852},"latestVersion":{"version":"1.0.1","createdAt":1773133589837,"changelog":"- Added security and privacy details: clarified that all data stays local and communication is only between CLI and the browser extension.\n- Specified that the user must confirm prerequisites and install dependencies themselves; do not install packages automatically.\n- Provided direct links to the open-source code for both CLI and browser extension.\n- Updated description of how the token and browser logins work.\n- Added detailed installation and security instructions in the prerequisites section.","license":"MIT-0"},"metadata":{"setup":[{"key":"WECHATSYNC_TOKEN","required":true}],"os":null,"systems":null},"owner":{"handle":"lljxx1","userId":"s176hg8rczmmwkz00b3qb9sp2s83kqj9","displayName":"lljxx1","image":"https://avatars.githubusercontent.com/u/7993835?v=4"},"moderation":null}