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

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to audit process trees, preview cleanup plans, and remove narrowly selected stale development or app background processes on Windows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bahayonghang/my-ai-cli-toolkit/windows-dev-process-cleanup
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 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/github.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/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 windows-dev-process-cleanup

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00124 $0.00785
Opus 5.5 $0.00050 $0.00314
Sonnet 5.5 $0.00025 $0.00157
Haiku 4.5 $0.00012 $0.00078

Measured 1mo ago against content hash 8604beac522e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (17 stars, last pushed 6d ago), licensed MIT. It adds 124 tokens to every session and 785 once invoked, about $0.0005 per session on Opus 5.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.