Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through diagnosing the failure via OPENCLI_DIAGNOSTIC, patching the adapter, and retrying. Works with any AI agent.
The qiaomu-opencli-autofix skill provides a command-line workflow for interacting with popular social media, content, and community platforms through an existing Chrome login session. Instead of relying on browser automation for supported websites, it prioritizes the use of the `opencli` command-line interface to browse trending content, search platforms, read timelines, retrieve personal data, and perform interactive actions such as posting, replying, or liking content. The skill is designed to eliminate the need for manual credential handling by reusing the user’s authenticated Chrome session, making cross-platform interaction faster and more automation-friendly.
The skill supports multiple platforms including Bilibili, Zhihu, Twitter/X, YouTube, Weibo, Reddit, Hacker News, V2EX, 小红书, 雪球, and BOSS直聘. It includes standardized CLI syntax, structured output formatting, machine-readable JSON support, result limits, and multiple export formats such as table, YAML, Markdown, and CSV. A key capability is its fallback strategy: when a website feature is not supported by opencli, the workflow automatically transitions to Playwright-based browser control. This enables tasks such as reading private messages, viewing notifications, or composing posts on unsupported interfaces. The documentation also defines operational rules for output formatting, translation requirements, and safety warnings for write operations.
This skill is intended for AI agents, automation workflows, technical operators, and power users who frequently interact with social or content platforms programmatically. Common use cases include monitoring trending topics, searching content across platforms, retrieving account history or bookmarks, checking stock watchlists, browsing job listings, and automating social engagement workflows. It is especially useful in environments where browser login reuse and lightweight CLI-based automation are preferred over full browser scripting.
The skill supports multiple social, content, and community platforms including Bilibili, Zhihu, Twitter/X, YouTube, Weibo, Reddit, Hacker News, V2EX, 小红书, 雪球, and BOSS直聘.
No. The skill reuses the user’s existing Chrome login session, so no additional credential input is required.
The workflow automatically falls back to Playwright browser automation to complete the task when opencli commands are unavailable or unsupported.
Yes. Chrome must be open with the target website already logged in, and the Playwright MCP Bridge extension must be installed for browser fallback functionality.
Yes. The skill supports actions such as posting, replying, and liking content on supported platforms. The documentation also recommends showing users the content before execution because write operations may trigger platform risk controls or become immediately public.
Quick Setup:
.claude/skills/Repository
joeseesun/opencli-skill