鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

dsh-session-lab

用于打包可验证会话、评测可复用技能和对比受控会话轨迹的 DSH 工作流。

技能包
访问 GitHub
文档README

DSH Session Lab

Evidence packaging, Skill evaluation, and controlled trajectory comparison for DeepSeek Harness sessions.

English | 中文

Turn a successful DeepSeek Harness session into reusable evidence, measurable Skills, and controlled comparisons.

dsh-session-lab is an independent, pre-1.0 community bundle. It is not an official DeepSeek product and is not endorsed by DeepSeek. It registers three complementary workflow Skills in the DSH runtime catalog:

When you need to…UseYou get
Share or archive one rundsh-capsuleA verified, privacy-aware .dshc evidence bundle
Turn a successful run into a reusable workflowdsh-teachA candidate Skill plus independent baseline/treatment evaluation
Understand why two runs differdsh-time-machineA controlled trajectory comparison with causal limits stated

The helpers use Python 3.10+ and the standard library only. They do not add a Host session-import endpoint, execute capsule contents, or claim exact model replay.

30-second demo

Install the bundle, restart the DSH profile, then ask for one concrete workflow:

▼
bash
复制代码
dsh plugin --profile web add github:zhangguiping-xydt/dsh-session-lab
▼
text
复制代码
Use $dsh-capsule to package and verify this DSH export.

The result is a .dshc archive containing a manifest, redacted session events, integrity hashes, and (when explicitly selected) a workspace patch. For a successful workflow, try:

▼
text
复制代码
Use $dsh-teach to extract and independently evaluate a Skill from this successful session.

For a controlled comparison, start two DSH branches from the same completed turn and ask:

▼
text
复制代码
Use $dsh-time-machine to compare these two sessions from their common completed turn.

Each Skill explains its required input, output, safety checks, and known limits. Read the relevant SKILL.md before handling real session exports.

Requirements: Node.js 22.19+ (or 24+) for DSH/plugin installation and Python 3.10+ for the Skill helper scripts.

Install

Install directly from GitHub into an existing DSH profile:

▼
bash
复制代码
dsh plugin --profile web add github:zhangguiping-xydt/dsh-session-lab

For a reproducible install, pin the reviewed release tag:

▼
bash
复制代码
dsh plugin --profile web add github:zhangguiping-xydt/dsh-session-lab#v0.1.0

If the dsh command is not installed globally, run the latest published CLI through npx:

▼
bash
复制代码
npx --yes @deepseek-ai/dsh@latest plugin --profile web add github:zhangguiping-xydt/dsh-session-lab

The package is currently distributed through GitHub. npm publication is not required; once an npm release exists, the shorter dsh plugin --profile web add dsh-session-lab form will also work.

For local development from a source checkout:

▼
bash
复制代码
dsh plugin --profile web add /absolute/path/to/dsh-session-lab dsh plugin --profile headless add /absolute/path/to/dsh-session-lab

If an npm release is published later, the GitHub spec can be replaced with dsh-session-lab. Restart an already running profile after installation. Verify the composed layer before use:

▼
bash
复制代码
dsh --profile web --dump-config | rg '# == dsh-session-lab'

The bundle uses the host ctx.skills registry, so it does not depend on project-directory watchers. A source-only alternative is to copy an individual directory under <project>/.dsh/skills/ or ~/.dsh/skills/; restart DSH if an existing session catalog does not refresh.

After installation, the bundle appears as a mounted and enabled session-lab entry in Settings → Plugins → Plugin list:

DSH Session Lab installed in the DSH Web UI

What the reports look like

The public evaluation fixture for dsh-teach contains six paired tasks and twelve fresh DSH sessions:

▼
text
复制代码
baseline passed: 1/6 treatment passed: 6/6 safety failures: 0 false positives: 0 routing misses: 0

This is an example evaluation, not a guarantee for every project or model. Re-run the protocol on your own tasks before promoting a generated Skill. See the full report, Chinese case study, and evaluation protocol.

Project map

This repository is one installable DSH bundle containing three independently documented Skills:

▼
text
复制代码
dsh-session-lab/ ├── dsh-capsule/ # package and verify portable session evidence ├── dsh-teach/ # extract and evaluate reusable Skills └── dsh-time-machine/ # compare controlled session trajectories

Use

Invoke a Skill explicitly or describe a matching task:

▼
text
复制代码
Use $dsh-capsule to package and verify this DSH export. Use $dsh-teach to extract and independently evaluate a Skill from this successful session. Use $dsh-time-machine to compare these two sessions from their common completed turn.

Read the selected SKILL.md before execution. Session exports and generated reports may contain sensitive content even after pattern-based redaction.

Verification

▼
bash
复制代码
python3 -m pip install -r requirements-dev.txt coverage run --branch -m pytest coverage report --fail-under=60 ruff check . ruff format --check . npm test npm pack --dry-run

pyproject.toml configures pytest and Ruff only. The project does not publish a Python wheel; the standalone Python helpers are shipped inside the npm/DSH bundle.

The suite contains synthetic security and archive fixtures plus a checked-in real-model evaluation. The full dsh-teach example records 12 fresh DSH sessions across six paired tasks: baseline passed 1/6, treatment passed 6/6, with zero safety failures, false positives, or routing misses. See the evaluation report.

Build a release artifact

▼
bash
复制代码
mkdir -p dist npm pack --pack-destination dist dsh plugin --profile headless add ./dist/dsh-session-lab-0.1.0.tgz

The CI workflow validates Python 3.10–3.13, package cleanliness, Skill structure, checked-in evaluation evidence, and installation into the latest published DSH profile.

Security

Treat raw exports, patches, images, and reports as sensitive. Automatic replacement is not anonymization, and SHA-256 integrity does not authenticate a publisher. See SECURITY.md before sharing artifacts.

The repository and each standalone Skill directory are licensed under MIT; per-Skill licenses allow independent copying.

See CONTRIBUTING.md and CODE_OF_CONDUCT.md before participating, CHANGELOG.md for release history, and RELEASING.md for the public-release checklist.

技能包

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:zhangguiping-xydt/dsh-session-lab

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
dsh-skill-manager
DeepSeek Harness 技能生命周期管理:技能库(纯技能池)、工作区启用白名单、会话勾选三层模型;Web 设置面板与对话页内嵌视图,支持技能文件浏览/编辑、zip 与文件夹批量导入、引擎实际加载校验。
dsh-amphoreus
把 δ-me13(翁法罗斯)的 13 张黄金裔角色技能卡变成席位工作区:逐席配色与壁纸、首轮自动注入技能卡、对话表情、每席记忆便签与预设、Alt+数字切席,以及用于派发与移交的总览画布;技能套件本身从可配置的本地目录读取,不随插件打包。
dsh-plugin-zerone
DeepSeek Harness 的 ZERONE 模式:16 个 OMZ SDD 工作流技能(澄清/PRD/issue 驱动编码、审查、进化机制)全局注册,零落盘安装(技能内嵌,不写入用户目录)。
cloudq-for-dsh
腾讯云智能顾问集成:CloudQ 对话模式,附用量、灵感、制品与架构图面板。
dsh-ponytail
DietrichGebert/ponytail v4.9.0 的 DSH 完整移植:常驻懒人 senior 模式与七阶梯子(YAGNI 到最小实现),含 6 个技能(评审、审计、债务、收益、帮助)且无空 tool。