organize-workspace-sessions
Manifest validOrganize DeepSeek Harness workspace sessions by renaming them as Category|Topic and reporting archive, rename, and review suggestions.
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— inventorysession.history— read real contentsession.rename— pin a类别|主题titleworkspace.archiveSession— documented but intentionally not called for now
It ships two helper scripts:
skills/organize-workspace-sessions/scripts/dsh_rpc.sh— the RPC envelopeskills/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
Comments
Loading…
Similar plugins
by huangxp12
Recent sessions across every workspace in one panel for DeepSeek Harness (DSH) - plus deferred notes that come back when you reopen the conversation.
★ 2
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-recent-sessionsby a1137261060
两级会话组织器(替换式侧栏):工作区分组 + 工作区内会话文件夹,已适配 DSH 0.2.1。Two-level session organizer for DeepSeek Harness: workspace groups and per-workspace session folders.
★ 2
↓ 6/wk
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-session-organizerby kiligzzz
Sidebar panel for archived sessions in DeepSeek Harness: group by workspace, search by title, preview user questions, one-click restore, or delete with confirmation.
★ 3
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add @kiligzzz/dsh-session-archiveby yangdongzhen590
Cron task scheduler for DeepSeek Harness: scheduled sessions with your prompt, workspace-aware placement, paginated execution history, open-session from the panel.
★ 3
↓ 196/wk
MIT
TypeScript
Sep 9, 2026
dsh plugin --profile web add dsh-schedulerby yiliang114
Activity and Favorites views for DeepSeek Harness: track running, waiting, and unread sessions across workspaces.
★ 3
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add @yiliang114/dsh-session-deckSession management enhancement plugin for DeepSeek Harness - workspace session count display, archived sessions panel with restore/delete, drag-and-drop session move across workspaces.
★ 0
↓ 541/wk
dsh plugin --profile web add dsh-session-xc