dingyi222666/dsh-agents-md

dingyi222666★ 0TypeScriptLast synced: 2026-08-15

Open on GitHub

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

README excerpt

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…

View full README on GitHub →
Agentsdsh-pluginagent

Category