[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M780GDHH67J1BFKWTYKMH609":3,"skill-same:01M780GDHH67J1BFKWTYKMH609":82},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M780GDHH67J1BFKWTYKMH609","cursor-cli-for-agents",null,"Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples, stdin\u002Fpipelines, fast actionable errors, idempotency, dry-run, and predictable structure. Use when building a CLI, adding commands, writing --help, or when the user mentions agents, terminals, or automation-friendly CLIs.","TheAngryPit\u002FTheAngrySkills","TheAngryPit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7040636?v=4","01M7803EENA9ATXJ46S9268QJX","Vitor Cepeda Lopes","01M7803EF9FMF4G4420XE4DV7Y",0,"MIT","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002FLICENSE.upstream","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cursor-cli-for-agents\ndescription: \"Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples, stdin\u002Fpipelines, fast actionable errors, idempotency, dry-run, and predictable structure. Use when building a CLI, adding commands, writing --help, or when the user mentions agents, terminals, or automation-friendly CLIs.\"\n---\n\n## Runtime selection\n\nBefore runtime-dependent work, read [execution selection](references\u002Fruntime\u002Fselection.md). In a verified T3 host follow [the T3 contract](references\u002Fruntime\u002Ft3.md) and its method reference; the inline section below is the native Codex branch, not literal T3 dispatch. Outside T3, native Codex follows that inline branch unchanged. If the host is ambiguous or a required capability is unavailable, report the gap; a permission refusal never authorizes switching branches.\n\n## Native Codex branch\n\n# CLI for agents\n\nHuman-oriented CLIs often block agents: interactive prompts, huge upfront docs, and help text without copy-pasteable examples. Prefer patterns that work headlessly and compose in pipelines.\n\n## Non-interactive first\n\n- Every input should be expressible as a flag or flag value. Do not require arrow keys, menus, or timed prompts.\n- If flags are missing, **then** fall back to interactive mode—not the other way around.\n\n**Bad:** `mycli deploy` → `? Which environment? (use arrow keys)`  \n**Good:** `mycli deploy --env staging`\n\n## Discoverability without dumping context\n\n- Agents discover subcommands incrementally: `mycli`, then `mycli deploy --help`. Do not print the entire manual on every run.\n- Let each subcommand own its documentation so unused commands stay out of context.\n\n## `--help` that works\n\n- Every subcommand has `--help`.\n- Every `--help` includes **Examples** with real invocations. Examples do more than prose for pattern-matching.\n\n```text\nOptions:\n  --env     Target environment (staging, production)\n  --tag     Image tag (default: latest)\n  --force   Skip confirmation\n\nExamples:\n  mycli deploy --env staging\n  mycli deploy --env production --tag v1.2.3\n  mycli deploy --env staging --force\n```\n\n## stdin, flags, and pipelines\n\n- Accept stdin where it makes sense (e.g. `cat config.json | mycli config import --stdin`).\n- Avoid odd positional ordering and avoid falling back to interactive prompts for missing values.\n- Support chaining: `mycli deploy --env staging --tag $(mycli build --output tag-only)`.\n\n## Fail fast with actionable errors\n\n- On missing required flags: exit immediately with a clear message and a **correct example invocation**, not a hang.\n\n```text\nError: No image tag specified.\n  mycli deploy --env staging --tag \u003Cimage-tag>\n  Available tags: mycli build list --output tags\n```\n\n## Idempotency\n\n- Agents retry often. The same successful command run twice should be safe (no-op or explicit \"already done\"), not duplicate side effects.\n\n## Destructive actions\n\n- Add `--dry-run` (or equivalent) so agents can preview plans before committing.\n- Offer `--yes` \u002F `--force` to skip confirmations while keeping the safe default for humans.\n\n## Predictable structure\n\n- Use a consistent pattern everywhere, e.g. `resource` + `verb`: if `mycli service list` exists, `mycli deploy list` and `mycli config list` should follow the same shape.\n\n## Success output\n\n- On success, return machine-useful data: IDs, URLs, durations. Plain text is fine; avoid relying on decorative output alone.\n\n```text\ndeployed v1.2.3 to staging\nurl: https:\u002F\u002Fstaging.myapp.com\ndeploy_id: dep_abc123\nduration: 34s\n```\n\n## When reviewing an existing CLI\n\n- Check: non-interactive path, layered help, examples on `--help`, stdin\u002Fpipeline story, error messages with invocations, idempotency, dry-run, confirmation bypass flags, consistent command structure, structured success output.\n","## Runtime selection\n\nBefore runtime-dependent work, read [execution selection](references\u002Fruntime\u002Fselection.md). In a verified T3 host follow [the T3 contract](references\u002Fruntime\u002Ft3.md) and its method reference; the inline section below is the native Codex branch, not literal T3 dispatch. Outside T3, native Codex follows that inline branch unchanged. If the host is ambiguous or a required capability is unavailable, report the gap; a permission refusal never authorizes switching branches.\n\n## Native Codex branch\n\n# CLI for agents\n\nHuman-oriented CLIs often block agents: interactive prompts, huge upfront docs, and help text without copy-pasteable examples. Prefer patterns that work headlessly and compose in pipelines.\n\n## Non-interactive first\n\n- Every input should be expressible as a flag or flag value. Do not require arrow keys, menus, or timed prompts.\n- If flags are missing, **then** fall back to interactive mode—not the other way around.\n\n**Bad:** `mycli deploy` → `? Which environment? (use arrow keys)`  \n**Good:** `mycli deploy --env staging`\n\n## Discoverability without dumping context\n\n- Agents discover subcommands incrementally: `mycli`, then `mycli deploy --help`. Do not print the entire manual on every run.\n- Let each subcommand own its documentation so unused commands stay out of context.\n\n## `--help` that works\n\n- Every subcommand has `--help`.\n- Every `--help` includes **Examples** with real invocations. Examples do more than prose for pattern-matching.\n\n```text\nOptions:\n  --env     Target environment (staging, production)\n  --tag     Image tag (default: latest)\n  --force   Skip confirmation\n\nExamples:\n  mycli deploy --env staging\n  mycli deploy --env production --tag v1.2.3\n  mycli deploy --env staging --force\n```\n\n## stdin, flags, and pipelines\n\n- Accept stdin where it makes sense (e.g. `cat config.json | mycli config import --stdin`).\n- Avoid odd positional ordering and avoid falling back to interactive prompts for missing values.\n- Support chaining: `mycli deploy --env staging --tag $(mycli build --output tag-only)`.\n\n## Fail fast with actionable errors\n\n- On missing required flags: exit immediately with a clear message and a **correct example invocation**, not a hang.\n\n```text\nError: No image tag specified.\n  mycli deploy --env staging --tag \u003Cimage-tag>\n  Available tags: mycli build list --output tags\n```\n\n## Idempotency\n\n- Agents retry often. The same successful command run twice should be safe (no-op or explicit \"already done\"), not duplicate side effects.\n\n## Destructive actions\n\n- Add `--dry-run` (or equivalent) so agents can preview plans before committing.\n- Offer `--yes` \u002F `--force` to skip confirmations while keeping the safe default for humans.\n\n## Predictable structure\n\n- Use a consistent pattern everywhere, e.g. `resource` + `verb`: if `mycli service list` exists, `mycli deploy list` and `mycli config list` should follow the same shape.\n\n## Success output\n\n- On success, return machine-useful data: IDs, URLs, durations. Plain text is fine; avoid relying on decorative output alone.\n\n```text\ndeployed v1.2.3 to staging\nurl: https:\u002F\u002Fstaging.myapp.com\ndeploy_id: dep_abc123\nduration: 34s\n```\n\n## When reviewing an existing CLI\n\n- Check: non-interactive path, layered help, examples on `--help`, stdin\u002Fpipeline story, error messages with invocations, idempotency, dry-run, confirmation bypass flags, consistent command structure, structured success output.\n",{"name":5,"description":7},"main","f31e1d2df163b90a48e30d0a3df67285f6641418","skills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents",1,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills","https:\u002F\u002Fgithub.com\u002FTheAngryPit","www.vitorcepedalopes.com","Creative Director | Executive Producer | Storyteller | Narrative Worlds & Creative Production Systems\r\nFounder @TheHive-Mind ","2026-11-14 21:48:38",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add TheAngryPit\u002FTheAngrySkills --skill cursor-cli-for-agents",{"tool":40,"command":41},"bunx","bunx skills add TheAngryPit\u002FTheAngrySkills --skill cursor-cli-for-agents",{"tool":43,"command":44},"pnpm","pnpm dlx skills add TheAngryPit\u002FTheAngrySkills --skill cursor-cli-for-agents","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002FSKILL.md",true,[48,53,59,63,66,70,74,78],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":16},"LICENSE.upstream","LICENSE","许可证",1063,{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"MIRROR.md","REFERENCE","参考文档",841,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002FMIRROR.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fruntime\u002Fmethod.md",3664,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002Freferences\u002Fruntime\u002Fmethod.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":65},"references\u002Fruntime\u002Fnative-codex.md","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002Freferences\u002Fruntime\u002Fnative-codex.md",{"path":67,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fruntime\u002Foriginal-codex.txt",3310,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002Freferences\u002Fruntime\u002Foriginal-codex.txt",{"path":71,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fruntime\u002Fruntime-files.json",562,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002Freferences\u002Fruntime\u002Fruntime-files.json",{"path":75,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fruntime\u002Fselection.md",1783,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002Freferences\u002Fruntime\u002Fselection.md",{"path":79,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fruntime\u002Ft3.md",5135,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fskills\u002Fmirrors-cursor\u002Fcursor-cli-for-agents\u002Freferences\u002Fruntime\u002Ft3.md",[83,90,97,104,111,118],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":20},"01M782GJ4CTPNKZN0WXTASXXZ4","X MCP guide","ALWAYS read this before using any X tool (the X plugin, any X MCP, or Grok Bot's built-in public X reads) and again on any X error. X tools are included in Grok Bot at no cost: never estimate costs, check credits, or tell the user to buy credits. tools=0 \u002F user-X-* not found is a setup failure, not a paywall. Covers Spaces, communities, and Lists (reads and list writes), X Chat (XChat, inbox, DMs, unread, message requests, Chat PIN, juicebox, xchat_lite: clone xchat-grokbot-helper yourself and decrypt locally), scheduled X calls (schedule_call, list_scheduled_calls and the other call tools), and livestreams (stream sources, broadcasts, scheduled broadcasts, broadcast chat, moderators, mutes). Chat, call, livestream, Spaces, or Lists tools missing while other X tools work: reconnect the X plugin.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fx\u002Fskills\u002Fx-api-mcp-guide\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":20},"01M782GBW77901ESC9PD3XAM6V","X Money guide","Read this before the first X Money action in a session and again on any X Money error, refusal, or missing capability. Covers the approval rule for every action that moves money (always ask, every time, no exceptions), how the connection works (connection code plus passkey in the X app), how to guide the user through connect, reconnect, and revoke at x.com\u002Fi\u002Fmoney\u002Fsettings\u002Fconnections, and what each failure message means.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fx-money\u002Fskills\u002Fx-money-guide\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":20},"01M782G7CMYD2JSVT3RX81QRB8","google-slides","Build and edit Google Slides through the google-slides MCP tools - slides, grids of cards and columns, text boxes, shapes, images, tables, styling, layout inspection, and per-slide PNG rendering. Use when creating a deck, laying out slide elements, matching a template, or verifying how a slide looks.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-slides\u002Fskills\u002Fgoogle-slides\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":20},"01M782G4DDAJ4SMGJEF13HTX69","google-sheets","Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-sheets\u002Fskills\u002Fgoogle-sheets\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M782G1F8QNMNKRSY6M3Y0QG6","google-drive","Work with Google Drive through its MCP tools - search, read, create, organize, share, comment, and export files. Use when creating files in specific folders, moving or renaming, converting Markdown\u002FCSV into Docs\u002FSheets, managing comments, or exporting a rendered PDF.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-drive\u002Fskills\u002Fgoogle-drive\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M782FYVJ5XTP2R0B446RRYTX","google-docs","Author and edit Google Docs with the google-docs tools - structured writing, character and paragraph styling, lists, tables, images, headers\u002Ffooters. Use when creating a formatted document, editing document content, or applying styles.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-docs\u002Fskills\u002Fgoogle-docs\u002FSKILL.md",[],[]]