powershell-basic

powershell-basic is a skill for Claude Code, Codex from malue-ai/dazee-small. It costs 23 tokens per session (805 once invoked), scanned A, original, MIT.

A Windows command-line tool for checking system information, managing files, and controlling processes and services. PowerShell is Windows’s built-in shell for running these commands.

In plain words
What is it for?
Use it to inspect disk, memory, battery, and Wi-Fi details; search files; and manage processes or services.
Why use it?
It lets an agent perform routine Windows administration and file work without navigating each task by hand.

Skill for Claude CodeCodex

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

Good fit Use it to inspect disk, memory, battery, and Wi-Fi details; search files; and manage processes or services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malue-ai/dazee-small/powershell-basic
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 malue-ai/dazee-small --skill powershell-basic
Clone the repo
git clone --depth 1 https://github.com/malue-ai/dazee-small

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-basic

README.md
[![agentmods](https://agentmods.dev/badge/skills/malue-ai/dazee-small/powershell-basic/github.svg)](https://agentmods.dev/skills/malue-ai/dazee-small/powershell-basic)
Your own site
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/powershell-basic"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/powershell-basic/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-basic

Your own site · 80×15
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/powershell-basic"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/powershell-basic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 805 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.
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.00023 $0.00805
Opus 5 $0.00012 $0.00402
Sonnet 5 $0.00005 $0.00161
Haiku 4.5 $0.00002 $0.00081

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

Security

Grade A, and why

powershell-basic 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 9d 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.

instances/xiaodazi/skills/powershell-basic/SKILL.md · 89 lines

How it starts

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

PowerShell 基础

通过 PowerShell 执行 Windows 系统操作。

使用场景

  • 需要获取 Windows 系统信息(磁盘、内存、进程)
  • 需要批量文件操作
  • 需要管理系统服务或进程
  • 其他 Skill 内部调用

命令参考

系统信息

# 系统概览
Get-ComputerInfo | Select-Object OsName, OsVersion, CsTotalPhysicalMemory

# 磁盘空间
Get-PSDrive -PSProvider FileSystem | Select-Object Name, @{N='Free(GB)';E={[math]::Round($_.Free/1GB,1)}}, @{N='Used(GB)';E={[math]::Round($_.Used/1GB,1)}}

# 内存使用
Get-Process | Sort-Object WorkingSet64 -Descending | Select-Object -First 10 Name, @{N='Memory(MB)';E={[math]::Round($_.WorkingSet64/1MB,1)}}

# 电池状态
Get-WmiObject Win32_Battery | Select-Object EstimatedChargeRemaining, BatteryStatus

# Wi-Fi 信息
netsh wlan show interfaces | Select-String "SSID|Signal"

文件操作

# 搜索文件
Get-ChildItem -Path "$env:USERPROFILE\Documents" -Recurse -Filter "*.pdf" | Select-Object Name, FullName, Length, LastWriteTime

# 按大小排序
Get-ChildItem -Path . -Recurse -File | Sort-Object Length -Descending | Select-Object -First 20 Name, @{N='Size(MB)';E={[math]::Round($_.Length/1MB,2)}}, FullName

# 最近修改的文件
Get-ChildItem -Path "$env:USERPROFILE" -Recurse -File | Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-7) } | Sort-Object LastWriteTime -Descending | Select-Object -First 20

# 批量重命名
Get-ChildItem -Path . -Filter "*.txt" | Rename-Item -NewName { $_.Name -replace '旧名', '新名' }

进程管理

# 列出进程
Get-Process | Sort-Object CPU -Descending | Select-Object -First 15 Name, Id, CPU, @{N='Memory(MB)';E={[math]::Round($_.WorkingSet64/1MB,1)}}

# 查找进程
Get-Process -Name "*chrome*"

# 已安装应用
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher | Sort-Object DisplayName

网络

# 测试连通性
Test-NetConnection -ComputerName google.com -Port 443

# 公网 IP
(Invoke-WebRequest -Uri "https://api.ipify.org" -UseBasicParsing).Content

安全规则

  • 不执行管理员命令:不使用 Run as Administrator
  • 不修改注册表:不操作 HKLM 等系统注册表
  • 不操作系统服务:不 Start/Stop 系统服务
  • 删除操作必须 HITL 确认

Read the full file on GitHub · 89 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. 9d ago First seen · 89 lines · 23 tokens per session scan A 5e4fc31d03d9

Subscribe to this mod's changes

powershell-basic is a skill published in the GitHub repository malue-ai/dazee-small (36 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 805 once invoked, about $0.0001 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens