Agent skill
top-processes
Get the top memory or CPU consuming processes on the system. Use this when asked about which processes are using the most resources, memory leaks, or process monitoring.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/top-processes
SKILL.md
Top Processes by Resource Usage
Run this skill when the user asks about:
- Which processes are consuming the most memory
- Top CPU or memory users
- Process resource consumption
- Memory leaks or high resource usage
- Application performance issues
Run using:
# Ensure venv is activated
source venv/bin/activate
python scripts/get_top_processes.py
Parameters
You can optionally specify the number of processes to return:
source venv/bin/activate
python scripts/get_top_processes.py --limit 20
Default limit is 10 processes.
Output
Returns JSON array with:
- Process name
- Process ID (PID)
- Memory usage (MB)
- Parent process ID
- Process path
- Command line arguments
Sorted by memory usage (highest first).
Dependencies
Requires the MCP osquery server. Install with:
source venv/bin/activate
pip install -r requirements.txt
Environment
No environment variables required.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?