Cli windows powershell mastery

From onfire7777/universal-ai-skills-library · View interactive version

Cli windows powershell mastery is an AI agent skill from the GitHub repository onfire7777/universal-ai-skills-library. Comprehensive command-line expertise across Bash, PowerShell, Windows CMD, and cross-platform terminal operations for maximum productivity and system control.

How to use this skill

Skill file

CLI, Windows & PowerShell Mastery

Purpose

Master command-line operations across all major platforms — Linux/macOS (Bash/Zsh), Windows (PowerShell/CMD), and cross-platform tools — for system administration, automation, development, and troubleshooting.

Bash/Linux Shell Mastery

Essential Patterns

Power Tools

Shell Scripting Best Practices

File System Operations

Windows PowerShell Mastery

Core Concepts

Essential Cmdlets

System Administration

PowerShell Scripting

Remote Operations

Windows CMD (Legacy but Essential)

Key Commands

Cross-Platform Patterns

Equivalent Commands

| Task | Linux/macOS | PowerShell | CMD |

|------|------------|------------|-----|

| List files | ls -la | Get-ChildItem | dir |

| Find text | grep -r "text" . | Select-String -Path *.txt -Pattern "text" | findstr /s "text" *.* |

| Process list | ps aux | Get-Process | tasklist |

| Network info | ifconfig/ip addr | Get-NetIPAddress | ipconfig |

| Kill process | kill -9 PID | Stop-Process -Id PID -Force | taskkill /PID PID /F |

| Disk space | df -h | Get-PSDrive | wmic logicaldisk get size,freespace |

| Environment | echo $VAR | $env:VAR | echo %VAR% |

MCP Integration for Desktop Operations

When operating on a user's Windows computer via MCP:

Automation Patterns

Task Automation Checklist

  1. Can this be done with a one-liner? (prefer simplicity)
  2. Will this be repeated? (write a script)
  3. Does it need error handling? (add try/catch or set -e)
  4. Does it need logging? (add timestamps and output capture)
  5. Does it need scheduling? (cron on Linux, Task Scheduler on Windows)
  6. Does it need to be cross-platform? (use Python or Node.js instead)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.