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, a copy of powershell-windows, 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.

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.

agentmods
npx agentmods add skills/desko77/claude-code-skills-1c/powershell-windows
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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.00836
Opus 5 $0.00015 $0.00418
Sonnet 5 $0.00006 $0.00167
Haiku 4.5 $0.00003 $0.00084

Measured 2d ago against content hash df795454212b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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

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. 2d 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 (55 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 836 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

powershell-windows

PowerShell scripting rules for Windows environment. Use when running shell commands, Docker operations, or HTTP requests on Windows PowerShell.

Desko77/cursor-1c-skills · 30 tokens

humanize-ai-text

Применять при переписывании текстов, сгенерированных LLM-агентами (отчеты, README, доки, письма, посты), в живой человеческий стиль. Триггеры - пользователь пишет 'убери AI-стиль', 'перепиши по-человечески', 'сделай естественно', 'убери воду', 'не как ChatGPT', 'убери LLM-штампы'; либо на входе текст с явными…

Desko77/cursor-1c-skills · 329 tokens

transcribe

Транскрибирование видео и аудио файлов. Используй когда пользователь просит транскрибировать, расшифровать запись, сделать конспект встречи, извлечь речь из видео или аудио, преобразовать речь в текст. Для аудио (m4a/mp3/wav/ogg/flac/aac/wma) по умолчанию локальный faster-whisper + диаризация с автодетектом числа…

Desko77/cursor-1c-skills · 196 tokens

composing-1c-queries

Rules and patterns for writing correct 1C:Enterprise query language (язык запросов 1С). Queries are executed via the executequery tool/endpoint.

Desko77/cursor-1c-skills · 9 tokens

1c-naparnik

1C:Naparnik (1С:Напарник) MCP server tools - BSL code analysis, review, rewriting, ITS knowledge base, platform documentation search, configuration documentation. Use when checking BSL code quality, searching ITS standards, reading platform docs, comparing versions, or finding configuration-specific documentation.

Desko77/cursor-1c-skills · 68 tokens

1c-web-test

Тестирование 1С через веб-клиент - автоматизация действий в браузере. Используй когда пользователь просит проверить, протестировать, автоматизировать действия в 1С через браузер.

Desko77/cursor-1c-skills · 46 tokens