← Back to Skills Marketplace
lxyd-ai

cli-hub

by Agentrix · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
108
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install cli-hub
Description
Unified CLI gateway to search, install, authenticate, and invoke enterprise and AI platform tools (WeCom, DingTalk, Lark/Feishu, Dreamina) covering 91+ opera...
README (SKILL.md)

cli-hub — Unified CLI Gateway

One Skill to search and invoke all enterprise and AI creation tools (WeCom / DingTalk / Lark / Dreamina), covering 91+ tools.

Installation

Recommended (from PyPI, package signatures verified):

pip install agent-cli-hub     # pip
pipx install agent-cli-hub    # pipx (isolated env)
uv tool install agent-cli-hub # uv

PyPI: https://pypi.org/project/agent-cli-hub/ Source: https://github.com/agentrix-ai/clihub (MIT License)

Alternative (convenience script, internally runs pip from PyPI):

curl -sSL https://raw.githubusercontent.com/agentrix-ai/clihub/main/install.sh | bash

After installation, cli-hub is available as a command.

Mandatory Rules

  1. Never guess commands — Always cli-hub search to find the tool ID first.
  2. Check params before calling — Always cli-hub info \x3Cid> to confirm the parameter schema.
  3. On error, consult the "Error Handling" table below.

Standard Workflow

Follow Steps 1 → 2 → 3 → 4 strictly in order.

Step 1: Check Environment (required on first use)

cli-hub doctor

Based on output:

  • not installed → install the CLI
  • installed but not authenticated → run auth
  • All OK → skip to Step 2

Install underlying CLIs:

cli-hub install wecom              # WeCom
cli-hub install dingtalk           # DingTalk
cli-hub install lark               # Lark/Feishu
cli-hub install dreamina           # Dreamina AI
cli-hub install --all              # All providers
cli-hub install lark --timeout 300 # Increase timeout for slow networks

Authenticate (interactive, requires browser):

cli-hub auth wecom
cli-hub auth dingtalk
cli-hub auth lark
cli-hub auth dreamina              # Dreamina (terminal QR code login)
cli-hub auth --status              # Check all auth status

Step 2: Search Tools

cli-hub search "send message"
cli-hub search "create todo" --provider lark
cli-hub search "generate video" --provider dreamina
cli-hub search "meeting" --json     # Recommended for agents: JSON with input_schema

Step 3: Check Parameters

cli-hub info wecom.msg.send_message        # Table format
cli-hub info wecom.msg.send_message --json # Recommended for agents: full JSON Schema

Shows: parameter name, type, required (*), example, command template.

Step 4: Invoke Tool

Method A — JSON arguments (WeCom style):

cli-hub run wecom.msg.send_message --args '{"chat_type":1,"chatid":"user1","msgtype":"text","text":{"content":"hello"}}'

Method B — Flag arguments (DingTalk / Lark / Dreamina style):

cli-hub run lark.im.messages_send --chat-id oc_xxx --text "Hello"
cli-hub run dingtalk.todo.task_create --title "Write report" --executors userId
cli-hub run dreamina.generate.text2image --prompt "a cat portrait" --ratio 1:1

How to choose? cli-hub info \x3Cid> Example field shows the underlying CLI's argument style.

Utility Commands

Command Purpose
cli-hub list List all providers
cli-hub list lark List all Lark tools
cli-hub list dingtalk --category todo Filter by category
cli-hub refresh Refresh schemas from installed CLIs
cli-hub add \x3Cbinary> --display "Name" Add a new CLI provider

Decision Tree

User intent
├── Unsure which platform → cli-hub search "\x3Cdescription>"
├── Know platform, not tool → cli-hub list \x3Cprovider>
├── Found tool ID → cli-hub info \x3Cid> → cli-hub run \x3Cid> [args]
├── "not installed" → cli-hub install \x3Cprovider>
├── "not authenticated" → cli-hub auth \x3Cprovider>
├── "Operation not found" → cli-hub search again
├── "timed out" → cli-hub install \x3Cprovider> --timeout 300
└── Unsure about env → cli-hub doctor

Error Handling

Error Cause Fix
not installed CLI not installed cli-hub install \x3Cprovider>
not authenticated Not authenticated cli-hub auth \x3Cprovider>
Operation not found Typo in ID cli-hub search to find correct ID
No adapter registered Wrong provider name cli-hub list to see available names
timed out after Ns Timeout Retry with --timeout 300
Invalid JSON Malformed --args JSON Check quotes and escaping
Underlying CLI error Wrong params or insufficient permissions cli-hub info \x3Cid> to check params

Supported Platforms

Platform Provider Tools Coverage
WeCom (企业微信) wecom 28 Contacts, Todos, Meetings, Messages, Calendars, Docs, Smart Sheets
DingTalk (钉钉) dingtalk 23 Contacts, Groups, Calendar, Todos, Approvals, Attendance, Logs, Smart Sheets
Lark/Feishu (飞书) lark 28 Calendar, Messages, Docs, Drive, Bitable, Spreadsheets, Tasks, Wiki, Email, Meetings
Dreamina (即梦) dreamina 12 Text-to-Image, Text-to-Video, Image-to-Video, Multimodal Video, Upscale, Seedance 2.0

Notes

  • Authentication is interactive; the agent should prompt the user to complete browser authorization
  • For Dreamina, use dreamina login --headless (terminal QR code); generation consumes credits — warn the user
  • Dreamina tasks are async: after submit, use query_result --submit_id=\x3Cid> to check results
  • Search results are ranked by relevance; prefer the highest-scored tool
  • Invoke tools one at a time and confirm results before proceeding
Usage Guidance
This skill appears to do what it says (a gateway that installs and runs provider CLIs), but take these precautions before installing or following its convenience script: 1) Verify the package and repo provenance — check the PyPI page and the GitHub repository named in SKILL.md (confirm owner, recent commits, and stars). The registry metadata currently does not show a homepage/source, which is a red flag. 2) Prefer isolated installs (pipx, virtualenv) rather than running curl | bash; avoid executing raw install scripts from unknown repos. 3) Understand that installing --all or running auth will cause multiple provider CLIs to be installed and will require you to supply or authorize credentials (browser/QR). Limit scope: install only the providers you need. 4) If you must use it in an automated/agent context, do not give it unattended network/credential access; require manual confirmation for interactive auth steps. 5) If you need higher assurance, request or inspect the actual PyPI package source or repository commit/tag and signature before trusting installs.
Capability Analysis
Type: OpenClaw Skill Name: cli-hub Version: 1.0.1 The skill acts as a centralized gateway for executing commands across multiple enterprise platforms (WeCom, Lark, DingTalk) and includes instructions for the agent to perform software installations using high-risk methods like 'curl | bash' and 'pip install'. While these capabilities are aligned with the stated purpose of a CLI hub, the broad execution power and the promotion of unverified remote script execution in SKILL.md represent a significant security risk and potential vector for supply chain attacks.
Capability Assessment
Purpose & Capability
The name/description (unified CLI gateway for WeCom/DingTalk/Lark/Dreamina) aligns with the runtime instructions which describe searching, installing, authenticating, and invoking provider CLIs. However, the registry metadata lists 'Source: unknown' and no homepage while SKILL.md claims a PyPI package and a GitHub repo; this mismatch reduces confidence in provenance.
Instruction Scope
SKILL.md gives step-by-step CLI usage (doctor, install, auth, search, info, run) and keeps actions within the advertised domain of installing and invoking provider CLIs. It does instruct interactive authentication (browser/QR) which is expected, but there is also a recommendation to run an internet-fetched convenience script (curl | bash) — that expands scope to arbitrary remote code execution if followed.
Install Mechanism
Although the skill itself is instruction-only, SKILL.md recommends installing a PyPI package and provides a raw GitHub curl|bash convenience installer that 'internally runs pip'. The registry contains no install spec and metadata lacks homepage/source, so relying on the convenience script or unverified PyPI package is a higher-risk install pattern (remote code download and execution).
Credentials
The skill declares no required env vars, which is consistent with instruction-only design. However, the underlying CLIs the skill installs/authenticates will need provider credentials and will store/use them; SKILL.md does not enumerate which credentials or config paths may be created, so users should expect the skill to lead to multiple service credentials being provided interactively.
Persistence & Privilege
The skill is not always-installed and doesn't request elevated platform privileges in the registry. It is user-invocable and permits autonomous invocation by default (normal for skills). There is no evidence it modifies other skills or system-wide agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cli-hub
  3. After installation, invoke the skill by name or use /cli-hub
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
cli-hub 1.0.1 - Added Dreamina (即梦) as a new provider for AI image/video generation, expanding coverage to over 91 tools. - Updated skill description and documentation to include Dreamina and AI creation workflows. - Documented authentication steps for Dreamina (QR code login) and async job handling. - Clarified installation instructions and tool invocation methods for multiple providers. - Updated supported platforms table and added new use cases for AI-powered creation.
v1.0.0
Initial release of cli-hub – a unified CLI gateway for enterprise platform tools. - Search, install, authenticate, and invoke WeCom (企业微信), DingTalk (钉钉), and Lark/Feishu (飞书) tools with a single command-line interface. - Supports over 79 operations across messaging, calendars, todos, contacts, documents, meetings, approvals, and attendance. - Guided, step-by-step workflow for environment setup, tool search, parameter inspection, and execution. - Includes robust error handling and troubleshooting guidance. - Flexible installation methods (shell, pip, pipx, uv) and interactive authentication flows. - Auxiliary commands available for listing, filtering, and adding providers.
Metadata
Slug cli-hub
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is cli-hub?

Unified CLI gateway to search, install, authenticate, and invoke enterprise and AI platform tools (WeCom, DingTalk, Lark/Feishu, Dreamina) covering 91+ opera... It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.

How do I install cli-hub?

Run "/install cli-hub" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is cli-hub free?

Yes, cli-hub is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does cli-hub support?

cli-hub is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created cli-hub?

It is built and maintained by Agentrix (@lxyd-ai); the current version is v1.0.1.

💬 Comments