cli-anything-generator
できること
このスキルは、CLI-AnythingのビルダーをCursor向けにパッケージ化したものです。Cursorを使い、AIエージェントがデスクトップソフトを操作できるコマンドラインツールを作りたい開発者向けです。
使う場面
- ✓Cursor内で、デスクトップアプリ向けのコマンドラインハーネスを作成したいとき。
- ✓既存のハーネスに機能を追加したいとき。
- ✓ハーネスに対してテストや検証チェックリストを実行したいとき。
スキルのリンク
https://github.com/HKUDS/CLI-Anything/blob/main/cursor-plugin/skills/cli-anything-generator/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このリポジトリにあるGIMPフォルダ向けのコマンドラインハーネスを作成して、テストを実行してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、Cursorプラグインフォルダ内の手法ファイルを探し、該当する作成、改良、テスト、検証の手順に従います。主な使い方はスラッシュコマンドですが、通常の依頼でも動作します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
よくある質問
主なコマンドは何ですか?
build、refine、test、validate、listが主なコマンドで、通常の依頼もこれらに対応付けられます。
公開済みのツールを探せますか?
いいえ。公開済みのツールを探す作業は、別のスキルであるCLI-Hubのメタスキルが担当します。
Cursorが必要ですか?
はい。Cursorのプラグインスキルとして提供されています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 58k
- ランキング
- #3199
- ライセンス
- Apache-2.0
- 更新日
- 2026/9/21
コメント
- …
このリポジトリの他のスキル
cli-anything-3mf
58kエージェントが3Dプリントのファイルを調べて直せるようにします。丸い穴を見つける、そのサイズを変える、メッシュを修復する、2つのファイルを比べることができます。
cli-anything-qgis
58kエージェントがターミナルからQGISのマッププロジェクトを開き、編集し、書き出せるようにします。レイヤー、フィーチャー、印刷レイアウト、処理ツールを含みます。
cli-anything-adguardhome
58kエージェントがAdGuard Homeを管理できるようにします。AdGuard Homeはネットワーク全体で広告を遮断するツールで、フィルター、DNSの書き換え、クライアント、クエリのログを扱います。
cli-anything-anygen
58kエージェントが、AnyGenのサービスを使って、書かれたプロンプトからスライド、文書、ウェブサイト、図を生成できるようにします。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。