npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

scorpion-cli

v0.1.3

Published

Local AI agent CLI powered by Ollama with interactive model selection, web research, and system tools.

Readme

Scorpion CLI 🦂

An end-to-end agentic AI assistant for your terminal, refined for speed, aesthetics, and intelligence.

Powered by Ollama and qwen3.5:0.8b, Scorpion doesn't just chat—it takes action, manages your system, and researches the web for you (for free, without API keys).

  ███████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██████╗ ███╗   ██╗
  ██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔══██╗██║██╔═══██╗████╗  ██║
  ███████╗██║     ██║   ██║██████╔╝██████╔╝██║██║   ██║██╔██╗ ██║
  ╚════██║██║     ██║   ██║██╔══██╗██╔═══╝ ██║██║   ██║██║╚██╗██║
  ███████║╚██████╗╚██████╔╝██║  ██║██║     ██║╚██████╔╝██║ ╚████║
  ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝╚═╝     ╚═╝ ╚═════╝ ╚═╝  ╚═══╝

✨ Key Features

  • 🌐 Free & Private Web Search: Builit-in scraping engine uses DuckDuckGo, Bing, and Google News to find real-time information without requiring any paid API keys.
  • 🧠 Smart Agent Core: Automatically detects when it needs to search the web (for events after 2023) vs. using internal knowledge.
  • 🔬 Deep Research Mode: A dedicated tool that scans arXiv (papers), Hacker News (tech discussions), and Wikipedia to generate comprehensive, cited reports.
  • ⚡ Local & Fast: Runs entirely on your machine using Ollama. No data leaves your system except for anonymous search queries.
  • 🎨 Beautiful UI: Rich ASCII tables, interactive spinners, live progress updates, and structured markdown rendering.
  • 🔧 System Control: Execute commands, manage files, check system performance (CPU/RAM), and write code directly to files.

npm version GitHub release

Scorpion is a local AI agent CLI for Windows, macOS, and Linux. Powered by Ollama, it provides interactive local model selection, web research, file and system tools, and persistent session settings without requiring a paid AI API.

Use Scorpion from any terminal to chat with locally available Ollama models, run deep research, inspect your system, and work with files.

What It Can Do

  • "Research the latest developments in quantum computing" (Triggers Deep Research)
  • "What's the current stock price of NVIDIA?" (Triggers Web Search)
  • "Check my system CPU usage" (Triggers System Tools)
  • "Create a Python script for a discord bot" (Triggers File Tools)

Requirements

  • Node.js 22.12+
  • Ollama running locally
  • qwen3.5:0.8b model (recommended):
    ollama pull qwen3.5:0.8b

Quick Start

  1. Clone & Install

    git clone <repo-url>
    cd scorpion-cli-2
    npm install
  2. Run Scorpion

    npm start

    No API keys required! It works straight out of the box.

Install from npm

Scorpion can be installed on Windows, macOS, and Linux:

# Global npm install
npm install --global [email protected]
scorpion

# Run without installing globally
npx [email protected]

PowerShell:

irm https://raw.githubusercontent.com/amaansyed27/scorpion-cli-agent/v0.1.3/install.ps1 | iex
scorpion

macOS/Linux:

curl -fsSL https://raw.githubusercontent.com/amaansyed27/scorpion-cli-agent/v0.1.3/install.sh | sh
scorpion

The current https://aish.dawnlightlabs.com/install.ps1 endpoint belongs to AiSH and should not be used for Scorpion. Configure a separate Scorpion subdomain, such as https://scorpion.dawnlightlabs.com/install.ps1, to serve these installer files if you want a branded short URL.

Scorpion is distributed as one Node.js package rather than separate native binaries, so the same release works across all three platforms. Ollama must still be installed and running locally.

Documentation

🎯 Usage & Power Commands

Scorpion uses a natural language interface, but also supports powerful triggers for specific workflows:

Inside the interactive session, slash commands control the session:

/list                 List installed Ollama models
/model                Interactively select an installed model
/model <name>         Switch directly to a model
/settings             Show the active model and settings
/think on|off|toggle  Enable or disable visible thinking output
/help                 Show all commands
/clear                Clear conversation history
/stats, /reports      Show session statistics or saved reports
/export [md|json]     Export the last report
/demo                 Show UI features
/exit                 Quit Scorpion

The model chosen through /model is saved locally and reused the next time Scorpion starts. Use --model <name> to override it for one launch.

1. Deep Research Mode (@deep)

Triggers an in-depth analysis session. It searches multiple sources, reads simplified content, and compiles a structured report with citations.

> @deep The impact of AI agents on software engineering jobs

Also triggered by asking to "research", "analyze", or "explain in detail".

2. Quick Response (@quick)

Forces a fast answer without searching the web, using only the model's internal knowledge.

> @quick Explain the concept of recursion

3. System & Files

Directly interact with your OS.

> show my memory usage
> list files in the current directory
> create a README.md file for a react project

🛠️ Configuration

Scorpion works with default settings, but you can configure it via environment variables if needed:

  • OLLAMA_HOST: Set if your Ollama instance is not on localhost:11434.
  • OLLAMA_MODEL: Override the default qwen3.5:0.8b model.

Troubleshooting

  • "Model not found": Run ollama pull qwen3.5:0.8b (or your preferred model) first.
  • "Connection failed": Ensure Ollama is running (ollama serve).

Built With

  • Ollama - Local AI inference
  • Cheerio - specialized web scraping & parsing
  • Node.js - Runtime & System Interaction
  • Ora/Chalk - Terminal styling & Animations

License

MIT