windows-dev-process-cleanup

windows-dev-process-cleanup is a skill for Claude Code, Codex from bahayonghang/my-ai-cli-toolkit. It costs 124 tokens per session (785 once invoked), scanned A, original, MIT.

A Windows troubleshooting guide for auditing and safely cleaning leftover development processes and UWP background tasks. UWP is Windows' platform for packaged apps.

In plain words
What is it for?
Use it to audit process trees, preview cleanup plans, and remove narrowly selected stale development or app background processes on Windows.
Why use it?
It helps investigate buildup from tools such as npm, Playwright workers, development servers, IDE services, Phone Link, Dolby Access, and backgroundTaskHost.exe.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/bahayonghang/my-ai-cli-toolkit/windows-dev-process-cleanup
Any agent
npx skills add bahayonghang/my-ai-cli-toolkit --skill windows-dev-process-cleanup
Clone the repo
git clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkit

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 windows-dev-process-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/windows-dev-process-cleanup.svg)](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/windows-dev-process-cleanup)
Your own site
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/windows-dev-process-cleanup"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/windows-dev-process-cleanup.svg" alt="Measured on agentmods" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00124 $0.00785
Opus 5 $0.00062 $0.00392
Sonnet 5 $0.00025 $0.00157
Haiku 4.5 $0.00012 $0.00078

Measured 4d ago against content hash 8604beac522e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

windows-dev-process-cleanup 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 4d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/audit-dev-processes.ps1, scripts/audit-uwp-backgroundtasks.ps1, tests/audit-scripts.test.mjs), 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.

skills/developer-tools-integrations/windows-dev-process-cleanup/SKILL.md · 58 lines

How it starts

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

Windows Dev Process Cleanup

Audit first and use the narrowest profile. Requires Windows and PowerShell 7; replace <skill-dir> with the loaded skill directory.

Workflow

  1. Audit without side effects:
pwsh -NoLogo -NoProfile -File "<skill-dir>/scripts/audit-dev-processes.ps1" -Mode audit -AsJson
pwsh -NoLogo -NoProfile -File "<skill-dir>/scripts/audit-uwp-backgroundtasks.ps1" -Mode audit -AsJson
  1. Treat blocked, mixed_tree, unknown, identity-missing, protected members, and audit_status: failed as manual review.

  2. Select one profile:

  • Dev: safe, playwright-mcp, codex-playwright-safe, safe-plus-codex-playwright, or workspace-dev-server with an existing -WorkspacePath.
  • UWP: phone-link-background or dolby-backgroundtask. Dolby cleanup terminates only matching backgroundTaskHost instances.
  1. Preview the exact plan before cleanup:
pwsh -NoLogo -NoProfile -File "<skill-dir>/scripts/audit-dev-processes.ps1" -Mode cleanup -Profile codex-playwright-safe -StaleMinutes 45 -WhatIf -AsJson
pwsh -NoLogo -NoProfile -File "<skill-dir>/scripts/audit-uwp-backgroundtasks.ps1" -Mode cleanup -Profile dolby-backgroundtask -WhatIf -AsJson

Run without -WhatIf only after an explicit cleanup request and an unblocked plan. The scripts recheck identity and affected members; drift fails the precondition.

-DisablePhoneLinkBackground is deprecated and fails closed. It never writes the registry. Microsoft documents the supported per-app control in Windows Settings under System > Power & battery > Battery usage > Manage background activity. See migration-2.0.md.

Output Contract

Report normalized inputs, affected PIDs/fingerprints, roles/protection, blocked reasons, plan_id, target counts, preconditions, command status, and per-member outcomes. A zero taskkill exit code is not proof of termination.

Process termination is irreversible. Report exports are local files. No registry rollback exists because version 2.0 performs no registry mutation.

Read the full file on GitHub · 58 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. 4d ago First seen · 58 lines · 124 tokens per session scan A 8604beac522e

Subscribe to this mod's changes

windows-dev-process-cleanup is a skill published in the GitHub repository bahayonghang/my-ai-cli-toolkit (16 stars, last pushed 2d ago), licensed MIT. It adds 124 tokens to every session and 785 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

docs-build

Build, preview, and validate the Uno documentation website (DocFX) locally — surface real content errors vs expected noise, drive rendered pages with Playwright, and validate external-doc commit bumps in importexternaldocs.ps1 before a PR. Use when working under doc/, editing articles/ markdown, bumping an external…

unoplatform/uno · 97 tokens

web

Browse or inspect live web pages.

xuzhougeng/wispterm · 9 tokens

bilibili-page-reader

Get content from Bilibili videos: official subtitles, danmaku (density/peaks/sample), comments. When no subtitles exist (no 投稿字幕), fall back to downloading audio + ASR transcription via FunASR.

Misaka-Mikoto-Tech/agent-skills · 52 tokens

powershell-safe-invocation

Use when writing or running PowerShell on Windows, especially native programs, quoted paths, escaping, pwsh, Start-Process, file operations, or shell troubleshooting.

Misaka-Mikoto-Tech/agent-skills · 40 tokens

locus-unity-bridge

Use when an agent needs to inspect or control a real Unity Editor through Locus, especially when Unity MCP is unavailable, a project may lack the Locus package, named-pipe discovery is needed, C# must be executed, or Unity scripts must be recompiled.

Misaka-Mikoto-Tech/agent-skills · 61 tokens

host-computer-use

Beta desktop control through the connected A0 CLI host. Use for the user's host/local computer screenshots, screen inspection, menus, native app UI, OS-level clicking, scrolling, typing, or checking computeruseremote status. Use instead of linux-desktop for host/local machine control. Do not use for ordinary browser…

agent0ai/agent-zero · 78 tokens