kill-process

kill-process is a command for Claude Code from Mineru98/skills-store. It costs 14 tokens per session (226 once invoked), scanned A, original, MIT.

A command for finding and force-stopping processes that are listening on specified network ports. A port is the numbered endpoint that a local development server uses to accept connections.

In plain words
What is it for?
Use it with one or more port numbers, such as 3000 or 8080, to find the associated process IDs, terminate those processes, and report the result for each port.
Why use it?
It clears ports left occupied by crashed or abandoned development servers. It also confirms whether each requested port was freed afterward.

Command for Claude Code

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 commands/mineru98/skills-store/kill-process
Clone the repo
git clone --depth 1 https://github.com/Mineru98/skills-store

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/mineru98/skills-store/kill-process.svg)](https://agentmods.dev/commands/mineru98/skills-store/kill-process)
Your own site
<a href="https://agentmods.dev/commands/mineru98/skills-store/kill-process"><img src="https://agentmods.dev/badge/commands/mineru98/skills-store/kill-process.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 226 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.00014 $0.00226
Opus 5 $0.00007 $0.00113
Sonnet 5 $0.00003 $0.00045
Haiku 4.5 $0.00001 $0.00023

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

Security

Grade A, and why

kill-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 4d 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.

.claude/commands/kill-process.md · 19 lines

What it actually says

$ARGUMENTS: 포트 번호 (하나 또는 여러 개, 공백/쉼표로 구분. e.g. 3000 또는 3000 8080 5173)

$ARGUMENTS에 지정된 각 포트에서 실행 중인 프로세스를 찾아서 종료해줘.

다음 순서로 각 포트마다 진행해:

  1. lsof -ti :<port> 명령으로 해당 포트를 사용하는 프로세스 PID를 찾아줘
  2. PID가 있으면 kill -9 <PID> 로 프로세스를 종료해줘
  3. PID가 없으면 "포트 에서 실행 중인 프로세스가 없습니다"라고 알려줘
  4. 종료 후 해당 포트가 정상적으로 비워졌는지 확인해줘

여러 포트가 지정된 경우 각 포트의 결과를 개별적으로 보고해줘.

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 · 19 lines · 14 tokens per session scan A 8850ab442c51

Subscribe to this mod's changes

kill-process is a command published in the GitHub repository Mineru98/skills-store (13 stars, last pushed 5d ago), licensed MIT. It adds 14 tokens to every session and 226 once invoked, about $0.0001 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.