Agent skill

Opencli

by Peiiii in Peiiii/nextclaw

A skill your agent uses when the user wants to use websites, browser login sessions, Electron apps, or external CLIs through a local OpenCLI setup, especially when setup guidance, readiness checks…

MITAuto-check passed

Install Opencli

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

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

GitHub CLI
$ gh skill install Peiiii/nextclaw 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/Peiiii/nextclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/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
260
Token cost
~1.7k tokens
SKILL.md length
869 words
Files
2
Skills in repo
70
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when the user wants to use websites, browser login sessions, Electron apps, or external CLIs through a local OpenCLI setup, especially when setup guidance, readiness checks…

  • Works in 5 steps: Classify the task → Check whether opencli exists → Run readiness check → …
  • The user wants to use websites
  • SKILL.md covers Overview, What This Skill Covers, What This Skill Does Not Cover and First-Use Workflow, plus 6 more sections
  • Calls npm

What it does

Opencli is an agent skill from Peiiii/nextclaw. Use when the user wants to use websites, browser login sessions, Electron apps, or external CLIs through a local OpenCLI setup, especially when setup guidance, readiness checks, and safe task execution are needed.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `marketplace.json`).

The repository describes itself as: A human-centered long-term AI partner—not a task-centered assistant. The licence is MIT.

When your agent uses it

  • The user wants to use websites
  • Browser login sessions
  • External CLIs through a local OpenCLI setup
  • Especially when setup guidance

Example prompts

  • “/opencli”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Classify the task
  2. Check whether opencli exists
  3. Run readiness check
  4. Apply task-specific prerequisites
  5. Discover supported commands

What it can do on your machine

Read from SKILL.md and the folder at commit d130133. 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

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    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 1.7k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 869 words of instructions outside code blocks.

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

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 Peiiii/nextclaw at commit d130133, republished under its MIT licence (© Peiiii). 869 words, ~1,657 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
Use when the user wants to use websites, browser login sessions, Electron apps, or external CLIs through a local OpenCLI setup, especially when setup guidance, readiness checks, and safe task execution are needed.

OpenCLI

Overview

Use this skill to help the user work through a local opencli installation from inside NextClaw.

This skill is intentionally decoupled:

  • The skill owns explanation, onboarding, readiness checks, workflow choice, and risk handling.
  • opencli owns actual execution.

From the user's point of view, the experience should feel complete:

  • install or update opencli if needed,
  • guide the user through browser or app setup,
  • verify readiness,
  • then run the real task.

Do not pretend the environment is ready when it is not.

What This Skill Covers

  • public read-only commands,
  • browser tasks that reuse the user's Chrome login session,
  • Electron or desktop app adapters that opencli already supports,
  • passthrough to external CLIs through opencli,
  • first-use setup and troubleshooting.

What This Skill Does Not Cover

  • inventing commands that do not appear in opencli list,
  • claiming support for a site or app that opencli does not actually expose,
  • silently bypassing missing setup,
  • silently triggering destructive or write actions,
  • treating third-party runtime behavior as native NextClaw behavior.

First-Use Workflow

When the user asks for an opencli-powered task, follow this order.

1. Classify the task

Classify the task into one of these:

  • public read task,
  • browser session task,
  • desktop app task,
  • external CLI passthrough task.

If the task does not fit any supported opencli shape, say so clearly.

2. Check whether opencli exists

Run:

bash
command -v opencli

If missing, explain that opencli must be installed locally first.

Recommended install:

bash
npm install -g @jackwener/opencli

After installation, continue with readiness checks instead of jumping straight into the user task.

3. Run readiness check

Run:

bash
opencli doctor

Use this as the main readiness gate.

If doctor fails, do not proceed to the real task yet. Diagnose the failure first.

4. Apply task-specific prerequisites

For browser session tasks:

  • Chrome must be running.
  • The user must already be logged into the target website in Chrome.
  • The OpenCLI Browser Bridge extension must be installed and enabled.

For desktop app tasks:

  • The target app must already be installed.
  • The target app should be open before execution when appropriate.
  • Do not assume desktop adapters are universally cross-platform; verify command availability first.

For external CLI passthrough tasks:

  • Verify the target command exists before assuming passthrough is ready.
  • Example:
bash
command -v gh
  • opencli documentation says some passthrough commands may attempt auto-install of missing CLIs.
  • Do not rely on that behavior silently.
  • If the underlying CLI is missing, explain it and ask for explicit user confirmation before any install path.
5. Discover supported commands

When support is uncertain, run:

bash
opencli list

Prefer:

bash
opencli list -f yaml

when structured inspection is easier.

Only use commands that can be confirmed from the installed opencli command list.

Safe Execution Rules

  • Prefer read-only commands before write commands.
  • For writes, posting, deleting, following, publishing, or account-affecting actions, ask for explicit confirmation first.
  • If the task is exploratory, start with a lightweight read command or status command before a more invasive action.
  • If the user asks for an unsupported site or command, say it is unsupported instead of improvising.
  • If opencli doctor or command output indicates missing login, missing extension, or missing app state, stop and guide the user.
  • Do not bury setup details. Explain the missing prerequisite directly.
Show full SKILL.md (360 more words)Show less

Browser Setup Guidance

When browser setup is missing, guide the user through this exact idea:

  1. Install the latest OpenCLI browser extension from the upstream releases page.
  2. Open chrome://extensions.
  3. Turn on Developer mode.
  4. Load the unpacked extension or the unzipped release bundle.
  5. Make sure Chrome stays running.
  6. Log into the target site in Chrome.
  7. Re-run:
bash
opencli doctor

Do not claim browser commands are safe to run before these checks pass.

Privacy And Trust Guidance

When a user is sensitive to privacy or account risk, explain these points clearly:

  • opencli reuses the user's existing Chrome login state.
  • Its browser bridge communicates through a local daemon on localhost.
  • The extension requests browser permissions such as debugger, tabs, cookies, activeTab, and alarms.
  • The skill should surface this clearly before high-trust tasks.

Do not frame this as "no-risk magic". Frame it as a local tool with explicit browser permissions and explicit account reuse.

Use patterns like these:

bash
opencli list
opencli doctor
opencli hackernews top --limit 5
opencli reddit search "AI"
opencli youtube transcript "<url>"
opencli bilibili hot --limit 5
opencli gh pr list --limit 5

If the user wants a specific command and you are unsure whether it exists, check opencli list first.

Troubleshooting

opencli not found
  • Explain that the local CLI is not installed.
  • Guide the user through installation.
  • Re-check with command -v opencli.
doctor reports extension or daemon problems
  • Do not continue to the real task.
  • Guide the user through extension setup and rerun opencli doctor.
Browser command returns empty data or unauthorized behavior
  • Explain that the most likely cause is missing or expired Chrome login state.
  • Ask the user to log into the target site in Chrome and try again.
Desktop command fails
  • Confirm the target app is actually supported.
  • Confirm the app is open.
  • Confirm the command exists in opencli list.
External CLI passthrough may install another CLI
  • Explain that this may modify the local machine.
  • Ask for explicit confirmation before proceeding.

Success Criteria

The skill is working correctly when:

  • the user understands what opencli is being used for,
  • missing setup is identified before task execution,
  • readiness is checked with opencli doctor,
  • the user is guided through any required setup,
  • supported commands are confirmed via opencli list when needed,
  • and the final task runs only after the environment is truly ready.

© Peiiii, MIT. 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/opencli of Peiiii/nextclaw.

  • SKILL.md
  • marketplace.json

Open the folder on GitHubat commit d130133

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 skillPeiiii/nextclaw260—~1.7kAutomated safety check: PassMIT
OpenCLI Usage Mapjackwener/OpenCLI30k1 repos~2.3kAutomated safety check: PassApache-2.0
Session Handoffsickn33/agentic-awesome-skills47k—~1.8kAutomated safety check: NotesMIT
Opencliopenakita/openakita2k—~425Automated safety check: PassAGPL-3.0
Sessionanthropics/claude-for-legal9.6k3 repos~478Automated safety check: PassApache-2.0
Desktop ElectronOpenHands/OpenHands90k—~302Automated safety check: PassMIT

Similar skills

  • OpenCLI Usage Map

    jackwener/OpenCLI

    Orients an agent on OpenCLI, which turns websites and Electron apps into opencli site-command calls, covering adapters, strategies, install and which skill to load next.

    30k GitHub starsUsed in 1 repo~2.3k tokens
    Productivity & AutomationAuto-check passed
  • Session Handoff

    sickn33/agentic-awesome-skills

    A skill your agent uses when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session.

    47k GitHub stars~1.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Opencli

    openakita/openakita

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

    2k GitHub stars~425 tokensUpdated 13 days ago
    Auto-check passed
  • Session

    anthropics/claude-for-legal

    Official

    Run a focused N-question study session on a subject — MBE, essay, or flashcards.

    9.6k GitHub starsUsed in 3 repos~478 tokens
    EducationAuto-check passed
  • Desktop Electron

    OpenHands/OpenHands

    This skill should be used when the user asks to "change the desktop app", "package Electron", "build a universal macOS app", "bundle Node or uv", "fix Electron startup", or changes electron/…

    90k GitHub stars~302 tokensUpdated today
    Auto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from Peiiii/nextclaw

All 70 skills in this repo
  • Nextclaw Skin Studio

    Peiiii/nextclaw

    A skill your agent uses when a user wants to browse, apply, inspect, create, refine, switch, or remove a NextClaw skin; wants a personal skin with arbitrary CSS, JavaScript, images, SVG, DOM…

    260 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when a development task needs visible phase tracing, task-level or phase-level Token measurement, model/effort comparison, or a deterministic usage report or local dashboard…

    260 GitHub stars~802 tokensUpdated yesterday
    Auto-check passed
  • 当 NextClaw 产品更新后需要生成、替换、挑毛病或检查官网、GitHub README、用户文档或社交传播中的真实截图、AI 宣传视觉、整页 HTML 宣传预览、社区二维码等对外视觉资产时使用;也用于“更新截图”“重新截一批图”“做宣传页”“生成 campaign 页面”“视觉审稿”“五星挑刺法”或发布前检查视觉资产。普通站点布局开发或只写文章不触发。

    260 GitHub stars~801 tokensUpdated yesterday
    Auto-check passed
  • UI UX Pro Max

    Peiiii/nextclaw

    A skill your agent uses when the user wants professional UI/UX design guidance, design-system generation, UX review, or stack-specific frontend guidance through a bundled local UI/UX Pro Max dataset…

    260 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Impeccable

    Peiiii/nextclaw

    A skill your agent uses when the user wants distinctive, production-grade frontend design, anti-generic AI aesthetics, UX critique, technical UI audits, or final polish through bundled Impeccable…

    260 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Curate NextClaw skill resources, including OpenClaw and community sources.

    260 GitHub stars~479 tokensUpdated yesterday
    Auto-check passed

Questions about Opencli

What does Opencli do?

A skill your agent uses when the user wants to use websites, browser login sessions, Electron apps, or external CLIs through a local OpenCLI setup, especially when setup guidance, readiness checks…. Opencli is an agent skill from Peiiii/nextclaw. Use when the user wants to use websites, browser login sessions, Electron apps, or external CLIs through a local OpenCLI setup, especially when setup guidance, readiness checks, and safe task execution are needed.

When should I use Opencli?

Opencli fits situations like: the user wants to use websites; browser login sessions; external CLIs through a local OpenCLI setup; especially when setup guidance.

How do I install Opencli in Claude Code?

Run `npx skills add Peiiii/nextclaw --skill opencli -a claude-code`. Or copy the skill folder (skills/opencli in Peiiii/nextclaw) 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 Peiiii/nextclaw --skill opencli -a codex`. Or copy the skill folder (skills/opencli in Peiiii/nextclaw) 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 Peiiii/nextclaw --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: Node.js.

Does Opencli access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. 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 MIT 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 1.7k tokens (SKILL.md is roughly 6.6k 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: OpenCLI Usage Map (jackwener/OpenCLI, 30k stars), Session Handoff (sickn33/agentic-awesome-skills, 47k stars), Opencli (openakita/openakita, 2k stars) and Session (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Opencli?

Peiiii (a GitHub user) maintains it in Peiiii/nextclaw, which has 260 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 6, 2026.

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