opencli-zh for Openclaw

A specialized interface that allows AI agents to interact with websites, desktop applications, and external CLIs using standardized terminal commands.

poiskgit
v1.0.3
Apr 6, 2026
1
897
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install opencli-zh

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install opencli-zh using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is opencli-zh?

OpenCLI-ZH is a robust integration designed for developers and AI agents who prioritize efficiency over manual UI interaction. By leveraging the OpenCLI tool, it provides a structured way to browse, search, and manage data across numerous platforms like Google, Twitter, Bilibili, and Zhihu directly from the command line. This skill is a vital part of the Openclaw Skills ecosystem, offering a reliable alternative to brittle browser automation by utilizing direct CLI-to-platform communication and session bridging.

opencli-zh Use Cases

  • Performing multi-platform searches across Google, Zhihu, and other knowledge bases without a browser.
  • Automating the retrieval of social media timelines, trending topics, and notifications from platforms like Bilibili or Twitter.
  • Managing digital assets such as bookmarks, history, and profile data via a unified terminal interface.
  • Executing controlled write operations like posting, liking, or commenting on supported platforms after explicit user confirmation.
  • Debugging browser-to-CLI bridge issues using built-in diagnostic tools.

How opencli-zh Works

  1. The agent identifies the target platform (e.g., 'Google' or 'B站') and normalizes it to a supported OpenCLI target.
  2. It attempts to read the target-specific reference documentation to determine the correct command syntax.
  3. The skill executes the minimum necessary CLI command, prioritizing JSON output for structured data parsing.
  4. If the command fails, it automatically falls back to diagnostic checks or helps documentation to resolve environment or session issues.
  5. For write operations, the agent strictly requires user authorization before committing any external changes.

opencli-zh Setup

To integrate this capability into your environment, follow these installation steps:

# Install the core OpenCLI package via npm
npm install -g @jackwener/opencli

# Verify the installation and view global options
opencli --help

# Run the diagnostic tool to ensure browser and daemon connectivity
opencli doctor

Ensure that the necessary configuration directories exist at ~/.opencli to persist your session data and custom adapters.

opencli-zh Data Schema & Taxonomy

OpenCLI-ZH maintains a structured file system hierarchy to manage its operations and integrations:

Path Description
~/.opencli/ Main configuration and environment root
~/.opencli/clis/ Persistent storage for custom adapters and site definitions
~/.opencli/explore/ Local cache and logs for browsing and exploration data
~/.opencli/record/ Historical records of CLI interactions and responses
references/ Target-specific command patterns and optimization tips

opencli-zh Advanced Features

  • Custom Adapter Support: Create and modify adapters in ~/.opencli/clis/ to extend support to new websites.
  • Browser Bridge Extension: Deep integration with Chrome via a dedicated extension to leverage existing login sessions.
  • Structured Data Output: Native support for -f json formatting to facilitate seamless data handoffs between agents.
  • Diagnostic Mode: Advanced troubleshooting via opencli doctor to monitor daemon status and extension connectivity.
  • Interception & Tapping: Power-user features to intercept request flows and evaluate platform-specific behaviors in real-time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*