opencli-usage
Skill này làm gì
Skill này giải thích cách tìm lệnh OpenCLI phù hợp cho một tác vụ và đọc kết quả đầu ra. Nó bao gồm cả bộ chuyển đổi trang web lẫn các công cụ Chrome trực tiếp.
Khi nào nên dùng
- ✓Khi bạn muốn tìm một lệnh OpenCLI cho một trang web hoặc tác vụ.
- ✓Khi bạn cần biết một lệnh nhận những đầu vào nào.
- ✓Khi bạn muốn đọc kết quả OpenCLI hoặc khôi phục sau một lỗi.
Liên kết skill
https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm một lệnh OpenCLI để tìm kiếm trên GitHub, và chỉ cho tôi cách chạy nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tìm trong danh sách lệnh theo từ khóa, kiểm tra phần trợ giúp để xem đầu vào chính xác, rồi chạy lệnh. Nó đọc kết quả JSON hoặc mã lỗi và dùng các gợi ý được đưa ra để khôi phục.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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).
Câu hỏi thường gặp
Nó có liệt kê mọi lệnh cùng lúc không?
Không. Kết quả được phân trang và tìm theo từ khóa để đầu ra ngắn gọn.
Kết quả được trả về thế nào?
Mặc định là JSON với trường ok, còn lỗi có kèm mã và thông báo.
Nếu một thao tác ghi thất bại thì sao?
Agent kiểm tra trạng thái hiện tại trước khi thử lại thao tác.
Chi tiết
Mô tả gốc của tác giả
Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.
repo: jackwener/OpenCLI
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9335
- Giấy phép
- Apache-2.0
- Cập nhật
- 26/10/2026
Bình luận
- …
Thêm skill từ kho mã này
opencli-adapter-author
31kGiúp agent của bạn xây dựng một bộ chuyển đổi OpenCLI có thể tái sử dụng, cho phép các lệnh lấy dữ liệu từ một trang web một cách đáng tin cậy.
opencli-autofix
31kGiúp agent của bạn sửa một bộ chuyển đổi OpenCLI bị hỏng sau khi trang web thay đổi, rồi thử lại lệnh.
opencli-browser
31kGiúp agent của bạn điều khiển Chrome để mở trang, đọc nội dung, bấm qua các trang web và thu thập thông tin cần thiết.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.