Gitcode
openJiuwen-ai/sciencediscovery
Operate GitCode issues, PRs, wikis, code/MR refs, and cached org templates.
AtomGit/GitCode 仓库管理技能,提供用户、仓库、Issue、PR、文件、分支等 API 操作。AtomGit 和 GitCode 是同一平台的不同域名(atomgit.com / gitcode.com),共享相同的 API 后端。
$ npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills atomgit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/atomgit .claude/skills/atomgit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "atomgit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/atomgit into .claude/skills/atomgit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomgit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/atomgitType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills atomgit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/atomgit .agents/skills/atomgit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "atomgit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/atomgit into .agents/skills/atomgit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomgit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills atomgit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/atomgit .cursor/skills/atomgit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "atomgit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/atomgit into .cursor/skills/atomgit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomgit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/atomgit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills atomgit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/atomgit .gemini/skills/atomgit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "atomgit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/atomgit into .gemini/skills/atomgit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomgit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills atomgitInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/atomgit .github/skills/atomgit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "atomgit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/atomgit into .github/skills/atomgit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomgit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills atomgit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/atomgit .opencode/skills/atomgit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "atomgit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/atomgit into .opencode/skills/atomgit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomgit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
atomgitAtomGit/GitCode 仓库管理技能,提供用户、仓库、Issue、PR、文件、分支等 API 操作。AtomGit 和 GitCode 是同一平台的不同域名(atomgit.com / gitcode.com),共享相同的 API 后端。
Atomgit is an agent skill from LeoYeAI/openclaw-master-skills. AtomGit/GitCode 仓库管理技能,提供用户、仓库、Issue、PR、文件、分支等 API 操作。AtomGit 和 GitCode 是同一平台的不同域名(atomgit.com / gitcode.com),共享相同的 API 后端。
Its SKILL.md is about 5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `README.md`, `_meta.json` and `config.example.json`).
The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
api.gitcode.comapi.atomgit.comAlso links to:
gitcode.comatomgit.comdocs.gitcode.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
ATOMGIT_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Atomgit loads about 5k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 358 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 358 words, ~4,978 tokens.
.claude/skills/atomgit/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.直接调用 AtomGit/GitCode OpenAPI v5,通过 curl 命令执行操作。
注意:AtomGit (atomgit.com) 和 GitCode (gitcode.com) 是同一平台的不同域名,共享相同的 API 后端。无论使用哪个域名,API 端点都相同。
api, read_user, read_repository, write_repository, issues, pull_requestsToken 在两个平台通用,因为后端是同一套系统。
编辑 ~/.openclaw/openclaw.json,添加 skill 配置:
{
"skills": {
"entries": {
"atomgit": {
"enabled": true,
"env": {
"ATOMGIT_TOKEN": "your-token-here"
}
}
}
}
}或使用环境变量占位符:
{
"skills": {
"entries": {
"atomgit": {
"enabled": true,
"env": {
"ATOMGIT_TOKEN": "__ATOMGIT_TOKEN__"
}
}
}
}
}然后在终端设置环境变量:
export ATOMGIT_TOKEN="your-token-here"直接在终端设置:
export ATOMGIT_TOKEN="your-token-here"https://api.gitcode.com/api/v5 (推荐)https://api.atomgit.com/api/v5 (等效)Authorization: Bearer <TOKEN>两个 API 端点完全等效,数据互通。
# 获取当前用户信息
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/user
# 获取当前用户邮箱
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/user/emails
# 获取当前用户仓库列表
curl -H "Authorization: Bearer $TOKEN" "https://api.gitcode.com/api/v5/user/repos?per_page=20"
# 获取当前用户收藏的仓库
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/user/starred
# 获取当前用户订阅的仓库
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/user/subscriptions
# 获取指定用户信息
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/users/:username
# 获取指定用户的仓库
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/users/:username/repos
# 获取指定用户收藏的仓库
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/users/:username/starred
# 获取用户的组织
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/users/:username/orgs
# 获取当前用户的组织
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/user/orgs
# 添加 SSH 密钥
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"title":"My Key","key":"ssh-rsa AAA..."}' \
https://api.gitcode.com/api/v5/user/keys
# 获取 SSH 密钥列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/user/keys
# 删除 SSH 密钥
curl -X DELETE -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/user/keys/:id# 获取仓库详情
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo
# 获取仓库分支列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/branches
# 获取仓库提交列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/commits
# 获取单个提交详情
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/commits/:sha
# 获取提交 diff
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/commits/:sha/diff
# 获取仓库标签列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/tags
# 获取文件内容
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/contents/:path
# 获取目录树
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/git/trees/:sha
# 获取贡献者列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/contributors
# 获取语言统计
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/languages
# 获取 Star 用户列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/stargazers
# 获取 Fork 列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/forks
# 获取协作者列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/collaborators
# 获取 Webhook 列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/hooks
# 获取版本列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/releases
# 获取仓库通知
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/notifications
# 创建用户仓库
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"name":"my-repo","description":"My repo","private":false,"auto_init":true}' \
https://api.gitcode.com/api/v5/user/repos
# 创建组织仓库
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"name":"org-repo","description":"Org repo"}' \
https://api.gitcode.com/api/v5/orgs/:org/repos
# 更新仓库
curl -X PUT -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"description":"New description","private":false}' \
https://api.gitcode.com/api/v5/repos/:owner/:repo
# 删除仓库 ⚠️
curl -X DELETE -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo
# Fork 仓库
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/forks
# 转移仓库
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"new_owner":"new-owner"}' \
https://api.gitcode.com/api/v5/repos/:owner/:repo/transfer# 获取文件列表 - 404 Not Found
# curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/file-list
# 获取最新版本 - 400 Bad Request (无 release 时)
# curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/releases/latest# 获取分支列表
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/branches
# 获取单个分支详情
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/branches/:branch
# 获取保护分支
curl -H "Authorization: Bearer $TOKEN" https://api.gitcode.com/api/v5/repos/:owner/:repo/protect-branches# 创建分支 - 400 PARAMETER_ERROR
# 参数格式不明确,需要官方文档确认
# curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"branch":"feature","ref":"main"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/branches
# 删除分支 ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/branches/:name# 获取文件内容
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/contents/:path
# 获取原始文件
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/raw/:path
# 获取目录树
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/git/trees/:sha# 创建/更新文件 - 400 Bad Request (需要提供 sha)
# 更新文件时必须提供当前文件的 sha
# curl -X PUT -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"content":"base64 编码","message":"Update file","branch":"main","sha":"xxx"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/contents/:path
# 删除文件 ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"message":"Delete file","branch":"main","sha":"xxx"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/contents/:path# 获取 Issue 列表
curl -H "Authorization: Bearer $TOKEN" \
"https://api.gitcode.com/api/v5/repos/:owner/:repo/issues?state=all"
# 获取 Issue 详情
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number
# 创建 Issue
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"title":"Bug report","body":"Description","labels":["bug"],"assignee":"username"}' \
https://api.gitcode.com/api/v5/repos/:owner/:repo/issues
# 获取 Issue 评论列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number/comments
# 创建 Issue 评论
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"body":"This is a comment"}' \
https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number/comments
# 添加 Issue 标签
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '["bug","enhancement"]' \
https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number/labels
# 获取 Issue 标签
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number/labels
# 获取用户的 Issue
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/user/issues# 更新 Issue - 405 Method Not Allowed (PUT 不支持,可能需要 PATCH)
# curl -X PATCH -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"state":"closed","title":"New title"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number
# 获取 Issue 修改历史 - 404 Not Found
# curl -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number/modify-history
# 删除 Issue ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/issues/:number# 获取项目标签列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/labels# 创建标签 - 400 Bad Request (name 需要作为 query 参数)
# 参数传递方式与文档不符
# curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"name":"bug","color":"#ff0000"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/labels
# 更新标签
# curl -X PUT -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"name":"new-name","color":"#00ff00"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/labels/:original_name
# 删除标签 ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/labels/:name# 获取里程碑列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/milestones
# 获取里程碑详情
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/milestones/:number# 创建里程碑 - 400 Bad Request (日期格式要求 YYYY-MM-DD)
# curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"title":"v1.0","description":"Version 1.0","due_date":"2026-12-31"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/milestones
# 更新里程碑
# curl -X PATCH -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"title":"New title","state":"closed"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/milestones/:number
# 删除里程碑 ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/milestones/:number# 获取 PR 列表
curl -H "Authorization: Bearer $TOKEN" \
"https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls?state=all"
# 获取 PR 详情
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number
# 获取 PR 提交
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number/commits
# 获取 PR 文件变更
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number/files
# 获取 PR 评论列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number/comments
# 创建 PR 评论
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"body":"Comment text"}' \
https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number/comments
# 获取 PR 标签
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number/labels
# 获取 PR 关联的 Issue
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number/issues# 创建 PR - 需要两个有差异的分支
# curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"title":"Fix bug","body":"Description","head":"feature","base":"main"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls
# 合并 PR ⚠️
# curl -X PUT -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"commit_title":"Merge message","merge_method":"merge"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number/merge
# 更新 PR
# curl -X PATCH -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"title":"New title","state":"closed"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/pulls/:number# 获取版本列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/releases
# 获取指定版本
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/releases/tags/:tag# 获取最新版本 - 400 Bad Request (无 release 时)
# curl -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/releases/latest
# 创建版本
# curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"tag_name":"v1.0.0","name":"Version 1.0","body":"Release notes"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/releases
# 删除版本 ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/releases/:id# 搜索用户
curl -H "Authorization: Bearer $TOKEN" \
"https://api.gitcode.com/api/v5/search/users?q=keyword"
# 搜索仓库
curl -H "Authorization: Bearer $TOKEN" \
"https://api.gitcode.com/api/v5/search/repositories?q=keyword"
# 搜索 Issue
curl -H "Authorization: Bearer $TOKEN" \
"https://api.gitcode.com/api/v5/search/issues?q=keyword"# 获取组织详情
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/orgs/:org
# 获取组织成员列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/orgs/:org/members
# 获取组织仓库列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/orgs/:org/repos
# 获取组织 Issue 列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/orgs/:org/issues
# 获取组织 PR 列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/orgs/:org/pull-requests
# 获取看板列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/org/:owner/kanban/list# 获取企业成员列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v8/enterprises/:enterprise/members
# 获取企业 Issue 列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/enterprises/:enterprise/issues
# 获取企业 PR 列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/enterprises/:enterprise/pull-requests
# 获取企业标签
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/enterprises/:enterprise/labels# 获取 Webhook 列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/hooks# 创建 Webhook
# curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"url":"https://example.com/hook","content_type":"json","events":["push"]}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/hooks
# 删除 Webhook ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/hooks/:id# 获取协作者列表
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/collaborators
# 检查协作者权限
curl -H "Authorization: Bearer $TOKEN" \
https://api.gitcode.com/api/v5/repos/:owner/:repo/collaborators/:username/permission# 添加协作者
# curl -X PUT -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
# -d '{"permission":"push"}' \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/collaborators/:username
# 移除协作者 ⚠️
# curl -X DELETE -H "Authorization: Bearer $TOKEN" \
# https://api.gitcode.com/api/v5/repos/:owner/:repo/collaborators/:username# AI 聊天完成
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"model":"qwen-plus","messages":[{"role":"user","content":"Hello"}]}' \
https://api.gitcode.com/api/v5/chat/completions
# 音频转录
curl -X POST -H "Authorization: Bearer $TOKEN" \
-F "file=@audio.mp3" \
https://api.gitcode.com/api/v5/audio/transcriptions
# 视频生成
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"prompt":"A cat playing guitar"}' \
https://api.gitcode.com/api/v5/video/generate# OAuth 授权
GET https://api.gitcode.com/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&response_type=code&scope=scope
# OAuth 令牌
POST https://api.gitcode.com/oauth/token?grant_type=authorization_code&code=CODE&client_id=CLIENT_ID&client_secret=SECRET直接对我说:
支持使用
atomgit.com或gitcode.com域名,效果相同。
| 状态码 | 含义 | 处理 |
|---|---|---|
| 200 | 成功 | - |
| 201 | 创建成功 | - |
| 204 | 删除成功 | - |
| 400 | 请求错误 | 检查参数格式 |
| 401 | Token 无效 | 检查 ATOMGIT_TOKEN |
| 403 | 权限不足 | 检查 token 权限 |
| 404 | 资源不存在 | 确认 owner/repo |
| 405 | 方法不允许 | 尝试其他 HTTP 方法 |
| 429 | 速率限制 | 等待后重试 |
YYYY-MM-DD 格式而非 ISO 8601"due_date":"2026-12-31" 格式| 平台 | 域名 | API 端点 | 备注 |
|---|---|---|---|
| GitCode | gitcode.com | api.gitcode.com | 主域名 |
| AtomGit | atomgit.com | api.atomgit.com | 等效域名 |
两个平台账号互通、Token 通用、数据同步。选择哪个域名完全取决于个人偏好或网络环境。
最后更新: 2026-03-22
测试验证: 46 个接口已测试,37 个成功 (80.4%)
© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in skills/atomgit of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Atomgit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Atomgit this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~5k | Automated safety check: Pass | MIT | |
| GitcodeopenJiuwen-ai/sciencediscovery | 148 | — | ~4.3k | Automated safety check: Pass | Apache-2.0 | |
| External Mindstudio Gitcode Code Reviewerascend-ai-coding/awesome-ascend-skills | 174 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Gitcode Merge Flowascend-ai-coding/awesome-ascend-skills | 174 | — | ~1.4k | Automated safety check: Pass | None | |
| External Gitcode Ascend Megatron Change Analyzerascend-ai-coding/awesome-ascend-skills | 174 | — | ~1.2k | Automated safety check: Pass | None | |
| External Gitcode Ascend Megatron Commit Trackerascend-ai-coding/awesome-ascend-skills | 174 | — | ~1.1k | Automated safety check: Pass | None |
openJiuwen-ai/sciencediscovery
Operate GitCode issues, PRs, wikis, code/MR refs, and cached org templates.
ascend-ai-coding/awesome-ascend-skills
用于审查 GitCode PR,并结合 PR metadata、diff 与整个代码仓上下文生成深度审查结论或发布逐行评论。当用户希望 review GitCode PR、检查某个 GitCode PR 链接、分析变更风险、或将审查意见发布到 GitCode PR 时使用。典型触发方式包括“review this PR”“检视这个 PR”“检查 PR”,或直接提供 GitCode PR…
ascend-ai-coding/awesome-ascend-skills
Automates GitCode open-source repo merge workflow: commit → push → issue → PR → pipeline → review → /lgtm & /approve → merge.
ascend-ai-coding/awesome-ascend-skills
Analyze official Megatron-LM commits, PRs, and branch change sets to identify feature evolution, candidate breaking changes, and migration-relevant events.
ascend-ai-coding/awesome-ascend-skills
Track and normalize change requests against the official Megatron-LM repository by branch, PR, commit, commit range, or time window.
ascend-ai-coding/awesome-ascend-skills
Map migration-relevant Megatron changes onto the official MindSpeed repository by resolving branch alignment, locating affected subsystems, and identifying concrete adaptation points.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
AtomGit/GitCode 仓库管理技能,提供用户、仓库、Issue、PR、文件、分支等 API 操作。AtomGit 和 GitCode 是同一平台的不同域名(atomgit.com / gitcode.com),共享相同的 API 后端。. Atomgit is an agent skill from LeoYeAI/openclaw-master-skills.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a claude-code`. Or copy the skill folder (skills/atomgit in LeoYeAI/openclaw-master-skills) into .claude/skills/atomgit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a codex`. Or copy the skill folder (skills/atomgit in LeoYeAI/openclaw-master-skills) into .agents/skills/atomgit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill atomgit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/atomgit, .gemini/skills/atomgit, .github/skills/atomgit and .opencode/skills/atomgit in your project.
Going by SKILL.md and its folder, Atomgit needs JavaScript for the scripts in its folder, the command-line tools its instructions call (curl) and credentials named ATOMGIT_TOKEN. Our summary lists: Node.js; A credential in ATOMGIT_TOKEN.
SKILL.md names 5 domains. In commands or code: api.gitcode.com and api.atomgit.com; the agent is likely to contact these when it follows the instructions. As links in the text: gitcode.com, atomgit.com and docs.gitcode.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Atomgit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Atomgit: Gitcode (openJiuwen-ai/sciencediscovery, 148 stars), External Mindstudio Gitcode Code Reviewer (ascend-ai-coding/awesome-ascend-skills, 174 stars), Gitcode Merge Flow (ascend-ai-coding/awesome-ascend-skills, 174 stars) and External Gitcode Ascend Megatron Change Analyzer (ascend-ai-coding/awesome-ascend-skills, 174 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,158 GitHub stars. The repository holds 1,215 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.