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

@ww_nero/mini-cli

v1.0.106

Published

极简的 AI 命令行助手

Downloads

2,207

Readme

Mini CLI

极简的 AI 命令行助手,支持工具调用、上下文压缩以及会话历史管理。

快速开始

  • 安装依赖:npm install
  • 填写配置:首次运行会在 ~/.mini 生成 chat.json 等文件,修改其中的 key 为你的接口密钥即可。
  • 运行方式:npm startnode bin/mini.js,也可在全局安装后直接执行 mini

常用启动参数

  • mini -i "你好":启动后立即发送首条问题。
  • mini -m <model>:指定本次启动使用的模型,不改写 chat.json 中的默认顺序。
  • mini --resume:启动时自动恢复当前工作目录最近一次对话。
  • mini --help:查看全部参数说明。

对话内快捷命令

  • /model:查看或切换模型,并将切换结果写回 chat.json 默认顺序。
  • /clear:清空上下文。
  • /resume [序号]:列出或恢复历史会话。
  • /exit:退出对话。

会话历史

  • 每个工作目录的历史记录保存在 ~/.mini/cli/<workspace-hash>/YYYYMMDDHHMMSS.json 中。
  • 可通过 mini --resume 自动载入最近一次会话,或在对话中使用 /resume 按序号恢复。

Skills 支持

  • mini 会自动扫描 ~/.mini/skills/*/SKILL.md 作为可用 skills。
  • 当你在提问中明确提到某个 skill 名称,或任务明显匹配某个 skill 描述时,模型会优先读取并遵循对应 skill。
  • 运行时可通过内置 skills 工具读取指定 skill 下的文件(默认 SKILL.md)。
  • 推荐目录结构示例:
~/.mini/skills/
  algorithmic-art/
    SKILL.md
    assets/
    scripts/
  docx/
    SKILL.md