caoqinnan-web/organize-workspace-sessions
DSH Skill for organizing DeepSeek Harness workspace sessions as 类别|主题, with archive/rename/judgment suggestions. DSH & ChatGPT supported; Claude not supported.
已收录
2
Session
Bundle 已验证
预览
功能介绍
整理 DeepSeek Harness 工作区会话,按 类别|主题 重命名并给出归档、改名与待判断建议。
适合
- 工作区会话较多、希望统一使用“类别|主题”标题的 DSH 用户。
- 需要基于真实会话内容获得归档、改名和待判断建议的整理流程。
- 能够提供会话列表、完整内容读取、标题更新和结果回读能力的 ChatGPT 或其他 Agent 宿主。
不适合
- 希望自动归档、删除、移动、合并或修改会话内容的用户;该技能只改标题,并仅报告归档候选。
- Claude 工作流;文档明确标注为不支持。
- 无法提供所需会话管理能力或 DSH 本地 RPC 方法的宿主。
README
Organize Workspace Sessions
Rename DeepSeek Harness (DSH) workspace sessions into clear, content-based 类别|主题 (Category|Topic) titles, and report safe-to-archive / rename / needs-judgment suggestions.
This Skill organizes the sessions in the current DSH workspace through the host’s local RPC interface (workspace.list / session.list / session.history / session.rename). It renames every visible session to 类别|主题. Because DSH currently has no way to view archived sessions, it does not archive anything — it only lists safe-to-archive candidates in the report.
Usage
- Open the DeepSeek Harness workspace you want to organize.
- Start a new session in that workspace.
- Say “整理对话” (or “整理会话” / “整理工作区会话” / “清理会话”, etc.).
The Skill then inventories the workspace’s sessions, renames them as 类别|主题, and reports archive/rename/judgment suggestions.
Compatibility
| Environment | Status | Notes |
|---|---|---|
| DeepSeek Harness / DSH | ✅ Supported | Renames workspace sessions via the host’s local RPC interface. |
| ChatGPT | ✅ Supported | Verified by the author (the same Category|Topic renaming workflow). |
| Claude | ❌ Not supported | Tested by the author; Claude does not expose the required capabilities. |
| Other Agent hosts | Capability-dependent | The host must expose session listing, full-content reading, title updates, and result rereading. |
What the Skill does
锁定工作区 → 建立清单 → 阅读正文 → 分级 → 改名 → 回读验证
- Locks to the current workspace and reconciles visible sessions against archived ones.
- Reads each session’s real content (only
source.kind === "user"messages count as the user’s question). - Classifies each session as A (safe-to-archive), B (needs judgment), or C (keep).
- Renames every visible session as
类别|主题(exactly one full-width separator). - Because DSH has no archive-view entry, it does not archive; A-class sessions are reported as archive suggestions.
- Rereads the session list to verify every rename.
It changes session titles only. It does not archive, delete, move, merge, or edit session content.
How it works
The Skill drives the DSH host through its local RPC interface (POST /api/<method> on $DSH_WEB_URL, default http://127.0.0.1:3080):
-
workspace.list/session.list— inventory -
session.history— read real content -
session.rename— pin a类别|主题title -
workspace.archiveSession— documented but intentionally not called for now
It ships two helper scripts:
-
skills/organize-workspace-sessions/scripts/dsh_rpc.sh— the RPC envelope -
skills/organize-workspace-sessions/scripts/session_digest.py— one-pass content digest for fast grading
Installation
As a DSH plugin:
dsh plugin --profile web add "github:caoqinnan-web/organize-workspace-sessions#main"
Or use the skill folder directly: drop skills/organize-workspace-sessions into your skills directory.
Repository structure
-
skills/organize-workspace-sessions/SKILL.md— the skill instructions. -
skills/organize-workspace-sessions/scripts/— helper scripts (dsh_rpc.sh,session_digest.py). -
skills/organize-workspace-sessions/agents/openai.yaml— interface metadata. -
src/,cordis.patch.yml— the DSH plugin wrapper that registers the skill.
Development and validation
npm install
npm run check
License
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:caoqinnan-web/organize-workspace-sessions。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。