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

glitool

v2.2.0

Published

AI coding assistant for your terminal

Downloads

1,229

Readme

glitool

AI coding assistant for your terminal. Multi-agent pipeline, smart routing, and a live process trace — all without leaving your terminal.

Install

npm install -g glitool

Setup

mkdir -p ~/.glitool
echo "OPENAI_API_KEY=sk-..." > ~/.glitool/.env

Then start:

glitool

Slash Commands

| Command | Description | |---------|-------------| | /plan | Create a structured plan for a complex task | | /coder | Run the full multi-agent coding pipeline | | /debug | Diagnose errors and broken behavior | | /refactor | Restructure code without changing behavior | | /review | Audit code for bugs, security, and quality | | /git | Commit, push, diff, branch — full git operations | | /explain | Explain a concept or file (no file edits) | | /quick | Fast chat, cheapest model, no pipeline | | /model | Show or switch the active model | | /memory | View project memory and session summary | | /tools | List available tools | | /clear | Clear session (keeps memory) | | /reset | Clear session and wipe memory | | /exit | Save summary and quit |

Smart Routing

You don't need slash commands. Glitool reads your message and picks the right agent automatically:

why is my server crashing?       → DEBUGGER
review src/auth.ts               → REVIEWER
refactor the parser module       → REFACTORER
commit my changes                → GIT AGENT
how does useEffect work?         → EXPLAINER
add a rate limiter               → CODER (full pipeline)

Multi-Agent Pipeline

For coding tasks, four agents run in sequence:

PLANNER → CODER → VALIDATOR → JUDGE
  • PLANNER reads your request and produces a numbered step-by-step plan
  • CODER executes the plan using file and shell tools
  • VALIDATOR runs TypeScript and ESLint checks on the result
  • JUDGE reviews the output and decides if it meets the requirement

Each stage is shown live in the terminal as it runs — with reasoning text and every tool call displayed in order.

Tools

Agents have access to:

| Tool | What it does | |------|-------------| | readFile | Read any file in the project | | listFiles | List files matching a glob pattern | | searchCode | Search source files for a string or pattern | | writeFile | Create a new file | | editFile | Edit an existing file | | bash | Run shell commands (risk-gated) | | webFetch | Fetch a URL and read its content |

Dangerous shell commands (rm -rf /, sudo, curl \| sh) are blocked. Sensitive commands (git push, npm publish) require your confirmation.

Memory

Glitool remembers context across sessions:

  • Session memory — last 40 messages saved per project, auto-summarized
  • Project memory — tech stack, architecture decisions, and TODOs extracted from your conversations, stored in .glitool/memory.json

Configuration

Config file: ~/.glitool/config.json

{
  "name": "Developer",
  "preferredLanguage": "TypeScript",
  "codingStyle": "spaces",
  "preferredModel": "gpt-4o-mini"
}

Requirements