OpenCLI - 网站 CLI 操作

SkillWeb & browsing

Lets your agent operate websites like GitHub and YouTube through simple commands, reusing your Chrome login sessions.

Then ask your AI: use the OpenCLI - 网站 CLI 操作 skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this skill

Operate websites and Electron apps through CLI commands, reusing Chrome login sessions. Prefer over browser_task for supported sites (GitHub, Bilibili, Twitter/X, YouTube, etc.), deterministic commands with structured JSON output.

What this skill tells your AI

The instructions your AI receives, as published by openakita/openakita in skills/system/opencli/SKILL.md and read by Ahel’s review.

通过 OpenCLI 将网站和 Electron 应用转化为 CLI 命令。 复用用户 Chrome 登录态,无需输入密码,返回结构化 JSON。

核心优势

  • 复用 Chrome 登录态 — 无需密码/token,直接用已登录的 Chrome
  • 确定性命令 — 比 browser_task 的 "让 LLM 猜" 可靠得多
  • 结构化 JSON 输出 — LLM 解析零歧义

何时使用 OpenCLI(优先于 browser_task)

场景推荐工具原因
操作有 adapter 的网站(GitHub、Bilibili 等)opencli_run确定性命令,JSON 输出
需要登录态的操作opencli_run复用 Chrome 登录
无 adapter 的网站browser_task / 手动 browser_*OpenCLI 不支持的站点
简单读取网页内容web_fetch无需浏览器

工具

opencli_list — 发现可用命令

opencli_list()

opencli_run — 执行命令

命令格式: <site> <subcommand>,直接传给 opencli。

opencli_run(command="zhihu hot list")
opencli_run(command="hackernews top")
opencli_run(command="bilibili video info", args=["BV1xx411c7XW"])

opencli_doctor — 诊断环境

opencli_doctor()

前置条件

  1. 安装 opencli: npm install -g @jackwener/opencli
  2. Chrome 浏览器正在运行并已登录目标网站
  3. Browser Bridge 扩展已安装(首次运行 opencli setup 配置)

决策路径

需要操作网站?
├─ 目标网站有 opencli adapter → opencli_run(首选)
├─ 需要登录但无 adapter → browser_task → 手动 browser_click/type 组合
├─ 只需读取内容 → web_fetch
└─ 只需搜索 → web_search

相关技能

  • browser_task — 无 adapter 时的降级方案
  • browser_navigate — 简单导航
  • web_fetch — 轻量 URL 内容获取
  • web_search — 搜索引擎查询

Signals

GitHub stars
2k
Forks
284
Last commit
Sep 2026

Ahel review

  • K1binfo
    installs-packages

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
opencli-openakita
Source
github.com/openakita/openakita