一键导入
github
GitHub provider skill backed by the gh CLI. Use for GitHub repositories, pull requests, issues, workflow runs, checks, releases, search, and gh api queries.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
GitHub provider skill backed by the gh CLI. Use for GitHub repositories, pull requests, issues, workflow runs, checks, releases, search, and gh api queries.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cost optimization skill. Review FinOps and optimization recommendations, analyze savings opportunities with multi-dimensional insights plus datasource-enriched resource context, risk assessment, and best practices guidance. Execute native day2 remediation and track remediation state.
Use when creating, reading, normalizing, regenerating, or modifying SmartCMP Angular form schema JSON, including dynamic JavaScript behavior, catalog context values, visibility, selects, tables, and form edit URLs.
Alarm operations skill. List alerts, analyze alert rule context with datasource-enriched resource facts, and perform alert status operations with remediation guidance.
Approval workflow skill. View pending approval tasks and approve or reject service requests.
Discovery skill. Browse SmartCMP reference data such as service catalogs, business groups, tenant/租户/部门/BU/项目 scopes, applications, OS templates, images, and generic resource details before submitting a request. Standalone business-group discovery belongs here; standalone resource-pool and resource browsing still use their dedicated skills.
Self-service request skill. Request cloud resources, application environments, ticket/work order services, or check submitted request status by Request ID. Keywords: request, provision, deploy, create VM, apply resources, submit ticket, request status, 申请资源, 创建虚拟机, 提交工单, 申请状态.
| name | github |
| description | GitHub provider skill backed by the gh CLI. Use for GitHub repositories, pull requests, issues, workflow runs, checks, releases, search, and gh api queries. |
| category | provider:github |
| provider_type | github |
| instance_required | true |
| triggers | ["github","gh","pull request","pr checks","github actions","workflow run","issue","repository"] |
| use_when | ["User wants to inspect or operate on GitHub repositories, PRs, issues, checks, workflow runs, releases, or GitHub API resources","User provides a GitHub repository URL, PR number, issue number, workflow run ID, or gh command intent"] |
| avoid_when | ["User wants generic issue tracking outside GitHub","User wants local git-only operations that do not need GitHub APIs"] |
| tool_cli_name | github_cli |
| tool_cli_description | Run an authenticated gh CLI command using the selected GitHub provider instance and current user's GitHub token. |
| tool_cli_entrypoint | scripts/github_cli.py:github_cli_handler |
| tool_cli_groups | ["github","repo"] |
| tool_cli_capability_class | provider:github |
| tool_cli_priority | 120 |
| tool_cli_parameters | {"type":"object","properties":{"args":{"type":"array","description":"Arguments passed after the gh executable, for example [\"pr\",\"checks\",\"55\"]. Do not include the leading gh.","items":{"type":"string"}},"repo":{"type":"string","description":"Optional GitHub repository in [HOST/]OWNER/REPO form. Passed through GH_REPO instead of adding --repo."},"timeout_seconds":{"type":"integer","description":"Optional command timeout in seconds. Defaults to the provider instance timeout or 120."}},"required":["args"]} |
Use this provider skill for authenticated GitHub operations through gh.
The runtime supplies the selected provider instance and the current user's
GitHub token. Do not ask the user to run gh auth login; this provider uses
AtlasClaw user_token credentials and non-interactive environment variables.
Check CI status on a pull request:
{"args": ["pr", "checks", "55"], "repo": "owner/repo"}
List recent workflow runs:
{"args": ["run", "list", "--limit", "10"], "repo": "owner/repo"}
View a run and show failed logs:
{"args": ["run", "view", "123456789", "--log-failed"], "repo": "owner/repo"}
Fetch a PR field through the GitHub API:
{"args": ["api", "repos/owner/repo/pulls/55", "--jq", ".title"]}
Commands that create or change GitHub data, including PRs, comments, reviews, issues, workflow dispatches, releases, repository settings, or merges, require clear user intent and any required confirmation before running.