Agent SkillsTracer-Cloud/opensre › github-cli

github-cli

GitHub

用于执行 GitHub CLI 操作,支持创建、查看、管理 Issue 和 PR,以及仓库搜索和 API 调用。优先于 shell_run,禁止用于收集或调查任务,仅限动作执行。

tools/github_cli/SKILL.md Tracer-Cloud/opensre

Trigger Scenarios

需要创建、编辑、关闭 Issue 或 PR 查询 Issue、PR 列表或详情 合并 Pull Request 列出仓库或搜索问题 直接调用 GitHub REST API

Install

npx skills add Tracer-Cloud/opensre --skill github-cli -g -y
More Options

Non-standard path

npx skills add https://github.com/Tracer-Cloud/opensre/tree/main/tools/github_cli -g -y

Use without installing

npx skills use Tracer-Cloud/opensre@github-cli

指定 Agent (Claude Code)

npx skills add Tracer-Cloud/opensre --skill github-cli -a claude-code -g -y

安装 repo 全部 skill

npx skills add Tracer-Cloud/opensre --all -g -y

预览 repo 内 skill

npx skills add Tracer-Cloud/opensre --list

SKILL.md

Frontmatter
{
    "name": "github-cli",
    "tools": [
        "github_cli"
    ],
    "description": "Default GitHub skill for the action agent. Use github_cli for any GitHub request — create\/list\/view issues and PRs, assign, labels, repos, releases, checks, github.com\/owner\/repo URLs, or gh api. Prefer over shell_run\/!gh. Never assistant_handoff these to gather — github_cli is action-only.\n"
}

github-cli

Authenticated gh for OpenSRE. Reads and writes — no approval gate. Prefer over shell_run / !gh. Pass args after gh; optional repo as owner/name-R. Blocked top-level: auth, extension, workflow, run, secret, codespace, ssh-key, gpg-key, config.

Capabilities

Intent Example args
Create issue ["issue", "create", "--title", "…", "--body", "…"]
List / view issues ["issue", "list"] / ["issue", "view", "42"]
Close / comment / edit ["issue", "close", "42"] / ["issue", "comment", "42", "--body", "…"]
List / view / merge PRs ["pr", "list"] / ["pr", "view", "45"] / ["pr", "merge", "45"]
Repos / search ["repo", "list"] / ["search", "issues", "crash"]
Arbitrary API ["api", "repos/OWNER/REPO/issues"]

After github_cli returns

Use summary when present. Reply short and chat-like.

  • Simple (create/close/comment/merge, URL/#n): plain prose, one sentence.
  • Structured reads: light chat markdown — short lead-in + bullets (* #42 — title); no tables/headers.
  • Mutate extras: at most 2–4 bullets. No GraphQL/JSON dumps. No "I found:".
  • Failure: one sentence from error / error_type — say it failed to run.

Prefer dedicated tools when they clearly fit

Slack propose/execute; workflow digests; investigation code/commit search. Multi-source RCA (sentry + github issues + posthog) → investigation_start.

Limitations

gh on PATH; OpenSRE token auth. Action-only — not in gather/investigation.

Version History

  • 719551f Current 2026-07-24 21:56

Same Skill Collection

core/agent_harness/prompts/skills/architecture_audit/SKILL.md
core/agent_harness/prompts/skills/github_ci_fix_onboarding/SKILL.md
core/agent_harness/prompts/skills/github_ci_fix/SKILL.md
core/agent_harness/prompts/skills/github_cli/SKILL.md
core/agent_harness/prompts/skills/github_security_fix/SKILL.md
core/agent_harness/prompts/skills/morning_report/SKILL.md
integrations/github/tools/ci_fix/SKILL.md
integrations/github/tools/github_cli/SKILL.md
integrations/github/tools/security_fix/SKILL.md
integrations/github/tools/workflow/SKILL.md
integrations/posthog/tools/skills/posthog-summary/SKILL.md
integrations/sentry/tools/skills/sentry-summary/SKILL.md
integrations/yandex_cloud/tools/SKILL.md
tools/system/python_execution_tool/skills/github-star-velocity/SKILL.md

Metadata

Files
0
Version
719551f
Hash
581c4135
Indexed
2026-07-24 21:56

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 05:41
浙ICP备14020137号-1 $mapa de visitantes$