dmsobtl/dsh-skill-evolve0

dsh-skill-evolve

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

AI Analysis

核心用途是沉淀和复用成功的工作流。适合希望将复杂的历史操作步骤提炼为固定技能以供后续一键触发的用户。

Package
dsh-skill-evolve
Version
0.1.0
Last updated
Aug 14, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用示例

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 个工具。
  下次说"部署到预发"时我会按这个流程执行。

配置

- id: skill-evolve
  plugin: dsh-skill-evolve
  config:
    skillsDir: ./skills/learned    # 生成的 skill 存放目录
    autoExtract: false             # 是否自动提取(未来功能)
    minSteps: 3                    # 少于 N 步的不提取