بنقرة واحدة
github
Interact with GitHub using the `gh` CLI. Use for issues, PRs, CI runs, releases, and advanced API queries.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Interact with GitHub using the `gh` CLI. Use for issues, PRs, CI runs, releases, and advanced API queries.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
First-party, sovereign workflows form — author, list, and validate multi-step workflow specs (YAML, DAG of block/command/agent steps with typed I/O). Use when writing or checking .workflows/*.workflow.yaml. Execution (running workflows) is delivered by SP2; this slice provides the form (workflow_list, workflow_validate).
Conduz um experimento de dogfood onde a colônia Pi executa uma task do .project/tasks.json em dois tempos (research → código) com gates do operador. Use quando o operador quiser ativar um experimento colony-experiment-phase1 ou colony-experiment-phase2.
Use when a Pi session needs to continue local-safe work with low operator friction: discover focus, interview only for missing constraints, prepare bounded slices, use workers only behind gates, checkpoint, and stop on real risk.
Interact with web pages via browser automation: navigate, click, fill forms, screenshot, and evaluate JavaScript. Uses Chrome/Chromium remote debugging (CDP).
Operar o control-plane local-first do agents-lab com board canônico, long-runs bounded, handoff/checkpoint, rollout/rollback e espelhos externos sem perder governança.
Guia o cultivo de uma primitiva reutilizável. Use quando o usuário identificar um padrão recorrente que merece ser extraído como skill, extensão ou convenção.
| name | github |
| description | Interact with GitHub using the `gh` CLI. Use for issues, PRs, CI runs, releases, and advanced API queries. |
Use the gh CLI to interact with GitHub. Always specify --repo owner/repo when not inside a git directory, or pass URLs directly.
Disable interactive prompts in agent-run commands:
GH_PROMPT_DISABLED=1 gh <command>
When this workspace uses .project/tasks.json as the canonical board, treat GitHub Issues as an external mirror unless the operator explicitly says otherwise.
Mapping:
number/URL -> task note/evidence external reference.Sync policy:
.project -> GitHub for publication/mirror updates.# List open issues
gh issue list --repo owner/repo
# View an issue
gh issue view 42 --repo owner/repo
# Create an issue
GH_PROMPT_DISABLED=1 gh issue create --title "..." --body "..." --repo owner/repo
# Close an issue
gh issue close 42 --repo owner/repo
# List PRs
gh pr list --repo owner/repo
# View a PR
gh pr view 55 --repo owner/repo
# Create a PR (always provide title and body — never rely on interactive editor)
GH_PROMPT_DISABLED=1 gh pr create --title "..." --body "..." --repo owner/repo
# Check CI status on a PR
gh pr checks 55 --repo owner/repo
# Merge a PR
GH_PROMPT_DISABLED=1 gh pr merge 55 --squash --delete-branch --repo owner/repo
# List recent runs
gh run list --repo owner/repo --limit 10
# View a specific run
gh run view <run-id> --repo owner/repo
# View only failed step logs
gh run view <run-id> --repo owner/repo --log-failed
Most commands support --json with --jq for structured filtering:
gh issue list --repo owner/repo --json number,title,state \
--jq '.[] | "\(.number): \(.title) [\(.state)]"'
gh pr list --repo owner/repo --json number,title,headRefName \
--jq '.[] | "\(.number) [\(.headRefName)]: \(.title)"'
Use gh api for anything not covered by subcommands:
# Get PR details
gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
# List labels
gh api repos/owner/repo/labels --jq '.[].name'
# Paginated results
gh api --paginate repos/owner/repo/issues --jq '.[].title'