Install
Inside DeepSeek Harness, with dsh-market
dsh plugin --profile web add dshmarket
Or from the command line
dsh plugin --profile web add github:mexiaosqwq/want-a-init
Installing runs third-party code with your own permissions — it can read your files, use your credentials and reach the network. Review the source first, and pin a commit (github:owner/repo#sha) when you can.
README
This plugin publishes its README in Chinese only.
DeepSeek Harness 的模型驱动 /init 命令:让 agent 自己分析当前项目,生成/更新一份高信号、仓库特有的 AGENTS.md,并把“持续维护 AGENTS.md”写进 agent 运行逻辑。
特性
- 模型驱动初始化:不写死模板,
/init注入高信号 prompt,让 agent 分析仓库后生成/更新AGENTS.md; - 填写式归纳:提供固定骨架(
Project/Commands/Architecture/Conventions/Pitfalls/Maintenance),要求 agent 从仓库证据中逐项填写、归纳;没有可验证内容就写Not documented yet; - 模式:
/init(默认合并更新)、/init force(强制重写)、/init minimal(约 40 行内)、/init detailed(更详细但无废话); - 常驻 agent 意识:通过 DSH
systemPrompt注入agents-md-maintenance段落,让每个 agent 会话都记得维护AGENTS.md; - 只维护
AGENTS.md:刻意不创建CLAUDE.md; - 纯 host 插件:无 client/UI、无构建步骤,
lib/直接提交。
安装
从 GitHub
dsh plugin --profile web add github:mexiaosqwq/want-a-init
从本地路径
dsh plugin --profile web add /path/to/want-a-init