winkit-developer-debugging

Read-only instructions for diagnosing local development problems on Windows computers through WinKit. They cover ports, processes, HTTP responses, event logs, services, storage, hardware, and workspace state.

In plain words
What is it for?
Use it when a port is already in use, localhost does not respond, an app returns an HTTP 5xx error, tests hang, the machine is slow, storage is full, or Windows reports a crash.
Why use it?
They help identify why a local app or development setup is failing without guessing or running commands that change the computer. WinKit does not write files, stop processes, or inspect credentials.

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/kiritobloom/winkit/winkit-developer-debugging
Any agent
npx skills add KiritoBloom/WinKit --skill winkit-developer-debugging
Clone the repo
git clone --depth 1 https://github.com/KiritoBloom/WinKit

Made for: Claude Code, Codex.

Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,003 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.00075 $0.02003
Opus 5 $0.00037 $0.01001
Sonnet 5 $0.00015 $0.00401
Haiku 4.5 $0.00007 $0.00200

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

Security

Grade A, and why

winkit-developer-debugging 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 yesterday.

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.

npm/mcp/skills/winkit-developer-debugging/SKILL.md · 155 lines

How it starts

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

WinKit Developer Debugging

WinKit is a local, read-only MCP server for Windows that answers why is my dev setup broken without guessing. From inside the agent loop you can probe ports, processes, HTTP, event logs, services, drives, hardware, and workspace state — all bounded and redacted.

This skill is a routing guide: when to call which WinKit tool and how to chain them. Tool schemas live on the server; this file tells you the playbook.

WinKit never runs shell commands, writes files, or reads credentials. Every tool is a read. Windows x64 only.

When to use

  • User says: "port in use", "EADDRINUSE", "localhost:3000 not working", "connection refused", "HTTP 500", "machine slow", "tests hanging", "disk full", "what crashed", "BSOD", "is the dev server related to my workspace?"
  • You need to answer about local processes, ports, drives, services, event logs, drivers, updates, startup programs, or hardware on Windows.

When NOT to use

  • Host is not Windows x64 → explain WinKit is Windows-only.
  • Request needs arbitrary shell execution, file writes/deletes, process kills, or credential inspection → refuse plainly and offer the read-only WinKit path.
  • Non-local or production debugging → WinKit is local-first only.

Quick Start

npx --yes @winkit/mcp@latest doctor          # 0 = all checks PASS
npx --yes @winkit/mcp@latest install --yes   # MCP + skill, with .bak backup

Then in the agent:

diagnose_local_webapp {url:"http://localhost:3000"}
find_process_on_port {port:3000}

doctor must pass before you trust tool output. See profiles-and-permissions if a tool says "disabled".

Routing table

Default path for "app broken": diagnose_workspace → diagnose_local_webapp → correlate_recent_failures.

User says / you observe Primary tool(s)
"My local app is broken" diagnose_local_webappdiagnose_workspacecorrelate_recent_failures
"Port is already in use" find_process_on_port / list_listening_portsget_process
"Server returns 500/4xx" diagnose_local_webappget_application_errorscorrelate_recent_failures
"Machine is slow" system_healthsystem_health_trendget_process / get_process_tree
"Tests are hanging" wait_for_port / wait_for_http + list_processes + system_health
"Is this dev server related to my workspace?" list_dev_serversdiagnose_workspaceworkspace_snapshot
"Where is the project / what runs it?" workspace_snapshotdev_environment
"Disk is full" list_drivesdisk_usagedirectory_overview (recursive size per child, largest first)
"Find/read a file or log" find_filesread_text_file (mode="tail" for log ends)
"Why won't my tool start?" audit_path_envdev_environment
"Is my disk dying?" disk_health (S.M.A.R.T.) + disk_performance
"Something crashed" crash_history / shutdown_analysis or get_recent_events
"Why did it reboot?" shutdown_analysiscrash_history + system_update_status (update reboots)
"What starts with my PC?" startup_programs
"What did WinKit touch?" privacy_info

Read the full file on GitHub · 155 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 155 lines · 75 tokens per session scan A 4e358fb2fd71

Subscribe to this mod's changes

winkit-developer-debugging is a skill published in the GitHub repository KiritoBloom/WinKit (1 stars, last pushed 10d ago), licensed MIT. It adds 75 tokens to every session and 2,003 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens