[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71RKQ1SQZ6FJZ1M1GKZZG6M":3,"skill-same:01M71RKQ1SQZ6FJZ1M1GKZZG6M":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M71RKQ1SQZ6FJZ1M1GKZZG6M","cli-anything",null,"Build a command-line harness that lets an agent drive GUI-only software — Blender, LibreOffice, GIMP, Inkscape, Audacity, QGIS, video editors, CAD tools — by generating the app's native project format and handing it to the real binary for rendering. Use when a task needs software that has no usable CLI, when an agent must produce a real artifact (render, export, conversion) from a desktop application, or when asked to wrap, automate, or headlessly drive a GUI program. Not for software that already ships an adequate CLI.","dmae97\u002Fomk","dmae97","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F146327957?v=4","01M71RJRBWDNKEJ1A2DZVES8X1","01M71RJRCYHNT7E83M0Q42V6SJ",153,"MIT","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002F.omk\u002Fskills\u002Fcli-anything\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"CLI Anything","cli","app","needs","program","when","command-line","render","native","rendering","line","software","project","artifact","conversion","only","export","command","Video","Tools","2026-11-10 13:02:02",false,"---\nname: cli-anything\ndescription: Build a command-line harness that lets an agent drive GUI-only software — Blender, LibreOffice, GIMP, Inkscape, Audacity, QGIS, video editors, CAD tools — by generating the app's native project format and handing it to the real binary for rendering. Use when a task needs software that has no usable CLI, when an agent must produce a real artifact (render, export, conversion) from a desktop application, or when asked to wrap, automate, or headlessly drive a GUI program. Not for software that already ships an adequate CLI.\n---\n\n# CLI-Anything\n\nTurn GUI-only software into something an agent can drive, without a display or a mouse.\n\n## The rule that makes it work\n\n**Build the data → call the real software → verify the output.**\n\nThe harness is an interface *to* the application, never a replacement for it. It\ngenerates the app's native project file, then invokes the actual binary to render.\n\nThis one rule decides whether the harness is useful or a liability:\n\n- The application is a **hard dependency**. If it is not installed, fail with install\n  instructions. Never fall back to a Python library that approximates the render.\n- A fallback renderer produces plausible output that is wrong in ways nobody checks.\n  That is worse than an error, because the agent reports success.\n\n## When to reach for this\n\nUse it when the target has no adequate CLI and the task needs a real artifact:\na render, an export, a format conversion, a scripted edit.\n\nSkip it when the software already ships a CLI that covers the task. `ffmpeg`,\n`pandoc`, and `ImageMagick` are the harness you would have written.\n\n## How to build one\n\n**1. Find the engine.** GUI apps separate presentation from logic. Locate the core\nlibrary and any CLI the backend already ships — `melt` for Shotcut, `sox` for\nAudacity, `libreoffice --headless`, `blender --background --python`. Those are the\nbuilding blocks, not things to reimplement.\n\n**2. Read the native format.** The project file is the data layer: MLT XML, ODF ZIP,\nSVG, `.blend` driven by a bpy script. Manipulate it directly.\n\n**3. Map GUI actions to calls.** Every button and menu item is a function call. If the\napp has undo\u002Fredo it almost certainly uses a command pattern, and those commands are\nyour CLI operations.\n\n**4. Choose the interaction model.** A stateful REPL suits agents that keep context; a\nsubcommand CLI suits one-shot scripting. Supporting both is usually right. Decide what\npersists between commands and where that state lives.\n\n**5. Give the agent introspection.** `info`, `list`, and `status` matter more here than\nin a human CLI: an agent cannot look at the screen to see what it just did. Fail loudly\nwith unambiguous messages so it can self-correct, and keep commands idempotent.\n\n## The trap: the rendering gap\n\nA harness can write a perfectly valid project file and still render nothing. The\nregistry says a filter exists; the render path never applies it. Every effect the CLI\nadvertises needs a render mapping, or explicit documentation that it is project-only.\n\nVerify by probing the artifact, not by trusting exit code 0 — sample frames, compare\npixel statistics against the source, check audio RMS at the boundaries. When comparing\nacross resolutions, exclude letterbox padding or the numbers lie.\n\n## Before installing anything\n\nThe upstream registry (`cli-hub install \u003Cname>`) distributes community-contributed\nPython packages that an agent then executes. That is a supply-chain surface, and\nupstream's own security policy is explicit that an agent may autonomously construct and\nrun commands from untrusted input.\n\nRead a harness before installing it. Prefer writing the harness for the one application\nthe task needs over installing a registry entry you have not reviewed.\n\n## Upstream\n\nMethodology from [HKUDS\u002FCLI-Anything](https:\u002F\u002Fgithub.com\u002FHKUDS\u002FCLI-Anything)\n(Apache-2.0). The full harness specification, per-phase guides, and 80+ reference\nharnesses live there; this skill is a condensed operating procedure, not a copy.\n\nThe `\u002Fcli-anything` command in the `.omk\u002Fextensions\u002Fcli-anything` extension loads this\nskill with a target path or repository already filled in.\n","# CLI-Anything\n\nTurn GUI-only software into something an agent can drive, without a display or a mouse.\n\n## The rule that makes it work\n\n**Build the data → call the real software → verify the output.**\n\nThe harness is an interface *to* the application, never a replacement for it. It\ngenerates the app's native project file, then invokes the actual binary to render.\n\nThis one rule decides whether the harness is useful or a liability:\n\n- The application is a **hard dependency**. If it is not installed, fail with install\n  instructions. Never fall back to a Python library that approximates the render.\n- A fallback renderer produces plausible output that is wrong in ways nobody checks.\n  That is worse than an error, because the agent reports success.\n\n## When to reach for this\n\nUse it when the target has no adequate CLI and the task needs a real artifact:\na render, an export, a format conversion, a scripted edit.\n\nSkip it when the software already ships a CLI that covers the task. `ffmpeg`,\n`pandoc`, and `ImageMagick` are the harness you would have written.\n\n## How to build one\n\n**1. Find the engine.** GUI apps separate presentation from logic. Locate the core\nlibrary and any CLI the backend already ships — `melt` for Shotcut, `sox` for\nAudacity, `libreoffice --headless`, `blender --background --python`. Those are the\nbuilding blocks, not things to reimplement.\n\n**2. Read the native format.** The project file is the data layer: MLT XML, ODF ZIP,\nSVG, `.blend` driven by a bpy script. Manipulate it directly.\n\n**3. Map GUI actions to calls.** Every button and menu item is a function call. If the\napp has undo\u002Fredo it almost certainly uses a command pattern, and those commands are\nyour CLI operations.\n\n**4. Choose the interaction model.** A stateful REPL suits agents that keep context; a\nsubcommand CLI suits one-shot scripting. Supporting both is usually right. Decide what\npersists between commands and where that state lives.\n\n**5. Give the agent introspection.** `info`, `list`, and `status` matter more here than\nin a human CLI: an agent cannot look at the screen to see what it just did. Fail loudly\nwith unambiguous messages so it can self-correct, and keep commands idempotent.\n\n## The trap: the rendering gap\n\nA harness can write a perfectly valid project file and still render nothing. The\nregistry says a filter exists; the render path never applies it. Every effect the CLI\nadvertises needs a render mapping, or explicit documentation that it is project-only.\n\nVerify by probing the artifact, not by trusting exit code 0 — sample frames, compare\npixel statistics against the source, check audio RMS at the boundaries. When comparing\nacross resolutions, exclude letterbox padding or the numbers lie.\n\n## Before installing anything\n\nThe upstream registry (`cli-hub install \u003Cname>`) distributes community-contributed\nPython packages that an agent then executes. That is a supply-chain surface, and\nupstream's own security policy is explicit that an agent may autonomously construct and\nrun commands from untrusted input.\n\nRead a harness before installing it. Prefer writing the harness for the one application\nthe task needs over installing a registry entry you have not reviewed.\n\n## Upstream\n\nMethodology from [HKUDS\u002FCLI-Anything](https:\u002F\u002Fgithub.com\u002FHKUDS\u002FCLI-Anything)\n(Apache-2.0). The full harness specification, per-phase guides, and 80+ reference\nharnesses live there; this skill is a condensed operating procedure, not a copy.\n\nThe `\u002Fcli-anything` command in the `.omk\u002Fextensions\u002Fcli-anything` extension loads this\nskill with a target path or repository already filled in.\n",{"name":5,"description":7},"main","ea03fcf76b438f12f0cebcd6b255d24d4cb52741",".omk\u002Fskills\u002Fcli-anything",29,"https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk","https:\u002F\u002Fgithub.com\u002Fdmae97","2026-11-14 19:00:33",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add dmae97\u002Fomk --skill cli-anything",{"tool":56,"command":57},"bunx","bunx skills add dmae97\u002Fomk --skill cli-anything",{"tool":59,"command":60},"pnpm","pnpm dlx skills add dmae97\u002Fomk --skill cli-anything","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002F.omk\u002Fskills\u002Fcli-anything\u002FSKILL.md",true,[],[65,74,85,98,110,120],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"01M7DWE3SHENZ7ZH6WD0YCVMW7","omk-tencent-memory","Configure and use OMK's built-in TencentDB Agent Memory integration. Use for TencentDB memory, MemoryCore v3, shared agent memory search, explicit memory storage, or troubleshooting tencent_memory configuration.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fresources\u002Fskills\u002Fomk-tencent-memory\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Fresources\u002Fskills\u002Fomk-tencent-memory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":38},"01M71RZKQCQ4G7MP08TE3QQ0PD","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[81,82,83,84],"valid skill","valid","for","testing",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":38},"01M71RZJ8YHH8GKADPTSZBCJ1T","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[92,93,94,95,96,97],"unknown","unknown field","unknown frontmatter field","with","a skill","frontmatter",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":38},"01M71RZH4FVEENABTV8WTQ5HTS","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\u002FSKILL.md",[],[105,106,107,108,109],"nested child","child","nested","nested skill","ignored",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":38},"01M71RZFZYSXRRVY5M8HP05NJV","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002FSKILL.md",[],[117,118,119],"root","root skill preferred","root skill",{"skillNo":121,"name":122,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":38},"01M71RZEQDH7RZ1PH36G7GPN9N","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fdmae97\u002Fomk\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[126,97],"no frontmatter"]