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/pledgeandgrow/pledge-skills/powershellnpx skills add pledgeandgrow/pledge-skills --skill powershellgit clone --depth 1 https://github.com/pledgeandgrow/pledge-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/pledgeandgrow/pledge-skills/powershell)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/powershell"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/powershell.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.00039 | $0.06049 |
| Opus 5 | $0.00019 | $0.03024 |
| Sonnet 5 | $0.00008 | $0.01210 |
| Haiku 4.5 | $0.00004 | $0.00605 |
Grade A, and why
powershell-docs scanned grade A with 0 findings 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 6d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PowerShell Skill
PowerShell — Task-based command-line shell and scripting language for system administration. Version: PowerShell 7.6 (latest) + Windows PowerShell 5.1 | Docs: learn.microsoft.com/powershell
Quick Reference
| Topic | File | Sections |
|---|---|---|
| Getting Started | getting-started.md |
What is PowerShell, installation, versions, execution policy, console/ISE/VS Code, Get-Help, $PSVersionTable |
| Language | language.md |
Variables, arrays, hashtables, strings, operators, control flow, functions, classes, error handling, about_ topics, scope |
| Cmdlets & Modules | cmdlets-modules.md |
Core modules, cmdlet reference, pipeline, providers, PSDrives, PSResourceGet, PowerShell Gallery, utility modules |
| Remoting & Security | remoting-security.md |
WinRM/SSH remoting, sessions, CIM/WMI, JEA, execution policies, SecureString, DSC, security features |
Core Concepts
- Cmdlet: Compiled .NET command following Verb-Noun naming (e.g.,
Get-Process,Set-Item) - Module: Package containing cmdlets, providers, functions, aliases (e.g.,
Microsoft.PowerShell.Management) - Pipeline: Object-based pipeline passing .NET objects between commands
- Provider: Access data stores like filesystem, registry, certificate store as drives (PSDrive)
- PSDrive: Virtual drive mapped to a provider path (e.g.,
HKLM:\,Cert:\,Env:\) - Runspace: Operating environment for PowerShell commands
- Session (PSSession): Persistent remote PowerShell connection
- DSC: Desired State Configuration for declarative infrastructure management
- Execution Policy: Controls script execution (Restricted, RemoteSigned, Unrestricted, AllSigned, Bypass)
PowerShell Versions
| Version | Runtime | Status |
|---|---|---|
| PowerShell 7.6 | .NET 9 | Current (cross-platform) |
| PowerShell 7.4/7.5 | .NET 8 | Supported (LTS) |
| Windows PowerShell 5.1 | .NET Framework 4.x | Built into Windows (maintenance only) |
| PowerShell 6.x | .NET Core 2.x | End of life |
What ships with it
4 files 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.
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.
- 6d ago First seen · 309 lines · 39 tokens per session scan A 6ab0dd67f856
powershell-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 6,049 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
shell-scripting
Skill "shell-scripting" from chaterm/terminal-skills, covering shell 脚本编写, 概述, 基础语法, 脚本结构 and 脚本描述.
powershell-expert
Develop PowerShell scripts, tools, modules, and GUIs following Microsoft best practices. Use when writing PowerShell code, creating Windows Forms/WPF interfaces, working with PowerShell Gallery modules, or needing cmdlet/module recommendations. Covers script development, parameter design, pipeline handling, error…
robotgo-flow
Use when building YAML-driven Windows RPA workflows in Go — step-by-step desktop automation with image template matching, interactive recording mode, hotkey triggers. RobotGo-Flow: YAML-based Windows RPA framework built on RobotGo.
Binary Ninja Scripting
Write and execute Binary Ninja Python scripts — full API reference included.
shell-scripting
Use this skill when writing bash or zsh scripts, parsing arguments, handling errors, or automating CLI workflows. Triggers on bash scripting, shell scripts, argument parsing, process substitution, here documents, signal trapping, exit codes, and any task requiring portable shell script development.
analyzing-windows-prefetch-with-python
Use when parse Windows Prefetch files using the windowsprefetch Python library to reconstruct application execution history, detect renamed or masquerading binaries, and identify suspicious program execution patterns. Use when working with analyzing windows prefetch with python.