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-skill-evolve

v0.1.0

Published

DSH plugin: auto-generate reusable skills from successful sessions — the agent learns from its own experience.

Readme

dsh-skill-evolve

DSH 插件:Agent 自我进化引擎 — 从成功会话中自动提炼可复用 skill,越用越聪明。

原理

Agent 完成任务 → session.jsonl 记录全过程
                        ↓
              extract_skill 分析 session
                        ↓
        提炼工具调用序列 → 生成 skill markdown
                        ↓
        下次类似任务 → Agent 直接按 skill 执行(更快更准)

工具

| 工具 | 功能 | |------|------| | extract_skill | 从 session JSONL 提炼为 skill 文件 | | list_learned_skills | 列出所有已学习的 skill |

使用示例

User: 刚才部署的流程挺顺利的,帮我把它提炼成 skill 以后复用

Agent:
→ extract_skill({
    sessionPath: "~/.dsh/sessions/abc123/session.jsonl",
    skillName: "deploy-staging",
    description: "部署到预发环境的标准流程"
  })

✓ 已生成 skill: ./skills/learned/deploy-staging.md
  提取了 7 个步骤,使用了 bash, read, write 3 个工具。
  下次说"部署到预发"时我会按这个流程执行。

生成的 Skill 示例

# Skill: deploy-staging
> Auto-generated from session `session.jsonl` on 2026-08-14

## 触发条件
当用户的需求类似于以下任务时使用:
> 把当前分支部署到预发环境

## 执行步骤
### 1. Execute: git pull origin main
### 2. Execute: npm run build
### 3. Execute: npm test
### 4. Read file: deploy.config.json
### 5. Execute: kubectl apply -f k8s/staging.yml
...

配置

- insert:
    - id: skill-evolve
      name: dsh-skill-evolve
      config:
        skillsDir: ./skills/learned    # 生成的 skill 存放目录
        minSteps: 3                    # 少于 N 步的不提取

与其他插件配合

  • dsh-session-analyst:先 analyze_session 确认质量好,再 extract_skill
  • dsh-agent-eval:新 skill 生效后跑 eval 验证是否提升

License

MIT