windows-powershell

windows-powershell is a skill for Claude Code from EliasOulkadi/shokunin. It costs 98 tokens per session (2,410 once invoked), scanned A, original, MIT.

A PowerShell 7 toolkit for administering and automating Windows 11 computers.

In plain words
What is it for?
Use it to inspect system health, monitor hardware, clean disks and caches, install development tools, configure PowerShell, and automate scheduled work.
Why use it?
It brings system checks, cleanup, software installation, configuration, and scheduled tasks into repeatable commands.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions OpenCode.

Good fit Use it to inspect system health, monitor hardware, clean disks and caches, install development tools, configure PowerShell, and automate scheduled work.

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

Made for: Claude Code.

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 windows-powershell

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/windows-powershell.svg)](https://agentmods.dev/skills/eliasoulkadi/shokunin/windows-powershell)
Your own site
<a href="https://agentmods.dev/skills/eliasoulkadi/shokunin/windows-powershell"><img src="https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/windows-powershell.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,410 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 190
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00098 $0.02410
Opus 5 $0.00049 $0.01205
Sonnet 5 $0.00020 $0.00482
Haiku 4.5 $0.00010 $0.00241

Measured 5d ago against content hash 90137491a542, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

windows-powershell 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 5d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (assets/Microsoft.PowerShell_profile.ps1, scripts/cleanup-system.ps1, scripts/install-tools.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.pack/skills/windows-powershell/SKILL.md · 290 lines

How it starts

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

Windows PowerShell

Windows 11 system administration and automation with PowerShell 7.

Workflow

Step 1: System health check

scripts/system-info.ps1

Outputs:

  • OS: Windows 11 build, edition, install date
  • CPU: Model, cores, current usage %
  • RAM: Total, used, free, usage %
  • Disk: Per drive: total, used, free, usage %
  • Top 5 processes by memory usage
  • Network: Adapters, IP addresses
  • Uptime: Days since last restart
  • Windows Updates: Pending update count

If RAM usage > 80% or disk usage > 90%: proceed to Step 2.

Step 2: System cleanup

# Preview what would be cleaned
scripts/cleanup-system.ps1 -DryRun

# Clean everything
scripts/cleanup-system.ps1

Cleans:

  • Windows temporary files
  • Recycle Bin
  • Windows Update cache
  • npm/yarn/pnpm cache
  • Docker unused data
  • Windows.old (if present)
  • Prefetch files

Reports total space recovered.

Step 3: Install development tools

# Install everything
scripts/install-tools.ps1

# Install specific categories only
scripts/install-tools.ps1 -Scope dev  # Git, Node, Python, VS Code
scripts/install-tools.ps1 -Scope tools  # 7-Zip, Windows Terminal, Oh My Posh

The script checks if each tool is already installed before attempting. Uses winget as primary, falls back to scoop.

Step 4: Set up PowerShell profile

Copy the premium profile template:

# Install the premium profile
Copy-Item "~\\.config\\opencode\\skills\\windows-powershell\\assets\\Microsoft.PowerShell_profile.ps1" $PROFILE

# Reload profile
. $PROFILE

The profile includes:

  • Oh My Posh prompt with git status
  • PSReadLine with autocomplete and syntax highlighting
  • Git aliases: gst (status), ga (add), gc (commit), gp (push), gl (pull), gb (branch)
  • npm aliases: ni (install), nrd (run dev), nrb (run build), nt (test)
  • Docker aliases: dps (ps), dlog (logs), dstop (stop), drm (rm)
  • Utils: touch, which, ll (ls -la), mkcd (mkdir + cd), admin (runas admin)

Read the full file on GitHub · 290 lines

Files

What ships with it

5 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.

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. 5d ago First seen · 290 lines · 98 tokens per session scan A 90137491a542

Subscribe to this mod's changes

windows-powershell is a skill published in the GitHub repository EliasOulkadi/shokunin (113 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 2,410 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

slides

A slide generator that creates PNG images for presentation decks, including simple backgrounds for spoken-video scripts and fuller layouts for standalone presentations.

majiayu000/spellbook · 41 tokens

typescript-project

Modern TypeScript project architecture guide for 2025. Use when creating new TS projects, setting up configurations, or designing project structure. Covers tech stack selection, layered architecture, and best practices.

majiayu000/spellbook · 42 tokens

idea-team

A structured group discussion for exploring a product idea through three roles: researcher, critic, and analogy finder. The roles look for evidence, weaknesses, and useful comparisons.

majiayu000/spellbook · 182 tokens

rust-project

Modern Rust project architecture guide for 2025. Use when creating Rust projects (CLI, web services, libraries). Covers workspace structure, error handling, async patterns, and idiomatic Rust best practices.

majiayu000/spellbook · 43 tokens

zig-project

Modern Zig project architecture guide. Use when creating Zig projects (systems programming, CLI tools, game dev, high-performance services). Covers explicit allocators, comptime, error handling, and build system.

majiayu000/spellbook · 43 tokens

architecture-foundation

Design architecture foundations before implementation. Use when asked to design or refactor architecture, choose Rust/Go crate, package, module, runtime, workflow, or service boundaries, compare mature project architecture, prevent stacked one-off PRs, audit migration debt in existing repos, or produce a spec before…

majiayu000/spellbook · 64 tokens