powershell-windows

powershell-windows is a skill for Claude Code, Codex from Desko77/cursor-1c-skills. It costs 30 tokens per session (803 once invoked), scanned A, a copy of powershell-windows, MIT.

A set of PowerShell rules for running commands on Windows. PowerShell is Windows' command-line scripting environment, and these rules cover paths, Docker, HTTP requests, delays, and JSON.

In plain words
What is it for?
Run shell commands, Docker operations, web requests, process checks, and JSON handling correctly in Windows PowerShell.
Why use it?
It prevents common command and syntax errors when an agent operates in a Windows environment.

Skill for Claude CodeCodex

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

Good fit Run shell commands, Docker operations, web requests, process checks, and JSON handling correctly in Windows PowerShell.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desko77/cursor-1c-skills/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/cursor-1c-skills --skill powershell-windows
Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills

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/cursor-1c-skills/powershell-windows/github.svg)](https://agentmods.dev/skills/desko77/cursor-1c-skills/powershell-windows)
Your own site
<a href="https://agentmods.dev/skills/desko77/cursor-1c-skills/powershell-windows"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/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/cursor-1c-skills/powershell-windows"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/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 803 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin 100% copy Near-identical to another mod 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.00803
Opus 5.5 $0.00012 $0.00321
Sonnet 5.5 $0.00006 $0.00161
Haiku 4.5 $0.00003 $0.00080

Measured 2mo ago against content hash 0e87fd9ee4d6, 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

This is a copy

100% identical to powershell-windows — 66 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

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 0e87fd9ee4d6

Subscribe to this mod's changes

powershell-windows is a skill published in the GitHub repository Desko77/cursor-1c-skills (75 stars, last pushed 7d ago), licensed MIT. It adds 30 tokens to every session and 803 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to powershell-windows, differing in 66 lines, and is treated as a copy.

Related

powershell-windows compared with skills from other repositories

powershell-windows next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
powershell-windowsDesko77/cursor-1c-skillsSkill757d agoMITA30Claude Code, Codex
powershell-windowsDesko77/claude-code-skills-1cSkill927d agoMITA30Claude Code, Codex
composing-1c-queriesDesko77/claude-code-skills-1cSkill927d agoMITA174Claude Code, Codex
humanize-ai-textDesko77/claude-code-skills-1cSkill927d agoMITA329Claude Code
transcribeDesko77/claude-code-skills-1cSkill927d agoMITA196Claude Code
1c-web-testDesko77/claude-code-skills-1cSkill927d agoMITA46Claude Code
lmstudio-apiDesko77/claude-code-skills-1cSkill927d agoMITA199Claude Code, Codex