dingyi222666/dsh-agents-md

dingyi222666★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

为 dsh 提供基于 md 文件自定义子 agent 和模型的插件。

README 摘要

dsh-agents-md English 中文 A plugin for dsh that brings opencode-style custom agents to your conversations. You define agents as markdown files — each with its own system prompt and model — and then call them from chat with an @mention . The mention dispatches a subagent running under that agent's instructions and model, and the agent's reply comes back into the conversation as context. How it works Drop one file per agent into the agents directory (default /.dsh/agents/ ). The file name becomes the mention name; the YAML frontmatter carries the description (shown in the @ menu and to the model), an optional provider , and an optional model ; the body is the agent's system prompt. provider and model are the names dsh's own model routing uses — the ones your Models page (or a settings.yaml llm- section) configures. Omit both to inherit the parent agent's route. A missing or unknown route fails the child's first request, so use ids your configured providers actually advertise. Then type @reviewer in any conversation: - The @ menu (same trigger the built-in subagent reference uses) lists your agents with their descriptions — pick one and the mention lands in the draft as @name . - The m…

在 GitHub 查看完整 README →
Agent/智能体dsh-pluginagent

分类