cli-anything-generator
Skill này làm gì
Skill này đóng gói bộ xây dựng CLI-Anything cho Cursor. Nó dành cho lập trình viên dùng Cursor và muốn tạo công cụ dòng lệnh để agent AI điều khiển phần mềm desktop.
Khi nào nên dùng
- ✓Khi bạn muốn xây một harness dòng lệnh cho ứng dụng desktop từ trong Cursor.
- ✓Khi bạn muốn thêm tính năng cho một harness có sẵn.
- ✓Khi bạn muốn chạy kiểm thử hoặc danh sách kiểm tra xác thực trên một harness.
Liên kết skill
https://github.com/HKUDS/CLI-Anything/blob/main/cursor-plugin/skills/cli-anything-generator/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
“Xây một harness dòng lệnh cho thư mục GIMP trong repository này và chạy các kiểm thử của nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tìm các file phương pháp trong thư mục plugin Cursor của bạn, rồi làm theo bước xây, tinh chỉnh, kiểm thử hoặc xác thực tương ứng. Lệnh gạch chéo là cách chính để dùng nó, và yêu cầu thường cũng đượ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.
CLI-Anything Generator (Cursor Plugin Skill)
This skill is packaged inside the Cursor plugin as a supporting entry point. The primary generator UX is the plugin slash commands.
Prefer Slash Commands
| Goal | Command |
|---|---|
| Full 7-phase build | /cli-anything <path-or-repo> |
| Expand coverage | /cli-anything-refine <path> [focus] |
| Run tests | /cli-anything-test <path> |
| Validate checklist | /cli-anything-validate <path> |
| List tools | /cli-anything-list |
If the user speaks naturally ("build a CLI for ./gimp"), run the same workflow as the matching command.
Consumer Path (Separate)
This skill is not the Hub consumer. For finding/installing published CLIs:
npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y
Per-app skills live under the repo skills/ tree and install via npx skills add.
PLUGIN_ROOT and Methodology
- Resolve
PLUGIN_ROOTvia discovery pointer then stamp:~/.cursor/cli-anything-generator.root/%USERPROFILE%\.cursor\cli-anything-generator.root{install}/PLUGIN_ROOT.txt- default
~/.cursor/plugins/local/cli-anythingifreferences/HARNESS.mdexists there
- Read
{PLUGIN_ROOT}/references/HARNESS.mdwith an absolute path. - Read the matching file under
{PLUGIN_ROOT}/references/commands/. - Use guides under
{PLUGIN_ROOT}/references/guides/on demand. - Helper scripts:
{PLUGIN_ROOT}/scripts/repl_skin.py,preview_bundle.py,skill_generator.py,templates/.
Path remapping (from HARNESS / plugin docs)
| Document reference | Installed plugin path |
|---|---|
guides/... |
references/guides/... |
cli-anything-plugin/repl_skin.py |
scripts/repl_skin.py |
cli-anything-plugin/preview_bundle.py |
scripts/preview_bundle.py |
cli-anything-plugin/skill_generator.py |
scripts/skill_generator.py |
templates/SKILL.md.template |
scripts/templates/SKILL.md.template |
docs/PREVIEW_PROTOCOL.md |
references/docs/PREVIEW_PROTOCOL.md |
Cursor Tool Bindings
| Cursor tool | Role |
|---|---|
| Read | Methodology and source analysis |
| Grep / Glob | API and file discovery |
| Shell | Clone, pytest, pip, CLI invocation |
| Write / StrReplace | Harness implementation |
| Task | Optional parallel subtasks |
Phase Gates
For build/refine/test/validate, maintain
{software-root}/agent-harness/.cli-anything-progress.json.
Create agent-harness/ when tracking starts. Do not advance without completing
the previous phase. Resume non-terminal runs.
Quality Bar
Match Claude Code plugin / Codex skill output: same harness layout, namespace
packaging, --json, tests, and skill generation. Do not invent a different
harness format.
Câu hỏi thường gặp
Các lệnh chính là gì?
Các lệnh chính là build, refine, test, validate và list, và các yêu cầu thường được khớp với chúng.
Nó có tìm công cụ đã được xuất bản không?
Không, việc tìm công cụ đã xuất bản do một skill riêng là CLI-Hub meta-skill đảm nhận.
Nó có cần Cursor không?
Có, nó được đóng gói như một skill plugin của Cursor.
Chi tiết
Mô tả gốc của tác giả
Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands /cli-anything, /cli-anything-refine, /cli-anything-test, /cli-anything-validate, and /cli-anything-list when available. This skill supports natural-language discovery of the generator; it does not replace those commands. Discovering already-published CLIs from CLI-Hub is a separate consumer skill (cli-hub-meta-skill).
repo: HKUDS/CLI-Anything
Độ phổ biến
- Sao GitHub
- 58k
- Vị trí xếp hạng
- #3199
- Giấy phép
- Apache-2.0
- Cập nhật
- 21/9/2026
Bình luận
- …
Thêm skill từ kho mã này
cli-anything-3mf
58kCho phép agent của bạn kiểm tra và sửa file in 3D, gồm tìm lỗ tròn, đổi kích thước chúng, sửa lưới và so sánh hai file.
cli-anything-qgis
58kCho phép agent của bạn mở, sửa và xuất dự án bản đồ QGIS từ terminal, gồm các lớp, đối tượng, bố cục in và công cụ xử lý.
cli-anything-adguardhome
58kCho phép agent của bạn quản lý AdGuard Home, một bộ chặn quảng cáo toàn mạng, gồm bộ lọc, DNS rewrite, thiết bị và nhật ký truy vấn.
cli-anything-anygen
58kCho phép agent của bạn tạo slide, tài liệu, website và sơ đồ từ một prompt bằng dịch vụ AnyGen.
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á.