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

glmcode

v0.1.22

Published

GLM coding agent CLI with shell tools, skills (SKILL.md/zip auto-extract), streaming chat, slash-command menu and bottom status bar. Auto-installs its dependencies.

Downloads

3,566

Readme

GLMCode

GLM 移动端 coding agent CLI。在终端里直接和 GLM 对话,自动执行写文件、读文件、Shell 命令、加载技能等任务。

npm install -g glmcode

特性

  • 流式对话(支持思考模式)
  • 四个内置工具:run_shell / write_file / read_file / use_skill
  • 技能系统:把 SKILL.md 目录或 .zip 技能包放进 skills/ 自动加载
  • 真 TUI 交互:输入 / 立即弹出悬浮命令菜单(不回车也显示),按字母实时过滤,↑/↓ 方向键选择,Tab 补全,Enter 执行
  • 底部常驻状态栏(反色条):实时显示思考开关 / 模型 / 技能数 / 当前目录
  • 自动安装依赖:缺失 adm-zip、terminal-kit 等依赖时启动自动 npm install
  • /install 命令:调用系统包管理器(apt/apk/pkg/brew/winget 等)自动安装程序
  • 认证:glmcode auth set <API_KEY>

用法

glmcode              # 启动对话
glmcode --selftest   # 一键跨平台自检(虚拟模拟 7 种平台 + 真实平台功能验证)
glmcode --help       # 帮助
glmcode auth set sk-xxx   # 设置 API Key
glmcode shell        # 查看系统信息
glmcode shell list   # 列出可用 Shell

斜杠命令

| 命令 | 说明 | |------|------| | /help | 显示全部命令 | | /clear | 清空对话 | | /thinking | 切换思考模式 | | /model <ID> | 切换模型 | | /pwd /cd /ls /cat | 目录与文件操作 | | /run <shell> | 执行命令 | | /install <程序> | 自动安装程序/依赖 | | /exit | 退出 |

环境变量

  • ZHIPU_API_KEY / GLM_API_KEY:直接注入 API Key,无需写盘
  • GLM_SKILLS_DIR:自定义技能目录

技能

mkdir -p skills/my-skill
# 写入 skills/my-skill/SKILL.md(含 name / description frontmatter)
# 或将技能打成 zip 放入 skills/,启动时自动解压加载

启动后输入 /技能名 即可注入技能指令。

跨平台兼容性

GLMCode 支持 Windows / macOS / Linux / Android(Termux) / FreeBSD 等所有可运行 Node.js 18+ 的系统,所有功能在全部平台上均可用。程序自动适配各平台的 Shell(cmd / PowerShell / bash / zsh / fish 等)、包管理器(winget / brew / apt / dnf / pacman / apk / pkg)、打开浏览器命令与路径分隔符。

详见 COMPATIBILITY.md。