dsh-atomgit
by xiongjiamu
AtomGit 插件包:内置六个 AtomGit 技能(Issue 规划、Issue 实现、PR 审查、PR 合并、CLI 版本发布、GitHub 镜像),并集成 ag CLI 与平台托管的 MCP 工具(仓库/分支/Issue/PR/搜索)。
AtomGit plugin bundle for DeepSeek Harness: six built-in AtomGit skills (plan issues, implement issues, review PRs, merge PRs, publish CLI releases, mirror to GitHub) plus ag CLI integration and platform-hosted MCP tools for repos, branches, issues, PRs, and search.
安装
dsh plugin --profile web add github:xiongjiamu/dsh-atomgitGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
English | 中文
AtomGit 插件 bundle,让 DeepSeek Harness(dsh)用户开箱即用地通过 AtomGit 托管代码。一个包装齐三层能力:
| 层 | 来源 | 在 dsh 里的形态 |
|---|---|---|
| 流程层 | atomgit-skills | 六个内置技能,进入模型 <available_skills> 目录,可被 skill 工具加载 |
| 执行层 | atomgit-cli(ag) |
模型经内置 bash 工具直接执行 ag 命令 |
| 交互层 | AtomGit 平台托管的 MCP server(https://api.atomgit.com/mcp-server/v1/mcp) |
原生工具 mcp__atomgit__*,经 @deepseek-ai/dsh-mcp-client 以 streamable-http 接入,无需本地起服务 |
内置技能(来自 atomgit-skills 上游,随包 vendored):atomgit-plan-issues、atomgit-implement-issue、atomgit-review-pr、atomgit-merge-pr、atomgit-publish-cli-release、atomgit-mirror-to-github。
安装
前置要求——一步鉴权,三个模块通用:
# 只需装好 ag 并登录一次:
# `ag auth login` 会把 AtomGit PAT 存到 ~/.config/ag-cli/token.json。
npm install -g @hust-open-atom-club/atomgit-cli
ag auth login
仅此而已。MCP 端点与技能都不需要再单独配置令牌。
统一鉴权
三个模块共用同一个 AtomGit PAT——与 ag auth login 获取的 OAuth 令牌是同一个东西:
| 模块 | 鉴权方式 |
|---|---|
ag CLI / 技能 |
直接读取 ~/.config/ag-cli/token.json |
MCP 端点(mcp__atomgit__*) |
插件的 atomgitAuth 服务从同一份 ag 凭据文件解析令牌,并以 Authorization: Bearer <PAT> 发送;无需用户额外设置 |
可选覆盖:想用别的令牌(例如在 AtomGit「个人设置 → 访问令牌」手动创建的 PAT),在 dsh 运行目录的 .env 里设置 ATOMGIT_TOKEN 即可——ag 凭据文件缺失时插件会回退到它。
安装 bundle(在包含本目录的目录下执行):
dsh plugin --profile web add ./dsh-atomgit
# 或从远端:dsh plugin --profile web add github:you/dsh-atomgit#<sha>
dsh web
使用效果
启动后模型侧自动获得:
<available_skills>目录出现六个atomgit-*技能,按需用skill工具加载;技能内的references/(如ag-commands.md)由目录资源指引按需读取。- 原生工具
mcp__atomgit__*(仓库/分支/Issue/PR/搜索),来自 AtomGit 平台托管的 MCP server——无需本地安装、Docker 或 Python。 - bash 里可执行
ag(ag repo view、ag pr list、ag issue create等)。
典型工作流:让模型用 atomgit-plan-issues 规划 Issue → atomgit-implement-issue 实现并开 PR → atomgit-review-pr 审查 → 你显式授权后 atomgit-merge-pr 合并。
配置覆盖
patch 按行整体替换 config,用户在 profile cordis.patch.yml 或 --patch overlay 里按行 id 覆盖:
# 完全禁用 MCP(只用技能 + ag):
- id: mcp-atomgit
disabled: true
# 换一个端点(如自建 MCP server):
- id: mcp-atomgit
inject: [atomgitAuth]
config:
serverName: atomgit
transport: streamable-http
url: https://your-host/mcp
headers:
Authorization: !!js '`Bearer ${ctx.atomgitAuth.token ?? ""}`'
技能同步
技能目录 skills/ 从 atomgit-skills 上游按 tag 同步,保证"插件版本 ↔ 技能版本"可复现:
npm run sync-skills # 同步 main
npm run sync-skills -- v1.2.3 # 同步某个 tag
许可
- 本 bundle 的插件代码与打包结构:MulanPSL-2.0。
- 内置技能来自 atomgit-skills,其许可证(MulanPSL-2.0)随技能复制于
skills/LICENSE。
原始 README: https://github.com/xiongjiamu/dsh-atomgit/blob/main/README.zh.md ↗
同类插件
查看全部 →vibe-skills
vibe 编码技能合集(含快速开始、CI 证明、发布说明与文档)

Aegis
面向编码 Agent 的软件工程方法包,提供基线优先规划、系统化调试、提示词卫生、完成前验证,以及修复/退役双轨跟踪技能。

J-Space-Cognition-Suite-V3.6
A model-agnostic inference-time control suite for deep reasoning, long-horizon work, tool use, verification, and recovery. 面向深度推理、长程任务、工具调用、验证与恢复的模型不可知推理时控制套件。

MisakaNet
失败恢复记忆库:从真实工程会话中搜索和记录失败恢复教训,支持 BM25 + 语义 RAG 检索和知识库管理。

dsh-find-plugins
对 DSH 说一句「有没有插件能……」,它就会从全 GitHub 的 dsh-plugin topic 里找出候选,解释差别,等你选好以后再安装和验证。

humanizer-ru
AI代理技能:识别并清除俄语文本中的机器生成痕迹。38种模式,39个带证据注册的regex标记,盲对偶运行,C2PA/EXIF/XMP文件元数据清理