powershell-windows

powershell-windows is a skill for Claude Code, Codex from Desko77/claude-code-skills-1c. It costs 30 tokens per session (836 once invoked), scanned A, original, MIT.

A set of PowerShell rules for running commands on Windows, including file paths, Docker, web requests, delays, and JSON.

In plain words
What is it for?
It helps coding agents run shell commands, manage Docker services, call local web endpoints, wait between steps, and inspect processes on Windows.
Why use it?
It prevents common mistakes caused by using Bash commands or syntax in PowerShell.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps coding agents run shell commands, manage Docker services, call local web endpoints, wait between steps, and inspect processes on Windows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desko77/claude-code-skills-1c/powershell-windows
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Desko77/claude-code-skills-1c --skill powershell-windows
Clone the repo
git clone --depth 1 https://github.com/Desko77/claude-code-skills-1c

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for powershell-windows

README.md
[![agentmods](https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/powershell-windows/github.svg)](https://agentmods.dev/skills/desko77/claude-code-skills-1c/powershell-windows)
Your own site
<a href="https://agentmods.dev/skills/desko77/claude-code-skills-1c/powershell-windows"><img src="https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/powershell-windows/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for powershell-windows

Your own site · 80×15
<a href="https://agentmods.dev/skills/desko77/claude-code-skills-1c/powershell-windows"><img src="https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/powershell-windows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00836
Opus 5.5 $0.00012 $0.00334
Sonnet 5.5 $0.00006 $0.00167
Haiku 4.5 $0.00003 $0.00084

Measured 2mo ago against content hash df795454212b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

powershell-windows scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Wrong**: `curl -s http://localhost:9090/status`
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/powershell-windows/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PowerShell Windows - Scripting Rules

Essential rules for correct PowerShell usage on Windows. Follow these rules to avoid common errors when executing shell commands.

Core Principles

1. Command Separation

  • Wrong: cd "path" && command (bash syntax)
  • Correct: cd "path"; command (PowerShell syntax)

2. Path Quoting

  • Always use double quotes for paths with spaces:
    cd "D:\My Projects\MyApp"
    

3. Script Execution

  • For .bat/.cmd files:
    ./gradlew clean build
    .\gradlew.bat clean build
    

4. Docker Commands

  • Specify full path to docker-compose files:
    docker-compose -f "D:\My Projects\app\docker-compose.yml" up -d
    

5. HTTP Requests

  • Wrong: curl -s http://localhost:9090/status
  • Correct:
    Invoke-WebRequest -Uri "http://localhost:9090/status" -UseBasicParsing
    

6. Waiting/Delays

  • Wrong: timeout 10
  • Correct:
    Start-Sleep -Seconds 10
    

7. JSON Handling

  • JSON parsing:
    $response = Invoke-WebRequest -Uri "http://localhost:9090/status" -UseBasicParsing
    $json = $response.Content | ConvertFrom-Json
    $json | ConvertTo-Json -Depth 3
    

8. Process Checking

  • Process search:
    Get-Process -Name "java" -ErrorAction SilentlyContinue
    

9. Docker Operations

  • Stop containers:
    docker-compose -f "path\to\file.yml" down
    
  • Build images:
    docker-compose -f "path\to\file.yml" build --no-cache
    

10. Error Handling

  • Ignore errors:
    Get-Process -Name "java" -ErrorAction SilentlyContinue
    

Common Errors and Fixes

Error Cause Fix
&& is not recognized Using bash syntax Replace && with ;
curl not found curl not installed on Windows Use Invoke-WebRequest
timeout not found timeout not supported Use Start-Sleep
Path not found Missing quotes on spaced path Wrap path in double quotes

Read the full file on GitHub · 109 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 109 lines · 30 tokens per session scan A df795454212b

Subscribe to this mod's changes

powershell-windows is a skill published in the GitHub repository Desko77/claude-code-skills-1c (92 stars, last pushed 7d ago), licensed MIT. It adds 30 tokens to every session and 836 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

powershell-windows compared with skills from other repositories

powershell-windows next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
powershell-windowsDesko77/claude-code-skills-1cSkill927d agoMITA30Claude Code, Codex
powershell-windowsDesko77/cursor-1c-skillsSkill757d agoMITA30Claude Code, Codex
1c-bsp-registrationDesko77/cursor-1c-skillsSkill757d agoMITA27Claude Code, Codex
claude-md-bootstrapDesko77/cursor-1c-skillsSkill757d agoMITA6Claude Code, Codex
1c-cfe-patch-methodDesko77/cursor-1c-skillsSkill757d agoMITA61Claude Code, Codex
v8unpack-cfDesko77/cursor-1c-skillsSkill757d agoMITA63Claude Code, Codex
1c-form-validateDesko77/cursor-1c-skillsSkill757d agoMITA46Claude Code, Codex