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

stupid-claw

v0.1.7

Published

回归纯粹的极简本地 Agent: 基于 `pi-mono` 底座。业余时间开发,主要用于简单代码学习交流使用,欢迎反馈。 严格限制在指定目录,以纯文本格式读写记忆。没有数据库的黑魔法,只有你能完全掌控的代码。

Readme

StupidClaw

回归纯粹的极简本地 Agent:
基于 pi-mono 底座。业余时间开发,主要用于简单代码学习交流使用,欢迎反馈。
严格限制在指定目录,以纯文本格式读写记忆。没有数据库的黑魔法,只有你能完全掌控的代码。

官方网站:stupidClaw

相关文档

项目边界

  • 只用文件系统,不引入数据库和向量库。
  • 默认 Message as UI:Telegram。
  • 默认传输模式:Long Polling;Webhook 是可选增强。
  • AI 只能读写 .stupidClaw/,不能碰 src/

目录结构(当前与目标)

stupidClaw/
├─ src/
│  ├─ index.ts
│  ├─ engine.ts
│  ├─ transport/
│  │  ├─ polling.ts
│  │  └─ webhook.ts              # 第 2 期
│  ├─ gateway.ts                 # 第 2 期
│  ├─ cron.ts                    # 第 6 期
│  ├─ memory/
│  │  ├─ history-store.ts        # 第 3 期
│  │  ├─ profile-store.ts        # 第 4 期
│  │  └─ workspace-path.ts       # 第 5 期
│  └─ skills/
│     ├─ contracts.ts            # 第 3 期
│     ├─ registry.ts             # 第 3 期
│     ├─ system/get_system_time.ts
│     ├─ system/list_available_skills.ts
│     ├─ memory/query_history.ts
│     ├─ memory/update_profile.ts
│     └─ cron/manage_cron_jobs.ts
├─ .stupidClaw/                  # AI 沙盒区(运行时自动创建)
│  ├─ profile.md
│  ├─ cron_jobs.json
│  └─ history/YYYY-MM-DD.jsonl
├─ .env.example
└─ DEV_TODO.md

5 分钟启动

详见完整的 快速上手指南 获取详细的步骤(包括如何申请 Telegram Bot Token 和 API Key 等,以及如何使用内置网页端 IM)。

方式 A:最快启动 (npx)

如果你本地已有 Node.js 环境,无需下载源码,直接在任何目录下运行:

npx stupid-claw

首次运行会在当前目录下生成 .env 提示,配置完成后再次运行即可。

方式 B:源码运行

  1. 安装依赖
pnpm install
  1. 配置环境变量
cp .env.example .env

至少填写:

  • STUPID_MODEL (模型选择,如 minimax:MiniMax-M2.5openai:gpt-4o)
  • 对应供应商的 API Key (如 MINIMAX_API_KEYOPENAI_API_KEY)
  • TELEGRAM_BOT_TOKEN (如果你使用网页端 IM,可以随便填)
  1. 启动
pnpm dev

如果你想使用内置的免梯子网页端 IM,启动后直接点击终端中输出的绿色链接即可!