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

dsh-tool-memory-manager

v0.4.0

Published

DSH plugin for managing tool usage memories

Readme

DSH Tool Memory Manager

DSH 插件:可视化管理 AI 工具使用记忆、技能配置和提示词笔记。

功能

1. 工具使用提醒管理

  • 自动发现已安装的 MCP 服务器和插件工具
  • 配置触发关键词,让 AI 主动使用对应工具
  • 设置优先级和启用/禁用状态

2. 技能编辑器

  • 可视化创建和编辑 SKILL.md 文件
  • 配置技能触发条件
  • 技能版本管理

3. 记忆查看器

  • 查看所有 prompt/memory/skill/subagent 条目
  • 编辑和删除记忆
  • 版本历史和回滚

4. 快捷面板

  • 一键切换工具组合预设
  • 根据项目类型自动激活
  • 自定义常用工具组合

5. AI 自学习

  • 记录用户对工具推荐的反馈
  • 自动调整触发词权重
  • 生成优化建议

6. 错误恢复

  • 工具调用失败时自动重试
  • 配置降级策略
  • 错误日志记录

安装

cd ~/.dsh/plugins
git clone https://github.com/your-username/dsh-tool-memory-manager.git
cd dsh-tool-memory-manager
npm install
npm run build

然后在 cordis.patch.yml 中添加:

- insert:
    - id: tool-memory-manager
      name: dsh-tool-memory-manager
      config: {}

使用

查看所有工具

tool_memory_list_tools()

添加工具提醒

tool_memory_add_reminder({
  toolId: "aseprite_generate_character",
  displayName: "生成像素角色",
  triggers: ["生成角色", "创建角色", "画一个"],
  priority: 3
})

创建预设

tool_memory_add_preset({
  name: "像素画创作",
  description: "Aseprite 像素画工具集",
  toolIds: ["aseprite_generate_character", "aseprite_img2pixel"],
  autoActivate: true,
  projectMatch: "*.aseprite"
})

配置

配置文件位于 ~/.dsh/tool-memory-manager/config.json

{
  "version": "1.0.0",
  "reminders": [],
  "skills": [],
  "presets": [],
  "settings": {
    "autoRemind": true,
    "learningEnabled": true,
    "errorRecoveryEnabled": true,
    "maxRetries": 3
  }
}

开发

# 安装依赖
npm install

# 开发模式(监听文件变化)
npm run dev

# 构建
npm run build

许可证

MIT