nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:cocofhu/dsh-aio-agent
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Run sessions in Cursor, Claude Code, Codex, OpenCode, CodeBuddy or Kimi Code from inside DeepSeek Harness (DSH). Each agent appears as a mode in the mode menu, and its models appear in the native model selector. Every turn of such a session runs in the agent CLI on the DSH machine. Cursor, Claude Code, Codex, OpenCode and CodeBuddy run one process per turn in their JSON stream mode (cursor-agent --print, claude -p, codex exec --json, opencode run --format json, codebuddy --print), which reports token usage and resumes the CLI's own session by id; Kimi Code runs over the Agent Client Protocol (ACP). DSH only renders the conversation and keeps the session log; it never calls its own model for these sessions.
Open Plugins → Add plugin, enter github:cocofhu/dsh-aio-agent, choose Install, then Enable now. From a terminal, the same install is:
dsh plugin add github:cocofhu/dsh-aio-agent
A release tarball (cocofhu-dsh-aio-agent-<version>.tgz, built with npm pack) installs the same way by its path or URL. To upgrade, uninstall the plugin and install the new version; settings stay in the profile.
Then install and sign in to the agents you want, on the machine that runs DSH:
| Agent | Install | Sign in |
|---|---|---|
| Cursor | curl https://cursor.com/install -fsS \| bash |
cursor-agent login |
| Claude Code | npm install -g @anthropic-ai/claude-code |
claude auth login |
| Codex | npm install -g @openai/codex |
codex login |
| OpenCode | npm install -g opencode-ai |
opencode auth login |
| CodeBuddy | npm install -g @tencent-ai/codebuddy-code |
run codebuddy, then /login; models in ~/.codebuddy/models.json need no sign-in |
| Kimi Code | curl -fsSL https://code.kimi.com/kimi-code/install.sh \| bash |
kimi acp --login |
An agent that is not installed or not signed in stays out of the model selector instead of showing an error. Its settings page shows the steps above with copy buttons.
~/.codex/models_cache.json).The CLI keeps its own conversation context: each turn resumes the CLI session the first turn started, also after a DSH restart.
Type / to run a skill from this workspace or your home directory. Skills are read from .dsh/skills, .agents/skills, .claude/skills, .claude/commands, .cursor/skills, .codex/skills, .opencode/skills, .codebuddy/skills and .kimi/skills (project, then the same directories under your home directory). Choosing /skill-name highlights the chip and opens its SKILL.md in the sidebar. Sending it includes the skill instructions in the prompt the CLI receives, including for an agent that does not scan that directory itself. A skill the CLI loads with its own Skill tool shows as the native expandable skill card.
/resume continues a CLI session that already exists on this machine. The popup lists the current workspace first, then other workspaces, with the title, time and a short id. /resume <session-id> binds that id directly. Later turns pass it to the CLI (--resume, codex exec resume, opencode run --session, or ACP session/load for Kimi Code). DSH keeps its own transcript; it does not copy the CLI's history. After a resume, the transcript shows a resume card, a bar above the composer stays visible with that session's title, and the sidebar title changes to it.
Plugins → AIO Agent lists one switchable component per agent; switching one off removes its mode and its models. Configure opens the agent's page:
"/opt/Cursor Agent/cursor-agent" or /opt/codex --profile work; options after it are kept. Quote paths that contain spaces.Saved values go to the profile's cordis.patch.yml and apply from the next turn, without a reload.
Every line of a JSON stream is recorded in the session log as plugin:dsh-aio-agent/stream, and every ACP frame in both directions as plugin:dsh-aio-agent/acp, with secrets redacted. Permission answers are recorded as plugin:dsh-aio-agent/permission, and the binding between a DSH session and its CLI session as plugin:dsh-aio-agent/binding.
npm test # node --test
npm run build:logos # re-inline assets/provider-logos into lib/client.js
npm pack # tarball to install through Add plugin for a local trial
Tests use the DSH installation on PATH (or DSH_ROOT) and exercise its real agent loop with controlled CLIs for all six backends. With OpenCode and CodeBuddy installed and DEEPSEEK_API_KEY set, opt in to live tests for queued turns, queue Send and Stop:
DSH_AIO_LIVE_TESTS=1 node --import ./test/dsh-runtime.mjs --test test/live-driver.test.js
The live tests use temporary workspaces and CLI configuration; they make billed DeepSeek API calls.
Provider logos come from lobe-icons (MIT); see assets/provider-logos/README.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agents。