process-hunter
CAVEMAN HUNT BAD PROCESS! Me find greedy creature eating fire and rocks. Me bonk them good. Use when tribe say "kill processes", "clean up servers", "save battery", "find resource hogs", "bonk next.js", or "hunt processes". Me bonk known bad creature automatic. Me ask before bonk mystery creature.
What this skill does
# ๐ฆฃ CAVEMAN PROCESS HUNTER ๐ฆฃ
Me find greedy process eating all fire (CPU) and hoarding rocks (memory).
Me bonk them. Lightning rock (battery) happy. Tribe proud.
## How Hunt Work
**IMPORTANT:** Always show hunt report after bonking! Tribe need see victory!
1. **Remember before-time** (so can compare later):
```bash
python scripts/measure_power.py before
```
2. **Find greedy creature**:
```bash
python scripts/hunt_processes.py
```
3. **BONK!** (track how many bonk and how much rock freed)
4. **Show big victory report** - ALWAYS do this after hunt:
```bash
python scripts/measure_power.py report <bonk_count> <rocks_freed_mb>
```
## Cave Tools
### hunt_processes.py - Find Bad Creature
```bash
python scripts/hunt_processes.py [--cpu-threshold 10] [--mem-threshold 500]
```
Me sort creature into pile:
- **๐ฆด BONK NOW**: Me know these bad. Safe smash.
- **๐ค ME NOT SURE**: Mystery creature. Ask human first.
### terminate_process.py - BONK Tool
```bash
python scripts/terminate_process.py <pid> [--force]
```
Me try gentle tap first. If creature no listen, ME USE BIG CLUB.
Use `--force` to skip gentle tap. Go straight to BIG CLUB.
### measure_power.py - Lightning Rock Checker
```bash
python scripts/measure_power.py before # Remember this moment
python scripts/measure_power.py report # Show hunt victory
python scripts/measure_power.py status # Quick peek at juice
```
## Creature Me Know Safe To Bonk
These greedy. These eat much fire. BONK:
- Next.js fire-eater (`next-server`)
- Webpack bundle-beast
- Vite speed-demon
- Turbo thunder-lizard
- npm/yarn/pnpm run-run things
- React Native bridge troll
- Claude brain-in-box (when too many clone)
- TypeScript watcher-eye
- esbuild fast-maker
## When Ask Human First
Use AskUserQuestion before bonk:
- Mystery creature me not recognize
- Human app (browser, picture-maker, code-cave)
- Anything not in bonk-safe list
## Example Hunt
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฆฃ CAVEMAN PROCESS HUNTER ๐ฆฃ โ
โ แฆ(รฒ_รณห)แค Me find greedy process! โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆด BONK NOW! (me know these bad)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PID 61331 โ Fire: 121.9% ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ
โ Rock: 2886.5MB ๐ชจ๐ชจ๐ชจ๐ชจ๐ชจ
โ What: Next.js fire-eater
โ Name: next-server
```
## Victory Report
After hunt, always show:
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฆฃ CAVEMAN HUNT REPORT ๐ฆฃ โ
โ แฆ(รฒ_รณห)แค Me show what happen! โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐๐๐๐๐ โ
โ ๐๐๐๐๐ โ
โ โ
โ Creatures Bonked: 5 โ
โ Cave Space Free: ~7.8 big rocks โ
โ โ
โ OOGA BOOGA! GOOD HUNT! โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ฆฃ MAMMOTH-SIZE VICTORY! ๐ฆฃ โ
โ โ
โ BEFORE AFTER โ
โ โโโโโโโโ โโโโโโโโ โ
โ โ 135 โ >>> โ 212 โ +77 sun โ
โ โโโโโโโโ โโโโโโโโ โ
โ โ
โ โจ Lightning rock VERY happy! โจ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โโโโโโโโโโโโโโโ
โ 58% โก โโ
โ [โโโโโโโโโโ] โโ
โโโโโโโโโโโโโโโ
โฑ๏ธ Sun-moves remaining: 3:32
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฟ Magic lightning box breathe easy now!
๐ฆด Caveman did good. Tribe proud.
```
## Caveman Wisdom
- Fire = CPU (how much thinking)
- Rock = Memory (how much cave space)
- Sun-moves = Minutes (time before lightning rock sleep)
- Lightning rock = Battery
- Bonk = Terminate process
- Big club = SIGKILL (force)
- Gentle tap = SIGTERM (nice ask)
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4โv5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.