{
  "schemaVersion": "1.0",
  "item": {
    "slug": "create-cli",
    "name": "Create Cli",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/steipete/create-cli",
    "canonicalUrl": "https://clawhub.ai/steipete/create-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/create-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=create-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/cli-guidelines.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "create-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T04:26:29.683Z",
      "expiresAt": "2026-05-09T04:26:29.683Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=create-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=create-cli",
        "contentDisposition": "attachment; filename=\"create-cli-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "create-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/create-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/create-cli",
    "agentPageUrl": "https://openagent3.xyz/skills/create-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/create-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/create-cli/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Create CLI",
        "body": "Design CLI surface area (syntax + behavior), human-first, script-friendly."
      },
      {
        "title": "Do This First",
        "body": "Read agent-scripts/skills/create-cli/references/cli-guidelines.md and apply it as the default rubric.\nUpstream/full guidelines: https://clig.dev/ (propose changes: https://github.com/cli-guidelines/cli-guidelines)\nAsk only the minimum clarifying questions needed to lock the interface."
      },
      {
        "title": "Clarify (fast)",
        "body": "Ask, then proceed with best-guess defaults if user is unsure:\n\nCommand name + one-sentence purpose.\nPrimary user: humans, scripts, or both.\nInput sources: args vs stdin; files vs URLs; secrets (never via flags).\nOutput contract: human text, --json, --plain, exit codes.\nInteractivity: prompts allowed? need --no-input? confirmations for destructive ops?\nConfig model: flags/env/config-file; precedence; XDG vs repo-local.\nPlatform/runtime constraints: macOS/Linux/Windows; single binary vs runtime."
      },
      {
        "title": "Deliverables (what to output)",
        "body": "When designing a CLI, produce a compact spec the user can implement:\n\nCommand tree + USAGE synopsis.\nArgs/flags table (types, defaults, required/optional, examples).\nSubcommand semantics (what each does; idempotence; state changes).\nOutput rules: stdout vs stderr; TTY detection; --json/--plain; --quiet/--verbose.\nError + exit code map (top failure modes).\nSafety rules: --dry-run, confirmations, --force, --no-input.\nConfig/env rules + precedence (flags > env > project config > user config > system).\nShell completion story (if relevant): install/discoverability; generation command or bundled scripts.\n5–10 example invocations (common flows; include piped/stdin examples)."
      },
      {
        "title": "Default Conventions (unless user says otherwise)",
        "body": "-h/--help always shows help and ignores other args.\n--version prints version to stdout.\nPrimary data to stdout; diagnostics/errors to stderr.\nAdd --json for machine output; consider --plain for stable line-based text.\nPrompts only when stdin is a TTY; --no-input disables prompts.\nDestructive operations: interactive confirmation + non-interactive requires --force or explicit --confirm=....\nRespect NO_COLOR, TERM=dumb; provide --no-color.\nHandle Ctrl-C: exit fast; bounded cleanup; be crash-only when possible."
      },
      {
        "title": "CLI spec skeleton",
        "body": "Fill these sections, drop anything irrelevant:\n\nName: mycmd\nOne-liner: ...\nUSAGE:\n\nmycmd [global flags] <subcommand> [args]\n\n\nSubcommands:\n\nmycmd init ...\nmycmd run ...\n\n\nGlobal flags:\n\n-h, --help\n--version\n-q, --quiet / -v, --verbose (define exactly)\n--json / --plain (if applicable)\n\n\nI/O contract:\n\nstdout:\nstderr:\n\n\nExit codes:\n\n0 success\n1 generic failure\n2 invalid usage (parse/validation)\n(add command-specific codes only when actually useful)\n\n\nEnv/config:\n\nenv vars:\nconfig file path + precedence:\n\n\nExamples:\n\n…"
      },
      {
        "title": "Notes",
        "body": "Prefer recommending a parsing library (language-specific) only when asked; otherwise keep this skill language-agnostic.\nIf the request is “design parameters”, do not drift into implementation."
      }
    ],
    "body": "Create CLI\n\nDesign CLI surface area (syntax + behavior), human-first, script-friendly.\n\nDo This First\nRead agent-scripts/skills/create-cli/references/cli-guidelines.md and apply it as the default rubric.\nUpstream/full guidelines: https://clig.dev/ (propose changes: https://github.com/cli-guidelines/cli-guidelines)\nAsk only the minimum clarifying questions needed to lock the interface.\nClarify (fast)\n\nAsk, then proceed with best-guess defaults if user is unsure:\n\nCommand name + one-sentence purpose.\nPrimary user: humans, scripts, or both.\nInput sources: args vs stdin; files vs URLs; secrets (never via flags).\nOutput contract: human text, --json, --plain, exit codes.\nInteractivity: prompts allowed? need --no-input? confirmations for destructive ops?\nConfig model: flags/env/config-file; precedence; XDG vs repo-local.\nPlatform/runtime constraints: macOS/Linux/Windows; single binary vs runtime.\nDeliverables (what to output)\n\nWhen designing a CLI, produce a compact spec the user can implement:\n\nCommand tree + USAGE synopsis.\nArgs/flags table (types, defaults, required/optional, examples).\nSubcommand semantics (what each does; idempotence; state changes).\nOutput rules: stdout vs stderr; TTY detection; --json/--plain; --quiet/--verbose.\nError + exit code map (top failure modes).\nSafety rules: --dry-run, confirmations, --force, --no-input.\nConfig/env rules + precedence (flags > env > project config > user config > system).\nShell completion story (if relevant): install/discoverability; generation command or bundled scripts.\n5–10 example invocations (common flows; include piped/stdin examples).\nDefault Conventions (unless user says otherwise)\n-h/--help always shows help and ignores other args.\n--version prints version to stdout.\nPrimary data to stdout; diagnostics/errors to stderr.\nAdd --json for machine output; consider --plain for stable line-based text.\nPrompts only when stdin is a TTY; --no-input disables prompts.\nDestructive operations: interactive confirmation + non-interactive requires --force or explicit --confirm=....\nRespect NO_COLOR, TERM=dumb; provide --no-color.\nHandle Ctrl-C: exit fast; bounded cleanup; be crash-only when possible.\nTemplates (copy into your answer)\nCLI spec skeleton\n\nFill these sections, drop anything irrelevant:\n\nName: mycmd\nOne-liner: ...\nUSAGE:\nmycmd [global flags] <subcommand> [args]\nSubcommands:\nmycmd init ...\nmycmd run ...\nGlobal flags:\n-h, --help\n--version\n-q, --quiet / -v, --verbose (define exactly)\n--json / --plain (if applicable)\nI/O contract:\nstdout:\nstderr:\nExit codes:\n0 success\n1 generic failure\n2 invalid usage (parse/validation)\n(add command-specific codes only when actually useful)\nEnv/config:\nenv vars:\nconfig file path + precedence:\nExamples:\n…\nNotes\nPrefer recommending a parsing library (language-specific) only when asked; otherwise keep this skill language-agnostic.\nIf the request is “design parameters”, do not drift into implementation."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/steipete/create-cli",
    "publisherUrl": "https://clawhub.ai/steipete/create-cli",
    "owner": "steipete",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/create-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/create-cli",
    "agentUrl": "https://openagent3.xyz/skills/create-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/create-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/create-cli/agent.md"
  }
}