opencli-usage

opencli-usage is a skill for OpenCode from zxfccmm4/Obsidian-OpenCode-Knowledge. It costs 66 tokens per session (4,026 once invoked), scanned A, original, MIT.

A usage guide for OpenCLI, a command-line tool that lets AI agents interact with websites, desktop apps, and public APIs. It covers installation, browser setup, commands, supported adapters, and output formats.

In plain words
What is it for?
Use it as a reference for searching, browsing trends, reading feeds, or accessing services such as Reddit, Bilibili, Hacker News, arXiv, and other supported platforms.
Why use it?
It explains the setup and command choices needed to use OpenCLI reliably. It also clarifies when Chrome login and the browser bridge are required.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions Codex.

Good fit Use it as a reference for searching, browsing trends, reading feeds, or accessing services such as Reddit, Bilibili, Hacker News, arXiv, and other supported platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zxfccmm4/Obsidian-OpenCode-Knowledge --skill opencli-usage
Clone the repo
git clone --depth 1 https://github.com/zxfccmm4/Obsidian-OpenCode-Knowledge

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opencli-usage

README.md
[![agentmods](https://agentmods.dev/badge/skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage/github.svg)](https://agentmods.dev/skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage)
Your own site
<a href="https://agentmods.dev/skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage"><img src="https://agentmods.dev/badge/skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opencli-usage

Your own site · 80×15
<a href="https://agentmods.dev/skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage"><img src="https://agentmods.dev/badge/skills/zxfccmm4/obsidian-opencode-knowledge/opencli-usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 22
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.04026
Opus 5.5 $0.00026 $0.01610
Sonnet 5.5 $0.00013 $0.00805
Haiku 4.5 $0.00007 $0.00403

Measured 1mo ago against content hash aae21551d939, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

opencli-usage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vault-template/.opencode/skill/opencli-usage/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenCLI Usage Guide

Make any website or Electron App your CLI. Reuse Chrome login, zero risk, AI-powered discovery.

Install & Run

# npm global install (recommended)
npm install -g @jackwener/opencli
opencli <command>

# Or from source
cd ~/code/opencli && npm install
npx tsx src/main.ts <command>

# Update to latest
npm update -g @jackwener/opencli

Prerequisites

Browser commands require:

  1. Chrome browser running (logged into target sites)
  2. opencli Browser Bridge Chrome extension installed (load extension/ as unpacked in chrome://extensions)
  3. No further setup needed — the daemon auto-starts on first browser command

Note: You must be logged into the target website in Chrome before running commands. Tabs opened during command execution are auto-closed afterwards.

Public API commands (hackernews, v2ex) need no browser.

Quick Lookup by Capability

Capability Platforms (partial list)
search Bilibili, Twitter, Reddit, Xiaohongshu, Zhihu, YouTube, Google, arXiv, LinkedIn, Pixiv, etc.
hot/trending Bilibili, Twitter, Weibo, HackerNews, Reddit, V2EX, Xueqiu, Lobsters, Douban
feed/timeline Twitter, Reddit, Xiaohongshu, Xueqiu, Jike, Facebook, Instagram, Medium
user/profile Twitter, Reddit, Instagram, TikTok, Facebook, Bilibili, Pixiv
post/create Twitter, Jike, Douyin, Weibo
AI chat Grok, Doubao, ChatGPT, Gemini, Cursor, Codex, NotebookLM
finance/stock Xueqiu, Yahoo Finance, Barchart, Sina Finance, Bloomberg
web scraping opencli web read --url <url> — any URL to Markdown
GitHub/DevOps opencli gh, opencli docker, opencli vercel — external CLI passthrough
collaboration opencli lark-cli, opencli dws, opencli wecom-cli — external CLI passthrough

Command Quick Reference

Usage: opencli <site> <command> [args] [--limit N] [-f json|yaml|md|csv|table]

Type legend: 🌐 = Browser (needs Chrome login) · ✅ = Public API (no browser) · 🖥️ = Desktop (Electron/CDP) · 🔧 = External CLI (passthrough)

Read the full file on GitHub · 204 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 204 lines · 66 tokens per session scan A aae21551d939

Subscribe to this mod's changes

opencli-usage is a skill published in the GitHub repository zxfccmm4/Obsidian-OpenCode-Knowledge (299 stars, last pushed 20d ago), licensed MIT. It adds 66 tokens to every session and 4,026 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.