opencli-usage
できること
このスキルは、タスクに合ったOpenCLIコマンドを見つけて、その出力を読む方法を説明します。ウェブサイトのアダプターと、Chromeの直接のツールの両方を扱います。
使う場面
- ✓ウェブサイトやタスク用のOpenCLIコマンドを見つけたいとき。
- ✓コマンドにどんな入力が必要か知りたいとき。
- ✓OpenCLIの結果を読み、あるいはエラーから回復したいとき。
スキルのリンク
https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“GitHubを検索するOpenCLIコマンドを見つけて、実行方法を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、キーワードでコマンドの一覧を検索し、正確な入力をヘルプで確認してからコマンドを実行します。JSONの結果またはエラーコードを読み、示された手がかりを使って回復します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
OpenCLI
OpenCLI exposes reusable website adapters and direct Chrome tools to agents.
opencli list search
opencli list --site github --limit 20
opencli github search --help -f json
list [query] searches command names and descriptions across built-ins and adapters.
Results are compact and paginated: {ok:true,data:{commands,total,nextOffset?}}.
Pass --offset <nextOffset> to continue. Inspect exact inputs using command help.
Do not hard-code the adapter catalog or dump all commands into context.
Results
Commands default to JSON: {ok:true,data:...}. Failures produce a nonzero exit
code and {ok:false,error:{code,message,hint?,...}} on stdout. Logs use stderr.
Explicit -f table|yaml|csv|md|plain exports are available where command help lists
them. Help, version, completion and explicit plain exports retain their own formats.
Browser follow modes stream one JSON envelope per line.
Use error codes and supplied candidates/keys to recover. Unknown write outcomes require inspecting state before repeating an action. An empty successful result is distinct from an execution failure.
Browser
opencli browser open https://example.com --session research
opencli browser state --session research
opencli browser close --session research
opencli browser chrome describe
Page commands use --session; native Chrome methods need no session. --profile
selects a connected Chrome profile. profile list discovers profiles and
profile use <name> selects the default. Use doctor for connection diagnosis.
See opencli-browser for interaction, API evidence and tab/group management.
Adapters and installation
opencli adapter init example/search
opencli adapter check example/search
opencli adapter test example/search --args '{"query":"hello"}'
opencli adapter status
See opencli-adapter-author for implementation. adapter eject makes an official
site editable locally; adapter reset removes that local override. Adapter tests
execute real commands and can perform writes.
plugin list|install|update|uninstall|create manages plugin packages. auth status
reports website login facts; auth refresh touches sessions. daemon status|restart|stop
manages the bridge process. Read help for the selected capability.
Bundled skill content is available through skills list and
skills read opencli-browser -f plain (omit -f plain for JSON).
よくある質問
すべてのコマンドを一度に一覧にしますか?
いいえ。出力を短く保つため、結果はページ分けされ、キーワードで検索されます。
結果はどのように返されますか?
初期設定では、okフィールドを持つJSONで返されます。エラーにはコードとメッセージが含まれます。
書き込みの操作が失敗したらどうなりますか?
エージェントは、アクションを再び試す前に、現在の状態を確認します。
詳細
作者による元の説明
Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.
repo: jackwener/OpenCLI
人気
- GitHubのスター
- 31k
- ランキング
- #9335
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/26
コメント
- …
このリポジトリの他のスキル
opencli-adapter-author
31kエージェントが、コマンドがウェブサイトからデータを確実に取得できるよう、再利用可能なOpenCLIアダプターを作れるよう支援します。
opencli-autofix
31kエージェントが、ウェブサイトの変更後に壊れたOpenCLIアダプターを修復し、コマンドを再試行できるよう支援します。
opencli-browser
31kエージェントが、Chromeを操作してページを開き、読み、サイト内でクリックして、必要な情報を取得できるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。