📦 Dessix Skill — 技能工具

v1.1.0

[自动翻译] Access a local Dessix desktop workspace by calling the Electron MCP bridge directly from Node.js (socket/pipe), without using MCP stdio JSON-RPC. Use ...

0· 351·0 当前·0 累计
by @xiangst0816·MIT-0
下载技能包 项目主页
License
MIT-0
最后更新
2026/2/26
0

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

🖥️ OSmacOS · Linux · Windows

版本

latestv1.1.02026/2/26

安装命令

点击复制
官方npx clawhub@latest install dessix-skill
镜像加速npx clawhub@latest install dessix-skill --registry https://cn.longxiaskill.com

技能文档

Call the local Dessix bridge directly through a line-delimited JSON socket protocol.

Use scripts/dessix-bridge.mjs for all requests instead of re-implementing socket logic.

Workflow

  • (Optional) Locate bundled MCP script path dynamically:
node scripts/dessix-bridge.mjs locate-mcp-script
  • Verify the bridge is reachable:
node scripts/dessix-bridge.mjs health
  • List workspaces:
node scripts/dessix-bridge.mjs invoke \
  --tool dessix_list_workspaces \
  --args '{}'
  • Call target tool with JSON args:
node scripts/dessix-bridge.mjs invoke \
  --tool dessix_search_blocks \
  --args '{"query":"MCP","limit":10}'
  • Read a Skill prompt from an Action/Scene block:
node scripts/dessix-bridge.mjs invoke \
  --tool dessix_get_skill \
  --args '{"block_id":""}'

Notes

  • Start Dessix desktop app first. The bridge is served by the Electron app process.
  • To discover bundled MCP script path at runtime, use node scripts/dessix-bridge.mjs locate-mcp-script.
- Override auto-detection with DESSIX_MCP_SCRIPT_PATH (or --mcpScriptPath ). - Current built-in candidates include: - macOS: /Applications/Dessix.app/Contents/Resources/electron/compiled/dessix-mcp.js - Windows: %LOCALAPPDATA%\\Programs\\Dessix\\resources\\electron\\compiled\\dessix-mcp.js
  • If DESSIX_MCP_BRIDGE_ENDPOINT is unset, this bridge client uses platform endpoint defaults:
- macOS/Linux: ~/.dessix/mcp/dessix-mcp-bridge.sock - Windows: \\\\.\\pipe\\dessix-mcp-bridge
  • Use compact JSON for --args. Invalid JSON fails fast.
  • Read references/dessix-tools.md for tool names and argument templates.

Multi-Step Workflows

Combine tools to achieve higher-level goals. Validate outputs before any write.

Skill Discovery

Build a skill map for the current workspace (read-only):

node scripts/dessix-bridge.mjs invoke --tool dessix_get_current_workspace --args '{}'
node scripts/dessix-bridge.mjs invoke --tool dessix_search_blocks --args '{"types":["Action","Scene"],"limit":100}'
# for each block_id in results:
node scripts/dessix-bridge.mjs invoke --tool dessix_get_skill --args '{"block_id":""}'

Topic to Skill Draft

Turn a discussion thread into a reusable Action/Scene block:

node scripts/dessix-bridge.mjs invoke --tool dessix_get_topic_context --args '{"topic_id":""}'
node scripts/dessix-bridge.mjs invoke --tool dessix_search_blocks --args '{"semantic":"related skills and constraints","limit":20}'
# draft title+content from combined context, then:
node scripts/dessix-bridge.mjs invoke --tool dessix_create_block --args '{"patch":{"type":"Action","title":"
数据来源ClawHub ↗ · 中文优化:龙虾技能库