22
33English | [ 中文] ( ./README.zh-CN.md )
44
5+ ![ OpenCLI Skill Banner] ( ./assets/banner.svg )
6+
57An agent skill for working with [ OpenCLI] ( https://github.com/jackwener/opencli ) : command discovery, browser-login reuse, desktop-app adapters, downloads, troubleshooting, and adapter-generation workflows.
68
79Repository: [ GloriaGuo/opencli-skill] ( https://github.com/GloriaGuo/opencli-skill )
@@ -48,16 +50,61 @@ This skill gives AI coding agents a read-first, agent-safe operating path so the
4850- [ examples/openclaw.md] ( ./examples/openclaw.md ) : OpenClaw installation and usage examples
4951- [ examples/openclaw-prompts.md] ( ./examples/openclaw-prompts.md ) : OpenClaw-ready prompt templates for multi-channel agents
5052- [ examples/openclaw.json5.example] ( ./examples/openclaw.json5.example ) : fuller OpenClaw skill-loading config example
53+ - [ assets/banner.svg] ( ./assets/banner.svg ) : repository banner and ready-to-upload social preview asset
54+ - [ install.sh] ( ./install.sh ) : one-click install script for Unix-like shells
55+ - [ install.ps1] ( ./install.ps1 ) : one-click install script for PowerShell
5156- [ scripts/validate_skill.py] ( ./scripts/validate_skill.py ) : portable validation script for CI and local checks
5257
5358## Install
5459
60+ ### One-Click Install
61+
62+ Unix-like shells:
63+
64+ ``` bash
65+ ./install.sh codex
66+ ./install.sh claude
67+ ./install.sh openclaw
68+ ./install.sh openclaw-workspace
69+ ```
70+
71+ Remote install without cloning first:
72+
73+ ``` bash
74+ curl -fsSL https://raw.githubusercontent.com/GloriaGuo/opencli-skill/main/install.sh | bash -s -- codex
75+ curl -fsSL https://raw.githubusercontent.com/GloriaGuo/opencli-skill/main/install.sh | bash -s -- claude
76+ curl -fsSL https://raw.githubusercontent.com/GloriaGuo/opencli-skill/main/install.sh | bash -s -- openclaw
77+ ```
78+
79+ PowerShell:
80+
81+ ``` powershell
82+ ./install.ps1 codex
83+ ./install.ps1 claude
84+ ./install.ps1 openclaw
85+ ./install.ps1 openclaw-workspace
86+ ```
87+
88+ Remote install without cloning first:
89+
90+ ``` powershell
91+ irm https://raw.githubusercontent.com/GloriaGuo/opencli-skill/main/install.ps1 | iex
92+ ```
93+
94+ ### Repository Banner / Social Preview
95+
96+ The repository includes a ready-made banner asset at [ assets/banner.svg] ( ./assets/banner.svg ) .
97+
98+ - it is already embedded at the top of this README
99+ - it can also be uploaded manually in GitHub repository settings as a social preview image
100+ - if you want a PNG version later, export the SVG at 1280×640 or 2560×1280
101+
55102### Codex
56103
57104Clone or copy the repo into your Codex skills directory:
58105
59106``` bash
60- git clone git@ github.com: GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
107+ git clone https:// github.com/ GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
61108```
62109
63110Or copy the folder contents manually into:
@@ -81,15 +128,15 @@ Use $opencli to troubleshoot why my Zhihu command returns empty data.
81128Codex-oriented installation path:
82129
83130``` bash
84- git clone git@ github.com: GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
131+ git clone https:// github.com/ GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
85132```
86133
87134## Use In Claude Code
88135
89136Claude Code skills typically live under ` ~/.claude/skills ` . Copy or clone this repository there:
90137
91138``` bash
92- git clone git@ github.com: GloriaGuo/opencli-skill.git ~ /.claude/skills/opencli
139+ git clone https:// github.com/ GloriaGuo/opencli-skill.git ~ /.claude/skills/opencli
93140```
94141
95142Then ask Claude Code in natural language or reference the skill explicitly:
@@ -111,13 +158,13 @@ OpenClaw can load shared skills from `~/.openclaw/skills` or workspace-specific
111158Shared install for all agents:
112159
113160``` bash
114- git clone git@ github.com: GloriaGuo/opencli-skill.git ~ /.openclaw/skills/opencli
161+ git clone https:// github.com/ GloriaGuo/opencli-skill.git ~ /.openclaw/skills/opencli
115162```
116163
117164Workspace-specific install:
118165
119166``` bash
120- git clone git@ github.com: GloriaGuo/opencli-skill.git ./skills/opencli
167+ git clone https:// github.com/ GloriaGuo/opencli-skill.git ./skills/opencli
121168```
122169
123170Config file: ` ~/.openclaw/openclaw.json `
@@ -275,7 +322,7 @@ python3 scripts/validate_skill.py
275322### Codex
276323
277324``` bash
278- git clone git@ github.com: GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
325+ git clone https:// github.com/ GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
279326```
280327
281328或者手动复制到:
@@ -299,15 +346,15 @@ Use $opencli to troubleshoot why my Zhihu command returns empty data.
299346Codex 默认安装路径:
300347
301348``` bash
302- git clone git@ github.com: GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
349+ git clone https:// github.com/ GloriaGuo/opencli-skill.git " ${CODEX_HOME:- $HOME / .codex} /skills/opencli"
303350```
304351
305352## 在 Claude Code 里怎么用
306353
307354Claude Code 的 skill 通常放在 ` ~/.claude/skills ` 下,可以这样安装:
308355
309356``` bash
310- git clone git@ github.com: GloriaGuo/opencli-skill.git ~ /.claude/skills/opencli
357+ git clone https:// github.com/ GloriaGuo/opencli-skill.git ~ /.claude/skills/opencli
311358```
312359
313360然后直接用自然语言,或者显式提到 ` $opencli ` :
@@ -329,13 +376,13 @@ OpenClaw 可以从 `~/.openclaw/skills` 读取共享 skill,也可以从当前
329376给所有 agent 共用的安装方式:
330377
331378``` bash
332- git clone git@ github.com: GloriaGuo/opencli-skill.git ~ /.openclaw/skills/opencli
379+ git clone https:// github.com/ GloriaGuo/opencli-skill.git ~ /.openclaw/skills/opencli
333380```
334381
335382只给当前 workspace 使用:
336383
337384``` bash
338- git clone git@ github.com: GloriaGuo/opencli-skill.git ./skills/opencli
385+ git clone https:// github.com/ GloriaGuo/opencli-skill.git ./skills/opencli
339386```
340387
341388配置文件位置:` ~/.openclaw/openclaw.json `
0 commit comments