opscale is a read-only operations analytics CLI and AI Skill for SQL databases. Current version 0.1.4 is an early release with monthly cadence. It provides a command-line interface and an AI-powered natural language query (Skill) for analyzing database operational metrics without write permissions. Key differentiators include its focus on read-only safety, integrated AI Skill for natural-language-to-SQL, and support for multiple SQL databases. Compared to generic SQL clients, it targets ops analytics with pre-built insights and AI assistance.
npm install opscaleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates two usage modes: CLI for ad-hoc analysis and programmatic AI Skill for natural language queries.
Upgrade Node.js to v22.13 or later.
Use only SELECT queries; the tool is designed for analytics, not data modification.
Set OPENAI_API_KEY in your environment before using the Skill.
Use 'opscale analyze' instead of 'opscale analytics'.
Run as a dedicated non-root user.
Use dynamic import: await import('opscale') or switch to ESM.Use 'npx opscale' instead of just 'opscale'.
Set OPENAI_API_KEY=your_key_here before running the tool.
Upgrade Node.js to v22.13 or later.
No dependency data recorded yet.