{
  "schemaVersion": "1.0",
  "item": {
    "slug": "powershell",
    "name": "PowerShell",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/powershell",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/powershell",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/powershell",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=powershell",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/powershell"
    },
    "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/powershell",
    "agentPageUrl": "https://openagent3.xyz/skills/powershell/agent",
    "manifestUrl": "https://openagent3.xyz/skills/powershell/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/powershell/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": "Output Behavior",
        "body": "Everything not captured goes to output — even without return or Write-Output\nreturn doesn't stop output — previous uncaptured expressions still output\nWrite-Host bypasses pipeline — use for display only, not data\nAssign to $null to suppress — $null = SomeFunction\n[void] cast also suppresses — [void](SomeFunction)"
      },
      {
        "title": "Array Gotchas",
        "body": "Single item result is scalar, not array — @(Get-Item .) forces array\nEmpty result is $null, not empty array — check with if ($result) carefully\nArray unrolling in pipeline — @(1,2,3) | ForEach sends items one by one\n+= on array creates new array — slow in loops, use [System.Collections.ArrayList]\n, is array operator — ,$item wraps single item in array"
      },
      {
        "title": "Comparison Operators",
        "body": "-eq, -ne, -gt, -lt — not ==, !=, >, <\n-like with wildcards, -match with regex — both return bool\n-contains for array membership — $arr -contains $item, not $item -in $arr (though -in works too)\nCase-insensitive by default — -ceq, -cmatch for case-sensitive\n$null on left side — $null -eq $var prevents array comparison issues"
      },
      {
        "title": "String Handling",
        "body": "Double quotes interpolate — \"Hello $name\" expands variable\nSingle quotes literal — '$name' stays as literal text\nSubexpression for complex — \"Count: $($arr.Count)\" for properties/methods\nHere-strings for multiline — @\" ... \"@ or @' ... '@\nBacktick escapes — `n for newline, `t for tab"
      },
      {
        "title": "Pipeline",
        "body": "$_ or $PSItem is current object — same thing, $_ more common\nForEach-Object for pipeline — foreach statement doesn't take pipeline\n-PipelineVariable saves intermediate — Get-Service -PV svc | Where ...\nPipeline processes one at a time — unless function doesn't support streaming"
      },
      {
        "title": "Error Handling",
        "body": "$ErrorActionPreference sets default — Stop, Continue, SilentlyContinue\n-ErrorAction Stop per command — makes non-terminating errors terminating\ntry/catch only catches terminating — set ErrorAction Stop first\n$? is last command success — $LASTEXITCODE for native commands"
      },
      {
        "title": "Common Mistakes",
        "body": "No space before { in if — if($x){ works but if ($x) { preferred\n= is assignment in conditions — use -eq for comparison\nFunction return array unrolls — return ,@($arr) to keep array\nGet-Content returns lines array — -Raw for single string\nSelect-Object creates new object — properties are copies, not references"
      },
      {
        "title": "Cross-Platform",
        "body": "pwsh is PowerShell 7+ — powershell is Windows PowerShell 5.1\nPaths use / or \\ — Join-Path for portable\nEnvironment vars: $env:VAR — works on all platforms\nAliases differ across platforms — ls, cat may not exist, use full cmdlet names"
      }
    ],
    "body": "Output Behavior\nEverything not captured goes to output — even without return or Write-Output\nreturn doesn't stop output — previous uncaptured expressions still output\nWrite-Host bypasses pipeline — use for display only, not data\nAssign to $null to suppress — $null = SomeFunction\n[void] cast also suppresses — [void](SomeFunction)\nArray Gotchas\nSingle item result is scalar, not array — @(Get-Item .) forces array\nEmpty result is $null, not empty array — check with if ($result) carefully\nArray unrolling in pipeline — @(1,2,3) | ForEach sends items one by one\n+= on array creates new array — slow in loops, use [System.Collections.ArrayList]\n, is array operator — ,$item wraps single item in array\nComparison Operators\n-eq, -ne, -gt, -lt — not ==, !=, >, <\n-like with wildcards, -match with regex — both return bool\n-contains for array membership — $arr -contains $item, not $item -in $arr (though -in works too)\nCase-insensitive by default — -ceq, -cmatch for case-sensitive\n$null on left side — $null -eq $var prevents array comparison issues\nString Handling\nDouble quotes interpolate — \"Hello $name\" expands variable\nSingle quotes literal — '$name' stays as literal text\nSubexpression for complex — \"Count: $($arr.Count)\" for properties/methods\nHere-strings for multiline — @\" ... \"@ or @' ... '@\nBacktick escapes — `n for newline, `t for tab\nPipeline\n$_ or $PSItem is current object — same thing, $_ more common\nForEach-Object for pipeline — foreach statement doesn't take pipeline\n-PipelineVariable saves intermediate — Get-Service -PV svc | Where ...\nPipeline processes one at a time — unless function doesn't support streaming\nError Handling\n$ErrorActionPreference sets default — Stop, Continue, SilentlyContinue\n-ErrorAction Stop per command — makes non-terminating errors terminating\ntry/catch only catches terminating — set ErrorAction Stop first\n$? is last command success — $LASTEXITCODE for native commands\nCommon Mistakes\nNo space before { in if — if($x){ works but if ($x) { preferred\n= is assignment in conditions — use -eq for comparison\nFunction return array unrolls — return ,@($arr) to keep array\nGet-Content returns lines array — -Raw for single string\nSelect-Object creates new object — properties are copies, not references\nCross-Platform\npwsh is PowerShell 7+ — powershell is Windows PowerShell 5.1\nPaths use / or \\ — Join-Path for portable\nEnvironment vars: $env:VAR — works on all platforms\nAliases differ across platforms — ls, cat may not exist, use full cmdlet names"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/powershell",
    "publisherUrl": "https://clawhub.ai/ivangdavila/powershell",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/powershell",
    "downloadUrl": "https://openagent3.xyz/downloads/powershell",
    "agentUrl": "https://openagent3.xyz/skills/powershell/agent",
    "manifestUrl": "https://openagent3.xyz/skills/powershell/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/powershell/agent.md"
  }
}