gitcode
Fetch and query data from GitCode platform via its REST API: repositories, branches, issues, pull requests, commits, tags, users, organizations, search, webhooks, members, releases and more. 查询 GitCode 上的仓库、分支、议题、PR、提交、标签、用户、组织等数据。Python 3.7+ standard library only.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/autoxj/gitcodeWhat This Skill Does
The gitcode skill is a powerful automation utility designed for developers and project managers to interact with the GitCode platform directly via OpenClaw. It provides a robust interface to the GitCode v5 REST API, enabling users to perform a wide variety of operations without ever leaving their chat or automation workflow. Whether you need to fetch repository metadata, audit branch health, list issues and pull requests, or retrieve commit history, this skill handles the heavy lifting of API communication, authentication management, and structured data retrieval.
Installation
To integrate this skill into your environment, use the OpenClaw command-line interface. Run the following command in your terminal:
clawhub install openclaw/skills/skills/autoxj/gitcode
Ensure that you have Python 3.7+ installed, as this skill relies on the standard library to execute requests. After installation, consider configuring your GitCode access token as an environment variable (GITCODE_TOKEN) to enable seamless, authenticated access to private resources.
Use Cases
- Project Management: Quickly audit the status of all open pull requests and assigned issues across multiple repositories for a team or organization.
- CI/CD Integration: Automatically trigger or monitor webhooks and release processes by querying the latest tag data or commit status.
- Development Workflow: Search for specific code segments or repositories across the platform and fetch file lists or branch details to expedite context switching.
- Reporting: Collect data on contributor activity, member permissions, or repository growth metrics to generate weekly status reports.
Example Prompts
- "List all open pull requests for the repository 'owner/repo' and summarize the top 3 issues that need attention."
- "Find the latest release tag for 'org/project' and provide a link to the corresponding commit history."
- "Search for all public repositories under the organization 'OpenClaw' that contain the keyword 'automation' and return their star counts."
Tips & Limitations
- Authentication: Always prioritize setting your
GITCODE_TOKENas an environment variable to avoid repeatedly providing credentials in chat. Ensure your token has the necessary scopes (read_api,read_repository) enabled. - Rate Limiting: Be mindful of the platform's API rate limits (default 50 requests per minute/4000 per hour). If your automation tasks involve high-volume data scraping, consider implementing local caching or retry logic.
- Documentation: For advanced queries, refer to the
reference.mdfile included with the skill, which acts as the canonical source for all available v5 API endpoints, request parameters, and expected response schemas.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-autoxj-gitcode": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
deepwiki-ask
通过 DeepWiki MCP 查询仓库信息。支持提问、获取结构、获取文档内容。Query a repository via DeepWiki MCP: ask questions, get structure, get documentation. 用户提供 owner/repo 时触发。
gitcode-release-notes
Generate release notes for GitCode repositories from commits (by tag range or since-date), grouped as feat/fix/docs/other, output Markdown for Release pages. 按 tag 区间或日期拉取提交并生成版本发布公告 Markdown。Python 3.7+ standard library only.
skill-everyday
每天抓取 Clawhub 热门技能,深入分析并生成报告。每次执行获取一个未分析过的热门技能,避免重复。
gitcode-pr-audit
Quality audit for merged GitCode PRs: sample by time range or repo list, check compliance (labels, comments, tests, size, etc.), output table. Use when user asks to 抽检/质量检查 已合入的 PR 规范性、多仓库 PR、或 将结果整理成表格. Multi-repo (owner/repo). Python 3.7+ stdlib only.
pr-comment-fix
按 GitCode PR 检视意见修改代码。需 GITCODE_TOKEN。Use when 用户要修改 PR 检视意见。