kill-dev-process

kill-dev-process is a skill for Claude Code from nokonoko1203/claude-code-settings. It costs 43 tokens per session (985 once invoked), scanned A, original, MIT.

A development cleanup skill for stopping leftover development servers, browsers, and processes that occupy ports.

In plain words
What is it for?
Useful when a port is busy, too many browser or Node.js processes remain, or you need a clean development environment.
Why use it?
It helps clear conflicts caused by old processes still running after development work.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool.

Good fit Useful when a port is busy, too many browser or Node.js processes remain, or you need a clean development environment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nokonoko1203/claude-code-settings/kill-dev-process
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 nokonoko1203/claude-code-settings --skill kill-dev-process
Clone the repo
git clone --depth 1 https://github.com/nokonoko1203/claude-code-settings

Made for: Claude Code.

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 kill-dev-process

README.md
[![agentmods](https://agentmods.dev/badge/skills/nokonoko1203/claude-code-settings/kill-dev-process/github.svg)](https://agentmods.dev/skills/nokonoko1203/claude-code-settings/kill-dev-process)
Your own site
<a href="https://agentmods.dev/skills/nokonoko1203/claude-code-settings/kill-dev-process"><img src="https://agentmods.dev/badge/skills/nokonoko1203/claude-code-settings/kill-dev-process/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 kill-dev-process

Your own site · 80×15
<a href="https://agentmods.dev/skills/nokonoko1203/claude-code-settings/kill-dev-process"><img src="https://agentmods.dev/badge/skills/nokonoko1203/claude-code-settings/kill-dev-process.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 985 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.
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.00043 $0.00985
Opus 5.5 $0.00017 $0.00394
Sonnet 5.5 $0.00009 $0.00197
Haiku 4.5 $0.00004 $0.00098

Measured 1mo ago against content hash 1d496d3e8872, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kill-dev-process 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.

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/kill-dev-process/SKILL.md · 124 lines

How it starts

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

Dev Environment Cleanup

Safely clean up processes accumulated during development (dev servers, browsers, node, etc.).

Usage: /kill-dev-process Usage: /kill-dev-process $MODE

$ARGUMENTS to specify mode:

  • ports — Only processes occupying listening ports
  • browsers — Only browser processes
  • all — Process all categories at once
  • No argument — Interactive selection

Execution Steps

Step 1: Investigate the Current State

Run the following commands in parallel to assess the current situation:

# List listening TCP ports (macOS)
lsof -iTCP -sTCP:LISTEN -P -n 2>/dev/null | grep -v "^COMMAND"
# Dev-related node processes
ps aux | grep -E '[n]ode|[t]sx|[v]ite|[n]ext|[n]uxt|[e]sbuild|[t]sc |[b]un ' | grep -v 'grep'
# Browser processes (including those from Playwright/Chrome DevTools MCP)
ps aux | grep -E '[C]hromium|[c]hrome|[C]hrome Helper|[p]laywright' | grep -v 'grep'

Step 2: Classify and Display Results

Classify detected processes into the following categories and display in table format:

Category Criteria
Dev Servers Processes listening on ports 3000-9999 via node/bun/deno
Browsers Chromium, Chrome, Playwright-related processes
Build Tools Residual esbuild, tsc, webpack, turbopack, etc.
Other Anything else requiring user confirmation

Display format example:

## Detected Processes

### Dev Servers (3 items)
PID    PORT   COMMAND              STARTED
12345  3000   node next-server     10:30
12346  5173   node vite            11:45
12347  8080   node express         09:00

### Browsers (5 items)
PID    COMMAND                      MEM
23456  Chromium --headless           120M
23457  Chrome Helper (Renderer)       80M
...

Step 3: Safety Check

Processes that must NEVER be killed:

  • System processes (PID < 100, root-owned system daemons)
  • Databases (postgres, mysql, redis, mongo)
  • Docker / containerd
  • SSH / sshd
  • IDE itself (VSCode, Cursor) — Chrome helpers ARE eligible targets
  • Long-running processes that appear to be intentionally started by the user

Read the full file on GitHub · 124 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 · 124 lines · 43 tokens per session scan A 1d496d3e8872

Subscribe to this mod's changes

kill-dev-process is a skill published in the GitHub repository nokonoko1203/claude-code-settings (92 stars, last pushed 7mo ago), licensed MIT. It adds 43 tokens to every session and 985 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

mdma-integration

Integrate MDMA into an application and build features with it — wire up parsing, the runtime store, React rendering, LLM streaming, custom components, prompts, and CI validation. Use this skill when the user asks to add MDMA to an app, build a chat that streams MDMA, author or maintain a custom prompt, validate MDMA…

MobileReality/mdma · 111 tokens

delegate-local

Use this skill to read a large text input on this machine instead of in your own context, by piping it in chunks to a local model (MLX, Ollama or Docker Model Runner) via delegate.sh for a short, anchored answer you spot-check. MUST use when the input is too large to be worth reading in full (a long log, a big diff, a…

IsmaelMartinez/delegate-local · 0 tokens

meta-harness

Run a Meta-Harness-style optimization loop NATIVELY — automatically search over the scaffolding around a FIXED base model (memory, retrieval, context construction, prompt templates, summarization, tool-selection logic) by proposing candidate variants, scoring each on a cheap deterministic eval, and keeping a Pareto…

001TMF/harness-forge · 217 tokens

meta-harness-proteus

Run one iteration of proteus memory-summary evolution. Called by metaharness.py.

001TMF/harness-forge · 24 tokens

paper-redteam

Simulate rigorous, fair peer review on a paper — in two modes. (A) Red-team YOUR OWN draft before submission to predict the reviews you'll get and get a fix list. (B) Review SOMEONE ELSE'S paper when you're an assigned reviewer or helping your advisor — produce a fair, venue-formatted, submission-ready review. Use…

xf686/Meet-Reviewer-2 · 208 tokens

paper-search

Find academic papers and read them — searches real scholarly databases for prior work on a topic, then resolves and deep-reads the open-access PDF of any paper you pick. Use this skill WHENEVER the user wants to discover literature or read a study: "find recent papers on X", "what does the research say about Y", "find…

academicatstool-netizen/Cat_paper_search · 160 tokens