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.
npx agentmods add skills/desko77/cursor-1c-skills/powershell-windowsnpx skills add Desko77/cursor-1c-skills --skill powershell-windowsgit clone --depth 1 https://github.com/Desko77/cursor-1c-skillsWrote 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.
[](https://agentmods.dev/skills/desko77/cursor-1c-skills/powershell-windows)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.00803 |
| Opus 5 | $0.00015 | $0.00402 |
| Sonnet 5 | $0.00006 | $0.00161 |
| Haiku 4.5 | $0.00003 | $0.00080 |
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` Copies of this mod
1 near-identical copy found in the catalogue:
- powershell-windows — 100% identical, 66 lines differ
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 |
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.
- 2d ago First seen · 109 lines · 30 tokens per session scan A 0e87fd9ee4d6
powershell-windows is a skill published in the GitHub repository Desko77/cursor-1c-skills (55 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 803 once invoked, about $0.0002 per session on Opus 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.
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.
1c-form-compile
Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта. Используй когда нужно создать форму с нуля по описанию элементов или сгенерировать типовую форму.
1c-form-patterns
Справочник паттернов компоновки управляемых форм 1С. Используй как справочник при проектировании форм - архетипы, конвенции, продвинутые приемы.
1c-bsp-registration
Добавить функцию регистрации БСП (СведенияОВнешнейОбработке) в модуль объекта обработки.
docx-from-sample
Создать новый DOCX в оформлении готового образца: взять чужой документ как шаблон стилей и наполнить своими данными, сохранив титул, заголовки с нумерацией, стили таблиц, ширины столбцов, заливку шапок, колонтитулы, книжные и альбомные секции. Используй когда просят сделать документ по образцу, в том же формате, как в…
1c-cfe-patch-method
Перехватчики методов в расширении 1С (CFE). Используй когда нужно перехватить метод заимствованного объекта - код до, после или вместо оригинального - либо свериться с оригиналом после обновления основной конфигурации.