[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F847PVJAECJ72G0X4RFV2C":3,"skill-same:01M7F847PVJAECJ72G0X4RFV2C":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F847PVJAECJ72G0X4RFV2C","cli-anything-macrocli",null,"Use when the agent wants to define, list, inspect, or execute GUI macros via the MacroCLI CLI. Macros are parameterized, CLI-callable workflows — the agent invokes `macro run \u003Cname>` and the system handles backend routing (plugin, file transform, accessibility, compiled GUI replay).","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcli-anything-macrocli\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: \"cli-anything-macrocli\"\ndescription: >\n  Use when the agent wants to define, list, inspect, or execute GUI macros\n  via the MacroCLI CLI. Macros are parameterized, CLI-callable\n  workflows — the agent invokes `macro run \u003Cname>` and the system handles\n  backend routing (plugin, file transform, accessibility, compiled GUI replay).\n---\n\n# MacroCLI CLI\n\n## What It Is\n\nThe MacroCLI converts valuable GUI workflows into parameterized,\nCLI-callable macros. Agents **never touch the GUI directly** — they call macros\nthrough this stable CLI, and the runtime routes execution to the best available\nbackend (native plugin\u002FAPI, file transformation, semantic UI control, or\nprecompiled GUI macro replay).\n\n## Installation\n\n```bash\ncd macrocli\u002Fagent-harness\npip install -e .\n```\n\n**Requirements:** Python 3.10+, PyYAML, click, prompt-toolkit.\n\n## Quick Start (for agents)\n\n```bash\n# 1. See what macros are available\ncli-anything-macrocli macro list --json\n\n# 2. Inspect a macro's parameters\ncli-anything-macrocli macro info export_file --json\n\n# 3. Dry-run to check params without side effects\ncli-anything-macrocli --dry-run macro run export_file \\\n    --param output=\u002Ftmp\u002Ftest.txt --json\n\n# 4. Execute a macro\ncli-anything-macrocli macro run export_file \\\n    --param output=\u002Ftmp\u002Fresult.txt --json\n\n# 5. See what backends are available\ncli-anything-macrocli backends --json\n```\n\n## Command Reference\n\n### Global Flags\n\n| Flag | Description |\n|------|-------------|\n| `--json` | Machine-readable JSON output on stdout |\n| `--dry-run` | Simulate all steps, skip side effects |\n| `--session-id \u003Cid>` | Resume or create a named session |\n\n### `macro` group\n\n| Command | Description |\n|---------|-------------|\n| `macro list` | List all available macros |\n| `macro info \u003Cname>` | Show macro schema (parameters, steps, conditions) |\n| `macro run \u003Cname> --param k=v` | Execute a macro |\n| `macro dry-run \u003Cname> --param k=v` | Simulate without side effects |\n| `macro validate [name]` | Structural validation |\n| `macro define \u003Cname>` | Scaffold a new macro YAML |\n\n### `session` group\n\n| Command | Description |\n|---------|-------------|\n| `session status` | Show session statistics |\n| `session history` | Show recent run history |\n| `session save` | Persist session to disk |\n| `session list` | List all saved sessions |\n\n### `backends`\n\n```bash\ncli-anything-macrocli backends --json\n# Shows: native_api, file_transform, semantic_ui, gui_macro, recovery\n# and whether each is available in the current environment.\n```\n\n## Macro Parameters\n\nPass parameters with `--param key=value`. Repeat for multiple:\n\n```bash\ncli-anything-macrocli macro run transform_json \\\n    --param file=\u002Fpath\u002Fto\u002Fdata.json \\\n    --param key=settings.theme \\\n    --param value=dark \\\n    --json\n```\n\n## Output Format (--json)\n\nAll commands output JSON when `--json` is set:\n\n```json\n{\n  \"success\": true,\n  \"macro_name\": \"export_file\",\n  \"output\": {\n    \"exported_file\": \"\u002Ftmp\u002Fresult.txt\"\n  },\n  \"error\": \"\",\n  \"telemetry\": {\n    \"duration_ms\": 312,\n    \"steps_total\": 2,\n    \"steps_run\": 2,\n    \"backends_used\": [\"native_api\"],\n    \"dry_run\": false\n  }\n}\n```\n\nOn failure (`\"success\": false`), read the `\"error\"` field for the reason.\nExit code is 1 on failure.\n\n## Execution Backends\n\nBackends are selected automatically based on the macro step definition:\n\n| Backend | Triggered by | Use case |\n|---------|-------------|----------|\n| `native_api` | `backend: native_api` | Subprocess \u002F shell command |\n| `file_transform` | `backend: file_transform` | XML, JSON, text file editing |\n| `semantic_ui` | `backend: semantic_ui` | Accessibility \u002F keyboard shortcuts |\n| `gui_macro` | `backend: gui_macro` | Precompiled coordinate replay |\n| `recovery` | `backend: recovery` | Retry \u002F fallback orchestration |\n\n## Writing Macros\n\nMacros are YAML files in `cli_anything\u002Fmacrocli\u002Fmacro_definitions\u002F`.\nScaffold one with:\n\n```bash\ncli-anything-macrocli macro define my_macro --output \\\n    cli_anything\u002Fmacrocli\u002Fmacro_definitions\u002Fexamples\u002Fmy_macro.yaml\n```\n\nMinimal schema:\n\n```yaml\nname: my_macro\nversion: \"1.0\"\ndescription: What this macro does.\n\nparameters:\n  output:\n    type: string\n    required: true\n    description: Where to write results.\n    example: \u002Ftmp\u002Fresult.txt\n\npreconditions:\n  - file_exists: \u002Fpath\u002Fto\u002Finput\n\nsteps:\n  - id: step1\n    backend: native_api\n    action: run_command\n    params:\n      command: [my-app, --export, \"${output}\"]\n    timeout_ms: 30000\n    on_failure: fail  # or: skip, continue\n\npostconditions:\n  - file_exists: ${output}\n  - file_size_gt: [${output}, 100]\n\noutputs:\n  - name: result_file\n    path: ${output}\n\nagent_hints:\n  danger_level: safe  # safe | moderate | dangerous\n  side_effects: [creates_file]\n  reversible: true\n```\n\n## Agent Usage Rules\n\n1. **Always use `--json`** for programmatic output.\n2. **Use `--dry-run` to validate params** before executing side-effectful macros.\n3. **Check `success` field** — do not assume success from exit code alone.\n4. **Read `error` field** when `success` is false — it explains what failed.\n5. **Use `macro info \u003Cname>` to discover params** before calling `macro run`.\n6. **Use absolute paths** for all file parameters.\n\n## Example Workflow\n\n```bash\n# Step 1: What's available?\ncli-anything-macrocli macro list --json\n\n# Step 2: What params does transform_json need?\ncli-anything-macrocli macro info transform_json --json\n\n# Step 3: Test safely\ncli-anything-macrocli --dry-run macro run transform_json \\\n    --param file=\u002Ftmp\u002Fconfig.json \\\n    --param key=theme \\\n    --param value=dark --json\n\n# Step 4: Execute for real\ncli-anything-macrocli macro run transform_json \\\n    --param file=\u002Ftmp\u002Fconfig.json \\\n    --param key=theme \\\n    --param value=dark --json\n```\n\n## Version\n\n1.0.0\n","# MacroCLI CLI\n\n## What It Is\n\nThe MacroCLI converts valuable GUI workflows into parameterized,\nCLI-callable macros. Agents **never touch the GUI directly** — they call macros\nthrough this stable CLI, and the runtime routes execution to the best available\nbackend (native plugin\u002FAPI, file transformation, semantic UI control, or\nprecompiled GUI macro replay).\n\n## Installation\n\n```bash\ncd macrocli\u002Fagent-harness\npip install -e .\n```\n\n**Requirements:** Python 3.10+, PyYAML, click, prompt-toolkit.\n\n## Quick Start (for agents)\n\n```bash\n# 1. See what macros are available\ncli-anything-macrocli macro list --json\n\n# 2. Inspect a macro's parameters\ncli-anything-macrocli macro info export_file --json\n\n# 3. Dry-run to check params without side effects\ncli-anything-macrocli --dry-run macro run export_file \\\n    --param output=\u002Ftmp\u002Ftest.txt --json\n\n# 4. Execute a macro\ncli-anything-macrocli macro run export_file \\\n    --param output=\u002Ftmp\u002Fresult.txt --json\n\n# 5. See what backends are available\ncli-anything-macrocli backends --json\n```\n\n## Command Reference\n\n### Global Flags\n\n| Flag | Description |\n|------|-------------|\n| `--json` | Machine-readable JSON output on stdout |\n| `--dry-run` | Simulate all steps, skip side effects |\n| `--session-id \u003Cid>` | Resume or create a named session |\n\n### `macro` group\n\n| Command | Description |\n|---------|-------------|\n| `macro list` | List all available macros |\n| `macro info \u003Cname>` | Show macro schema (parameters, steps, conditions) |\n| `macro run \u003Cname> --param k=v` | Execute a macro |\n| `macro dry-run \u003Cname> --param k=v` | Simulate without side effects |\n| `macro validate [name]` | Structural validation |\n| `macro define \u003Cname>` | Scaffold a new macro YAML |\n\n### `session` group\n\n| Command | Description |\n|---------|-------------|\n| `session status` | Show session statistics |\n| `session history` | Show recent run history |\n| `session save` | Persist session to disk |\n| `session list` | List all saved sessions |\n\n### `backends`\n\n```bash\ncli-anything-macrocli backends --json\n# Shows: native_api, file_transform, semantic_ui, gui_macro, recovery\n# and whether each is available in the current environment.\n```\n\n## Macro Parameters\n\nPass parameters with `--param key=value`. Repeat for multiple:\n\n```bash\ncli-anything-macrocli macro run transform_json \\\n    --param file=\u002Fpath\u002Fto\u002Fdata.json \\\n    --param key=settings.theme \\\n    --param value=dark \\\n    --json\n```\n\n## Output Format (--json)\n\nAll commands output JSON when `--json` is set:\n\n```json\n{\n  \"success\": true,\n  \"macro_name\": \"export_file\",\n  \"output\": {\n    \"exported_file\": \"\u002Ftmp\u002Fresult.txt\"\n  },\n  \"error\": \"\",\n  \"telemetry\": {\n    \"duration_ms\": 312,\n    \"steps_total\": 2,\n    \"steps_run\": 2,\n    \"backends_used\": [\"native_api\"],\n    \"dry_run\": false\n  }\n}\n```\n\nOn failure (`\"success\": false`), read the `\"error\"` field for the reason.\nExit code is 1 on failure.\n\n## Execution Backends\n\nBackends are selected automatically based on the macro step definition:\n\n| Backend | Triggered by | Use case |\n|---------|-------------|----------|\n| `native_api` | `backend: native_api` | Subprocess \u002F shell command |\n| `file_transform` | `backend: file_transform` | XML, JSON, text file editing |\n| `semantic_ui` | `backend: semantic_ui` | Accessibility \u002F keyboard shortcuts |\n| `gui_macro` | `backend: gui_macro` | Precompiled coordinate replay |\n| `recovery` | `backend: recovery` | Retry \u002F fallback orchestration |\n\n## Writing Macros\n\nMacros are YAML files in `cli_anything\u002Fmacrocli\u002Fmacro_definitions\u002F`.\nScaffold one with:\n\n```bash\ncli-anything-macrocli macro define my_macro --output \\\n    cli_anything\u002Fmacrocli\u002Fmacro_definitions\u002Fexamples\u002Fmy_macro.yaml\n```\n\nMinimal schema:\n\n```yaml\nname: my_macro\nversion: \"1.0\"\ndescription: What this macro does.\n\nparameters:\n  output:\n    type: string\n    required: true\n    description: Where to write results.\n    example: \u002Ftmp\u002Fresult.txt\n\npreconditions:\n  - file_exists: \u002Fpath\u002Fto\u002Finput\n\nsteps:\n  - id: step1\n    backend: native_api\n    action: run_command\n    params:\n      command: [my-app, --export, \"${output}\"]\n    timeout_ms: 30000\n    on_failure: fail  # or: skip, continue\n\npostconditions:\n  - file_exists: ${output}\n  - file_size_gt: [${output}, 100]\n\noutputs:\n  - name: result_file\n    path: ${output}\n\nagent_hints:\n  danger_level: safe  # safe | moderate | dangerous\n  side_effects: [creates_file]\n  reversible: true\n```\n\n## Agent Usage Rules\n\n1. **Always use `--json`** for programmatic output.\n2. **Use `--dry-run` to validate params** before executing side-effectful macros.\n3. **Check `success` field** — do not assume success from exit code alone.\n4. **Read `error` field** when `success` is false — it explains what failed.\n5. **Use `macro info \u003Cname>` to discover params** before calling `macro run`.\n6. **Use absolute paths** for all file parameters.\n\n## Example Workflow\n\n```bash\n# Step 1: What's available?\ncli-anything-macrocli macro list --json\n\n# Step 2: What params does transform_json need?\ncli-anything-macrocli macro info transform_json --json\n\n# Step 3: Test safely\ncli-anything-macrocli --dry-run macro run transform_json \\\n    --param file=\u002Ftmp\u002Fconfig.json \\\n    --param key=theme \\\n    --param value=dark --json\n\n# Step 4: Execute for real\ncli-anything-macrocli macro run transform_json \\\n    --param file=\u002Ftmp\u002Fconfig.json \\\n    --param key=theme \\\n    --param value=dark --json\n```\n\n## Version\n\n1.0.0\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fcli-anything-macrocli",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill cli-anything-macrocli",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill cli-anything-macrocli",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill cli-anything-macrocli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fcli-anything-macrocli\u002FSKILL.md",true,[],[47,54,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]