कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Return system metrics (CPU, RAM, disk, processes) using psutil.

विवरण

यह स्किल क्या करती है

Exposes CPU, RAM, disk, and process metrics from the local machine via psutil. Returns structured JSON for any of five query types: summary, cpu, memory, disk, or processes.

Returns structured JSON output directly, making it easy to pipe results into other tools or agent steps without parsing plain-text output.

इसे कब इस्तेमाल करें

  • Checking memory pressure before running a heavy build
  • Listing top CPU-consuming processes during a slowdown
  • Monitoring disk usage on a development machine
  • Getting CPU core count and load averages for capacity planning
  • Automating system health checks in a local agent workflow

उदाहरण वर्कफ़्लो

इनपुट

User asks: what's using the most CPU right now?

एजेंट
  1. 1

    Call system_info with action=processes and limit=10

  2. 2

    Receive JSON array of top processes sorted by cpu_percent

  3. 3

    Identify the process with the highest cpu_percent value

  4. 4

    Format the process name, PID, and CPU percentage for the user

आउटपुट

Process 'python3' (PID 1234) is using 5.2% CPU, followed by ...

इंस्टॉलेशन

clawhub install iyeque/local-system-info

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक