windows-dev-process-cleanup

Audit and terminate stale Windows development process trees with PowerShell 7.

16|1|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/bahayonghang/my-ai-cli-toolkit --skill windows-dev-process-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: windows-dev-process-cleanup
Source: https://github.com/bahayonghang/my-ai-cli-toolkit/tree/main/skills/developer-tools-integrations/windows-dev-process-cleanup
Command: npx skills add https://github.com/bahayonghang/my-ai-cli-toolkit --skill windows-dev-process-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill resolves system clutter caused by orphaned development processes and UWP background-task pileups, preventing performance degradation and resource leaks without manual Task Manager intervention.

Core Features & Use Cases

  • Process Tree Auditing: Safely identifies and cleans up stale node, npm, and Playwright MCP process trees.
  • UWP Background Management: Targets specific UWP background-task hosts like Phone Link and Dolby Access without disabling core app functionality.
  • Safety-First Execution: Uses a mandatory audit-preview-verify workflow with precondition checks to prevent accidental termination of active or protected processes.

Quick Start

Use the windows-dev-process-cleanup skill to audit all development process trees and preview a safe cleanup plan for stale Playwright workers.

Frequently Asked Questions about windows-dev-process-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up orphaned npm and Playwright MCP processes on Windows?

To clean up orphaned npm and Playwright MCP processes on Windows, use a PowerShell 7-based skill that audits stale development process trees and safely terminates them using native taskkill utilities. It requires strict identity verification to prevent accidental termination of active workers.

What is the safest way to bulk terminate backgroundTaskHost.exe instances for UWP apps?

Safely terminating UWP backgroundTaskHost.exe instances requires an audit-preview-verify workflow that targets specific app hosts like Phone Link and Dolby Access without disabling core app functionality. This prevents resource leaks while maintaining essential UWP background tasks.

Why does PowerShell 7 require precondition validation before killing stale node process trees?

PowerShell 7 requires precondition validation before killing stale node process trees to ensure strict identity verification and prevent accidental termination of active or protected processes. This safety-first execution guarantees only orphaned npm or npx instances are purged.

Can I use Windows tasklist and taskkill to manage leaked Playwright MCP workers automatically?

Yes, you can use Windows tasklist and taskkill to manage leaked Playwright MCP workers automatically through a PowerShell 7 skill. It audits running process trees, previews a safe cleanup plan, and verifies identities to resolve system clutter without manual Task Manager intervention.

Does the Windows dev process cleanup workflow support identifying specific UWP background tasks like Phone Link?

Yes, the Windows dev process cleanup workflow supports identifying specific UWP background tasks like Phone Link and Dolby Access. It audits and targets these excessive backgroundTaskHost.exe instances specifically, preventing performance degradation without disabling the core application functionality.