kuaiyukuaikuai/dsh-agent-sync0

dsh-agent-sync

DSH 插件,可扫描本机其他 AI 助手(如 Codex、Claude Code 等)并一键同步其 MCP 服务和 Skill 至 DeepSeek Harness。

AI 分析

核心用途是跨 AI 工具同步 MCP 服务和 Skill。适合同时使用多种 AI 助手,并希望在 DSH 中复用其他工具生态的进阶用户。需要 Node.js 22.5+。

套件
dsh-agent-sync
版本
0.1.0
授權
MIT
最近更新
2026年8月19日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kuaiyukuaikuai/dsh-agent-sync

📖 Usage

GUI panel

Settings → MCP/Skills (main page MCP/Skills 管理)

  • Manage (main page) — profile tabs (desktop / web) → MCP / Skills switch; card grid where each card has a toggle switch (enable/disable in one control) and remove; disabled items are greyed with a badge. Skills are grouped by scope: global (~/.dsh/skills) and per-workspace (/.dsh/skills) with workspace tabs
  • MCP/Skills同步 → — a button that opens the sync page: per-source tabs (common agents + "More ▾"), select-all, sync buttons (choose global or a workspace as the skill target), custom sources, and add-skill (pick a local skill directory / .md file and a target scope)

UI implementation — no component library. The panel is vanilla React (React.createElement) styled with DSH's theme tokens (--dsw-alias-*), matching the plugin market look; the toggle switch is a small custom CSS component.

Model tools

agent_sync_scan      # list what can be synced (env values are hidden, keys only)
agent_sync_do        # mcp: ["all"] or names, skills: ["all"] or names
agent_sync_toggle    # enable/disable a synced mcp/skill ({type, name, enabled})
agent_sync_status    # current DSH-side state + sync bookkeeping (incl. disabled items)
agent_sync_remove    # remove a synced mcp/skill
agent_sync_sources   # manage custom sources (list / add / delete)