windows
Skill1 starsChanged 7 days agoMITView on GitHub
Administering Windows 10 or 11 from an agent: winget and Chocolatey, PowerShell 7 against 5.1, the registry, services, scheduled tasks, WSL, Defender and UAC, BitLocker, dual boot, event logs, line endings and symlinks. Use when the user says "install this with winget", "set a registry value", "run this as admin" or "BitLocker recovery screen". Not for PowerShell modules, use `powershell`.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- oracle/graalpythontheir own version, first seen Oct 8, 2026
- AkashPriyadarshii/cookbooktheir own version, first seen Aug 22, 2026
- br3eze-code/br3eze-codetheir own version, first seen Jul 8, 2026
- Vesely/skillstheir own version, first seen May 1, 2026
- ffsshhttiikk/opencode-agents-skillstheir own version, first seen Feb 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- oracle/graalpython★ 1.7ksame name
- Vesely/skills★ 28same name
- br3eze-code/br3eze-code★ 3same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- AkashPriyadarshii/cookbook★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentic-engineeringSkill
- ai-regression-testingSkill
- angularSkill
- ansibleSkill
- api-designSkill
- architecture-decision-recordsSkill
- arch-linuxSkill
- ascend-memorySkill
- ascend-web-hunterSkill
- asus-routerSkill
- audio-scribeSkill
- automation-inventorySkill
- backend-patternsSkill
- bashSkill
- build-dependency-managementSkill
- cachyosSkill
- code-formatterSkill
- code-reviewerSkill
- coding-standardsSkill
- dart-flutter-patternsSkill
- database-migrationsSkill
- deployment-patternsSkill
- design-systemSkill
- docker-patternsSkill
- e2e-runbooksSkill
- e2e-testingSkill
- embedded-c-arduinoSkill
- frontend-designSkill
- g-code-3d-printingSkill
- github-opsSkill
- git-workflowSkill
- golang-patternsSkill
- hexagonal-architectureSkill
- home-assistantSkill
- homelab-servicesSkill
- java-coding-standardsSkill
- jetbrains-ide-opsSkill
- jira-integrationSkill
- kde-plasmaSkill
- keycloak-patternsSkill
- kicadSkill
- machine-healthSkill
- macosSkill
- markdown-writerSkill
- mongodb-patternsSkill
- nextjs-app-router-patternsSkill
- node-backend-patternsSkill
- observability-and-loggingSkill
- obsidianSkill
- performance-optimizationSkill
- postgres-patternsSkill
- powershellSkill
- project-trackingSkill
- proxmoxSkill
- python-patternsSkill
- pytorch-patternsSkill
- react-patternsSkill
- researchSkill
- review-duplicationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
Run PowerShell in PowerShell 7 (pwsh) when it is installed.
- Distinctive: line 62
Before any firmware, boot order, Secure Boot or bootloader change on a BitLocker machine, confirm the recovery key is saved somewhere other …
- Distinctive: line 63
Never weaken Defender, UAC or SmartScreen for convenience.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Windows Administration
How to change a Windows machine without surprising its owner: run PowerShell 7, install through winget before anything else, hand every elevated step to the owner, and never trip BitLocker recovery or corrupt a disk Linux shares. Windows behaves differently by edition, build and policy, so measure the machine before applying a recipe.
Written for Windows 10 and 11 with PowerShell 7, from Microsoft Learn pages. No command in this skill was executed. Facts checked read-only against a mounted Windows 11 disk say so, and every command is otherwise UNVERIFIED.
| Task | Open |
| Install, upgrade, export or remove software with winget, Chocolatey or Scoop | package-managers.md |
Choose between pwsh and powershell.exe, fix encoding or a missing cmdlet | powershell-editions.md |
| Read or change a registry value, back one up | registry.md |
| Inspect or change a service or a scheduled task | services-and-tasks.md |
| Configure WSL, move files between Windows and Linux, fix WSL performance | wsl.md |
| Elevate a command, UAC, sudo for Windows, Defender status and exclusions | elevation-and-defender.md |
| BitLocker, Fast Startup, hibernation, dual boot with Linux, the clock offset | bitlocker-and-dual-boot.md |
| Read the System, Application or a service's event log | event-logs.md |
| Long paths, line endings, case, symlinks, junctions, Developer Mode | files-and-links.md |
Machine facts
Machine-specific facts live in MACHINE.md next to the global AGENTS.md: the Windows edition and build, which package managers are installed, the BitLocker state of each volume, whether another operating system shares the disk, the projects folder, and the change log. Read it before acting. This skill holds no facts about any single machine. Discover with the read-only commands in the topic files and compare with MACHINE.md.
When to activate
- Installing, upgrading or removing software on Windows
- Choosing which PowerShell runs a command, or a script that behaves differently in each
- Any change to the registry, a service, a scheduled task, Defender, UAC or BitLocker
- WSL configuration, or files that cross between Windows and a WSL distribution
- A dual boot machine: Fast Startup, hibernation, the shared EFI partition, the hardware clock
- Reading event logs to explain a failure
- Paths, line endings, symlinks or junctions on NTFS
- Also covers winget first, then Chocolatey, then the vendor installer, with Scoop only on request, PowerShell 7 (pwsh) preferred over Windows PowerShell 5.1, the registry, services, scheduled tasks, WSL, Microsoft Defender, UAC and elevation, sudo for Windows, BitLocker, Fast Startup and dual boot with Linux, event logs, file paths and line endings, symlinks, junctions and Developer Mode
- The user says "choco or winget", "why does this script fail in powershell.exe", "restart the service", "run this at logon", "WSL is slow on /mnt/c", "add a Defender exclusion", "Linux cannot mount the Windows partition", "the clock is wrong after booting Linux", "which event log" or "symlink needs admin"
When not to activate
- Writing or reviewing a PowerShell script, module or Pester test, use
powershell - Work inside a WSL distribution once you are in Linux, use the Linux distribution's skill
- Windows Server roles such as Active Directory, IIS or Hyper-V clusters, which need their own documentation
- Fleet configuration across many hosts, use
ansible
Hard rules
- Run PowerShell in PowerShell 7 (
pwsh) when it is installed. When it is not, recommend that the owner install it withwinget install --id Microsoft.PowerShell -e --source wingetbefore anything else, and fall back to Windows PowerShell 5.1 (powershell.exe) only when the owner declines. Detection and the differences are in powershell-editions.md. - Name the shell for every command:
pwshfor PowerShell 7,powershell.exefor Windows PowerShell 5.1, orcmd. A command that works in one can fail in the other. - Install software with winget first. Use Chocolatey only when winget has no package for it, and the vendor's own installer only when neither has it. Use Scoop only when the owner asks for it. An application already installed, or one
MACHINE.mdassigns to a manager, stays with that manager, and no application is installed through two. The order is set out in package-managers.md. - The agent does not elevate. A command that needs administrator rights goes to the owner, with what it changes, to run in an elevated terminal or through
sudowhere sudo for Windows is enabled. Never trigger a UAC prompt from the agent's own process. - Back up before a change: export the registry key, record the service start type, note the task definition, or create a restore point when the owner wants one.
- Before any firmware, boot order, Secure Boot or bootloader change on a BitLocker machine, confirm the recovery key is saved somewhere other than the machine, and suspend BitLocker for the change.
- Never weaken Defender, UAC or SmartScreen for convenience. An exclusion is scoped to one path the owner names, and recorded.
- On a machine that dual boots, never write to an NTFS volume from Linux while Windows is hibernated or shut down with Fast Startup on.
- Record every system change in the change log of
MACHINE.md, with how to undo it.
Related skills
powershellowns how a PowerShell script or module is written and testedbashowns scripts run in Git Bash or WSLarch-linuxandcachyosown the Linux side of a dual boot machine- The
security-auditoragent owns judging whether an exclusion, a policy change or a third party tool is acceptable git-workflowownscore.autocrlf,.gitattributesandcore.symlinks, in itsreferences/git-config.md
Checklist
MACHINE.mdread, edition, build and installed package managers confirmedpwshused, or its install recommended before any fallback topowershell.exe- The shell named for every command handed over
- Software installed through winget, then Chocolatey, then the vendor installer, Scoop only on request
- Every elevated step handed to the owner, none run by the agent
- A backup or export taken before a registry, service or task change
- BitLocker recovery key confirmed saved before any boot level change
- Fast Startup state checked before Linux writes to a shared NTFS volume
- No security control weakened beyond one named, recorded exclusion
- The change and its undo recorded in the
MACHINE.mdchange log
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

