本文へスキップ
Skillpedia
一般的なプログラミング31k · #9335

opencli-usage

できること

このスキルは、タスクに合ったOpenCLIコマンドを見つけて、その出力を読む方法を説明します。ウェブサイトのアダプターと、Chromeの直接のツールの両方を扱います。

使う場面

  • ✓ウェブサイトやタスク用のOpenCLIコマンドを見つけたいとき。
  • ✓コマンドにどんな入力が必要か知りたいとき。
  • ✓OpenCLIの結果を読み、あるいはエラーから回復したいとき。

スキルのリンク

https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル