osquery

Community

Diagnose your system with Osquery in seconds.

Authorkousen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables AI to perform comprehensive system diagnostics by translating natural language questions into Osquery SQL queries and parsing the JSON results. It helps you understand CPU usage, memory consumption, network activity, running processes, disk I/O, temperatures (macOS), and security-related queries without manually building SQL queries.

Core Features & Use Cases

  • Unified Diagnostics: Query CPU, memory, network, disk I/O, temperature, and processes from a single interface.
  • Predefined Templates: Access common diagnostic templates in queries.md to quickly map natural language prompts to queries.
  • Platform Awareness: macOS-focused sensors for temperatures and fans with guidance for Linux equivalents.
  • Result Interpretation: AI-friendly outputs with guidance on what the results mean and next steps.

Quick Start

On a system with Osquery installed:

  • Run an example: osqueryi --json "SELECT name, pid, resident_size FROM processes ORDER BY resident_size DESC LIMIT 5"
  • Or ask: "What's using my CPU?" and have the AI map it to the appropriate query.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: osquery
Download link: https://github.com/kousen/OsqueryMcpServer/archive/main.zip#osquery

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository