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

dexai-cli

v1.1.0

Published

AI development tool with extensible Skill system and ACP protocol support

Readme

dex

AI development tool with extensible skill system and ACP protocol support.

Install

npm install -g dex-cli

Requires Node.js >= 20 and an Anthropic API key.

export ANTHROPIC_API_KEY=your-key-here
# or
dex config set apiKey your-key-here

Quick Start

dex review              # Review uncommitted changes
dex review --staged     # Review staged changes only
dex commit-msg          # Generate a commit message
dex explain src/app.ts  # Explain a file
dex refactor src/old.ts # Get refactoring suggestions
dex test-gen src/api.ts # Generate tests
dex fix src/bug.ts      # Fix bugs with AI agent (tool use)

Pipe support:

git diff | dex review           # Pipe a diff
cat src/auth.ts | dex explain   # Pipe code

Commands

| Command | Description | |---------|-------------| | dex review [--staged] | Code review | | dex commit-msg | Generate commit message | | dex explain <file> | Explain code | | dex refactor <file> | Refactoring suggestions | | dex test-gen <file> | Generate tests | | dex fix <file> [-i "issue"] | Fix bugs with agentic tool use | | dex chat [--tools] | Interactive AI chat with tool access | | dex run <skill> | Run any skill by name | | dex serve | Start ACP server for editor integration | | dex doctor | Check system setup | | dex config list\|get\|set | Manage configuration | | dex skill list\|info\|init\|add\|remove | Manage skills | | dex completion bash\|zsh\|fish | Shell completions |

Global Flags

  • --verbose / -v — Show debug output and token usage
  • --json — Structured JSON output
  • --version / -V — Show version

Custom Skills

Create your own skills:

dex skill init my-skill    # Generate skeleton
cd my-skill
# Edit handler.ts and manifest.json
dex skill add .            # Install globally
dex my-skill               # Run it

manifest.json

{
  "name": "my-skill",
  "version": "1.0.0",
  "description": "My custom skill",
  "inputs": {
    "args": [{ "name": "file", "description": "Target file", "required": true }],
    "flags": [{ "name": "verbose", "type": "boolean", "default": false }],
    "context": ["current-file", "file-tree", "git-diff", "stdin"]
  },
  "agent": {
    "maxTurns": 5,
    "allowedTools": ["read_file", "write_file", "list_files", "bash"]
  }
}

Available Context Sources

| Source | Description | |--------|-------------| | git-diff | Unstaged changes | | git-diff-staged | Staged changes | | git-log | Recent commit history | | file-tree | Project directory tree | | current-file | File specified by file arg | | package-json | Project package.json | | stdin | Piped input |

Available Tools (for agentic skills)

| Tool | Description | |------|-------------| | bash | Execute shell commands | | read_file | Read file contents | | write_file | Create/modify files | | list_files | List directory tree |

ACP Server (Editor Integration)

Start the ACP server for Zed, JetBrains, or other editors:

dex serve

The server communicates via stdio JSON-RPC 2.0. Configure your editor to use dex serve as an ACP agent.

Supported Methods

  • initialize — Returns capabilities and available skills
  • session/new — Create a new session for a skill
  • session/prompt — Execute a skill within a session
  • session/cancel — Cancel an active session

Shell Completions

# Bash
eval "$(dex completion bash)"

# Zsh
eval "$(dex completion zsh)"

# Fish
dex completion fish > ~/.config/fish/completions/dex.fish

Configuration

dex config list              # Show all settings
dex config set model claude-opus-4-20250514  # Change model
dex config set maxTokens 16384              # Increase token limit

Settings are stored in ~/.dex/config.json (global) and .dex/config.json (project).

Environment variables: ANTHROPIC_API_KEY, DEX_MODEL.

License

MIT