dshbase

插件目录 / Developer / dsh-atomgit

dsh-atomgit

已验证 · 实测可装 xiongjiamu

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

7Stars
1Forks
0未关闭 issue
JavaScript语言
2026-08-15最近推送
跨平台平台

功能简介

AtomGit插件包:atomgit-skills工作流+ag CLI+平台托管的GitCode MCP工具。

✅
我们的评价
可用 — 实测通过,早期项目

AtomGit插件包:atomgit-skills工作流+ag CLI+平台托管的GitCode MCP工具。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-atomgit

English | 中文

AtomGit plugin bundle for DeepSeek Harness (dsh): lets dsh users host and manage code on AtomGit out of the box. One package delivers all three AtomGit services:

Layer Source Shape in dsh
Workflow atomgit-skills Six built-in skills in the model's <available_skills> catalog, loaded on demand via the skill tool
Execution atomgit-cli (ag) The model runs ag commands directly through the built-in bash tool
Interaction AtomGit platform-hosted MCP server (https://api.atomgit.com/mcp-server/v1/mcp) Native tools mcp__atomgit__* bridged by @deepseek-ai/dsh-mcp-client over streamable-http; no local server to run

Built-in skills (vendored from the atomgit-skills upstream): atomgit-plan-issues, atomgit-implement-issue, atomgit-review-pr, atomgit-merge-pr, atomgit-publish-cli-release, atomgit-mirror-to-github.

Installation

Prerequisites — one authentication step covers all three modules:

# The only setup needed: install ag and log in once.
# `ag auth login` stores the AtomGit PAT at ~/.config/ag-cli/token.json.
npm install -g @hust-open-atom-club/atomgit-cli
ag auth login

That's it. No separate token setup for the MCP endpoint or the skills.

Authentication (unified)

All three modules share one AtomGit PAT — the same credential ag auth login obtains (its OAuth token is a PAT):

Module How it authenticates
ag CLI / skills Read ~/.config/ag-cli/token.json directly
MCP endpoint (mcp__atomgit__*) The plugin's atomgitAuth service resolves the token from the same ag credential file and sends it as Authorization: Bearer <PAT>; no user setup

Optional override: to use a different token (e.g. a manually created PAT from AtomGit → Settings → Access tokens), set ATOMGIT_TOKEN in the .env of the dsh working directory — the plugin falls back to it when the ag credential file is absent.

Install the bundle (run from the directory containing this package):

dsh plugin --profile web add ./dsh-atomgit
# or from a remote: dsh plugin --profile web add github:you/dsh-atomgit#<sha>
dsh web

What the model gets

After startup the model side automatically gains:

  • Six atomgit-* skills in the <available_skills> catalog, loaded on demand via the skill tool; references/ files (e.g. ag-commands.md) are read on demand through the directory resource hint.
  • Native mcp__atomgit__* tools (repos / branches / issues / PRs / search) from the AtomGit platform-hosted MCP server — no local server, Docker, or Python install needed.
  • ag in bash (ag repo view, ag pr list, ag issue create, …).

Typical workflow: atomgit-plan-issues to plan issues → atomgit-implement-issue to implement and open a PR → atomgit-review-pr to review → atomgit-merge-pr to merge after your explicit authorization.

Configuration overrides

A patch replaces a row's whole config; users override by row id in their profile cordis.patch.yml or a --patch overlay:

# Disable the MCP server entirely (skills + ag only):
- id: mcp-atomgit
  disabled: true

# Point at a different endpoint (e.g. a self-hosted 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 ?? ""}`'

Syncing skills

skills/ is vendored from the atomgit-skills upstream pinned to a tag, keeping "plugin version ↔ skill version" reproducible:

npm run sync-skills            # sync main
npm run sync-skills -- v1.2.3  # sync a specific tag

License

  • Plugin code and packaging of this bundle: MulanPSL-2.0.
  • Built-in skills come from atomgit-skills; their license (MulanPSL-2.0) is copied with the skills at skills/LICENSE.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-atomgit」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:xiongjiamu/dsh-atomgit

Headless(CLI)profile:

dsh plugin --profile headless add github:xiongjiamu/dsh-atomgit

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →