DeepSeek Harness Plugin

mexiaosqwq/want-a-init

Stars ★ 3 Category Development & Runtime Added 2026-08-15

Model-driven /init command: the agent analyzes the current repo and generates/updates a high-signal AGENTS.md, with a persistent system-prompt reminder to keep it maintained.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:mexiaosqwq/want-a-init

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.