# Send PowerShell to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/powershell",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=powershell",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "powershell",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T08:38:34.270Z",
      "expiresAt": "2026-05-14T08:38:34.270Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=powershell",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=powershell",
        "contentDisposition": "attachment; filename=\"powershell-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "powershell"
      },
      "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/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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Output Behavior

Everything not captured goes to output — even without return or Write-Output
return doesn't stop output — previous uncaptured expressions still output
Write-Host bypasses pipeline — use for display only, not data
Assign to $null to suppress — $null = SomeFunction
[void] cast also suppresses — [void](SomeFunction)

### Array Gotchas

Single item result is scalar, not array — @(Get-Item .) forces array
Empty result is $null, not empty array — check with if ($result) carefully
Array unrolling in pipeline — @(1,2,3) | ForEach sends items one by one
+= on array creates new array — slow in loops, use [System.Collections.ArrayList]
, is array operator — ,$item wraps single item in array

### Comparison Operators

-eq, -ne, -gt, -lt — not ==, !=, >, <
-like with wildcards, -match with regex — both return bool
-contains for array membership — $arr -contains $item, not $item -in $arr (though -in works too)
Case-insensitive by default — -ceq, -cmatch for case-sensitive
$null on left side — $null -eq $var prevents array comparison issues

### String Handling

Double quotes interpolate — "Hello $name" expands variable
Single quotes literal — '$name' stays as literal text
Subexpression for complex — "Count: $($arr.Count)" for properties/methods
Here-strings for multiline — @" ... "@ or @' ... '@
Backtick escapes — \`n for newline, \`t for tab

### Pipeline

$_ or $PSItem is current object — same thing, $_ more common
ForEach-Object for pipeline — foreach statement doesn't take pipeline
-PipelineVariable saves intermediate — Get-Service -PV svc | Where ...
Pipeline processes one at a time — unless function doesn't support streaming

### Error Handling

$ErrorActionPreference sets default — Stop, Continue, SilentlyContinue
-ErrorAction Stop per command — makes non-terminating errors terminating
try/catch only catches terminating — set ErrorAction Stop first
$? is last command success — $LASTEXITCODE for native commands

### Common Mistakes

No space before { in if — if($x){ works but if ($x) { preferred
= is assignment in conditions — use -eq for comparison
Function return array unrolls — return ,@($arr) to keep array
Get-Content returns lines array — -Raw for single string
Select-Object creates new object — properties are copies, not references

### Cross-Platform

pwsh is PowerShell 7+ — powershell is Windows PowerShell 5.1
Paths use / or \\ — Join-Path for portable
Environment vars: $env:VAR — works on all platforms
Aliases differ across platforms — ls, cat may not exist, use full cmdlet names
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T08:38:34.270Z
- Expires at: 2026-05-14T08:38:34.270Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/powershell)
- [Send to Agent page](https://openagent3.xyz/skills/powershell/agent)
- [JSON manifest](https://openagent3.xyz/skills/powershell/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/powershell/agent.md)
- [Download page](https://openagent3.xyz/downloads/powershell)