Organize DeepSeek Harness workspace sessions by renaming them as 类别|主题 and reporting archive, rename, and review suggestions.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:caoqinnan-web/organize-workspace-sessions
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
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
Links
More in this category
Minglink/dsh-infinite-gen-4★ 2222
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
liangmianya/dsh-synapse★ 463
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
ranxianglei/billion-context★ 450
The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).
Nwflower/dsh-chat-import★ 207
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
Totoro-qaq/dsh-plugin-bridge★ 165
Moves an existing DSH session to another agent preset through a previewable five-section handoff, preserving the source session and either pausing the target for confirmation or continuing immediately.
Anionex/dsh-turn-rewind★ 125
Rewind conversation and workspace state, powered by a persistent Change Ledger.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.