Opencli usage

From hua-bang/pulse-agent · View interactive version

Opencli usage is an AI agent skill from the GitHub repository hua-bang/pulse-agent. Use when running OpenCLI commands on this remote server. Prefer public API adapters and CLI Hub passthrough on Linux; browser-backed website adapters require Chrome/Chromium, the OpenCLI Browser Bridge extension, and an interactive desktop session.

How to use this skill

Skill file

OpenCLI Usage on `apps/remote-server`

Use this skill when the task can benefit from OpenCLI's built-in adapters or CLI passthrough.

Runtime Reality on This Host

Safe Default Workflow

  1. Check whether the task can be solved with a public API adapter.
  2. If not, check whether an existing local CLI should be called through OpenCLI's CLI Hub.
  3. Only suggest browser-backed adapters when the environment requirement is clearly satisfied.

High-Value Commands for This Server

Public API Adapters

These work without Chrome:

opencli hackernews top --limit 10 --format json
opencli hackernews search "agents"
opencli arxiv search "coding agents"
opencli wikipedia summary "OpenCLI"
opencli stackoverflow search "vitest mock"
opencli bbc news
opencli devto top
opencli hf top
opencli yahoo-finance quote AAPL

Commonly useful public adapters:

CLI Hub

Use OpenCLI as a discovery and passthrough layer for local CLIs:

opencli gh pr list --limit 5
opencli docker ps
opencli lark-cli calendar +agenda
opencli register mycli

Output Formats

Prefer machine-readable output when the result will be summarized or piped:

opencli hackernews top --limit 5 --format json
opencli arxiv search "test-time compute" -f yaml
opencli wikipedia summary "TypeScript" -f md

Supported formats: table, json, yaml, md, csv.

Browser-Backed Adapters

Examples: twitter, reddit, bilibili, zhihu, xiaohongshu, weibo, youtube, gemini, doubao.

Do not assume these are usable on this server. They require all of the following:

  1. Chrome or Chromium running.
  2. The OpenCLI Browser Bridge extension loaded in chrome://extensions.
  3. A logged-in browser session for the target site.
  4. An interactive desktop environment or equivalent remote GUI session.

If those prerequisites are not present, use a public API adapter, a direct API, or another automation stack instead.

Basic Checks

opencli --help
opencli list
opencli doctor

Recommended Decision Rule

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.