Agent skill

Opencli

by openakita in openakita/openakita

Operate websites and Electron apps through CLI commands, reusing Chrome login sessions.

AGPL-3.0Auto-check passed

Install Opencli

skills CLI
$ npx skills add openakita/openakita --skill opencli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openakita/openakita opencli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openakita/openakita.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/system/opencli .claude/skills/opencli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
opencli
GitHub stars
2k
Token cost
~425 tokens
SKILL.md length
106 words
Files
2
Skills in repo
29
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Operate websites and Electron apps through CLI commands, reusing Chrome login sessions.

  • Works in 3 steps: 安装 opencli: npm install -g… → Chrome 浏览器正在运行并已登录目标网站 → Browser Bridge 扩展已安装(首次运行 opencli setup…
  • SKILL.md covers 核心优势, 何时使用 OpenCLI(优先于 browser_task), 工具 and 前置条件, plus 2 more sections
  • Calls npm

What it does

Opencli is an agent skill from openakita/openakita. Operate websites and Electron apps through CLI commands, reusing Chrome login sessions. Prefer over browsertask for supported sites (GitHub, Bilibili, Twitter/X, YouTube, etc.) — deterministic commands with structured JSON output.

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It works with GitHub, Bilibili, X (Twitter) and YouTube. The repository describes itself as: An open-source AI assistant framework with skills and agent architecture. The licence is AGPL-3.0.

Example prompts

  • “/opencli”

Requirements

  • Python 3
  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 5f5b38d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Opencli loads about 425 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 106 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~425

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openakita/openakita at commit 5f5b38d, republished under its AGPL-3.0 licence (© openakita). 106 words, ~425 tokens.

Download SKILL.mdSave it as .claude/skills/opencli/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
opencli
description
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.
system
true
handler
opencli
tool-name
opencli_run
category
Web
priority
high

OpenCLI - 网站 CLI 操作

通过 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 — 发现可用命令
python
opencli_list()
opencli_run — 执行命令

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

python
opencli_run(command="zhihu hot list")
opencli_run(command="hackernews top")
opencli_run(command="bilibili video info", args=["BV1xx411c7XW"])
opencli_doctor — 诊断环境
python
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 — 搜索引擎查询

© openakita, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/system/opencli of openakita/openakita.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 5f5b38d

Compare with similar skills

Opencli next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Opencli compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Opencli this skillopenakita/openakita2k—~425Automated safety check: PassAGPL-3.0
bb-browser Site Commands for OpenClawepiral/bb-browser6.2k—~1kAutomated safety check: PassMIT
Agent ReachEdisonChenAI/agent-reach1061 repos~1.3kAutomated safety check: PassMIT
Agent ReachPanniantong/Agent-Reach93k1 repos~1.4kAutomated safety check: PassMIT
Multi-Source to NotebookLM Processorjoeseesun/qiaomu-anything-to-notebooklm6.2k—~3.6kAutomated safety check: PassMIT
Last30days CnJesseovo/last30days-skill-cn1.9k—~2.4kAutomated safety check: NotesMIT

Similar skills

  • Runs structured data commands against sites such as Twitter, Reddit, GitHub, YouTube and Zhihu through OpenClaw's browser, reusing your existing login state.

    6.2k GitHub stars~1k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Agent Reach

    EdisonChenAI/agent-reach

    Use the internet: search, read, and interact with 13+ platforms including Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu (小红书), Douyin (抖音), WeChat Articles (微信公众号), LinkedIn, Boss直聘…

    106 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check passed
  • Agent Reach

    Panniantong/Agent-Reach

    Routes web research and platform lookups across 16 sites, including Twitter, Reddit, YouTube, Bilibili, Xiaohongshu and GitHub, through one command-line tool.

    93k GitHub starsUsed in 1 repo~1.4k tokens
    Productivity & AutomationAuto-check passed
  • Multi-Source to NotebookLM Processor

    joeseesun/qiaomu-anything-to-notebooklm

    Collects content from WeChat articles, web pages, YouTube, podcasts, documents and more, uploads it to NotebookLM and generates podcasts, slides or mind maps.

    6.2k GitHub stars~3.6k tokensUpdated 3 days ago
    Knowledge ManagementAuto-check passed
  • Last30days Cn

    Jesseovo/last30days-skill-cn

    Research what Chinese internet users actually said in the last 30 days across Weibo, Xiaohongshu (RED), Bilibili, Zhihu, Douyin, WeChat public accounts, Baidu and Toutiao: engagement-weighted…

    1.9k GitHub stars~2.4k tokensUpdated yesterday
    Productivity & AutomationAuto-check: notes
  • Yt Dlp Downloader

    MapleShaw/yt-dlp-downloader-skill

    Download videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp.

    209 GitHub starsUsed in 1 repo~1.5k tokens
    Media & CreativeAuto-check passed

More from openakita/openakita

All 29 skills in this repo
  • Smtp Email Sender

    openakita/openakita

    Send emails via SMTP (Gmail, Outlook, etc.). An agent skill from openakita/openakita.

    2k GitHub stars~693 tokensUpdated 14 days ago
    Auto-check: notes
  • Deliver Artifacts

    openakita/openakita

    Deliver artifacts (files/images/voice) to current IM chat via gateway, returning a receipt.

    2k GitHub stars~288 tokensUpdated 14 days ago
    Auto-check passed
  • Switch Persona

    openakita/openakita

    Switch Agent persona preset. An agent skill from openakita/openakita.

    2k GitHub stars~286 tokensUpdated 14 days ago
    Auto-check passed
  • Toggle Proactive

    openakita/openakita

    Toggle proactive messaging mode. An agent skill from openakita/openakita.

    2k GitHub stars~228 tokensUpdated 14 days ago
    Auto-check passed
  • Browser Task

    openakita/openakita

    Smart browser task agent - describe what you want done in natural language and it completes automatically.

    2k GitHub stars~715 tokensUpdated 14 days ago
    Auto-check passed
  • CLI Anything

    openakita/openakita

    Control desktop software (GIMP, Blender, LibreOffice, etc.) through CLI-Anything generated command-line interfaces.

    2k GitHub stars~507 tokensUpdated 14 days ago
    Auto-check passed

Questions about Opencli

What does Opencli do?

Operate websites and Electron apps through CLI commands, reusing Chrome login sessions. Opencli is an agent skill from openakita/openakita. Operate websites and Electron apps through CLI commands, reusing Chrome login sessions.

How do I install Opencli in Claude Code?

Run `npx skills add openakita/openakita --skill opencli -a claude-code`. Or copy the skill folder (skills/system/opencli in openakita/openakita) into .claude/skills/opencli in your project. Claude Code loads it when a task matches its description.

How do I install Opencli in Codex?

Run `npx skills add openakita/openakita --skill opencli -a codex`. Or copy the skill folder (skills/system/opencli in openakita/openakita) into .agents/skills/opencli in your project. Codex loads it when a task matches its description.

Can I use Opencli in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openakita/openakita --skill opencli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/opencli, .gemini/skills/opencli, .github/skills/opencli and .opencode/skills/opencli in your project.

What does Opencli need to run?

Going by SKILL.md and its folder, Opencli needs the command-line tools its instructions call (npm). Our summary lists: Python 3; Node.js.

Does Opencli access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Opencli safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Opencli use?

Opencli is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Opencli use?

About 425 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Opencli?

Skills that share tags, products or a category with Opencli: bb-browser Site Commands for OpenClaw (epiral/bb-browser, 6.2k stars), Agent Reach (EdisonChenAI/agent-reach, 106 stars), Agent Reach (Panniantong/Agent-Reach, 93k stars) and Multi-Source to NotebookLM Processor (joeseesun/qiaomu-anything-to-notebooklm, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Opencli?

openakita (a GitHub user) maintains it in openakita/openakita, which has 2,003 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 24, 2026.

Source: openakita/openakita on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.