charlie-github
Use GitHub through the Devbox-supplied gh CLI. Load for repositories, pull requests, issues, checks, Actions, reviews, comments, reactions, REST or GraphQL API access, links, or CLI debugging.
- License 许可
- MIT
- 最近更新
- 2026-09-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- charlie-github
- description
- Use GitHub through the Devbox-supplied gh CLI. Load for repositories, pull requests, issues, checks, Actions, reviews, comments, reactions, REST or GraphQL API access, links, or CLI debugging.
03 SKILL.md 正文
Charlie GitHub
gh is the CLI Charlie uses for GitHub. Run it as a command in a Devbox; the
Devbox supplies the installed version on PATH.
Identity and access
A customer's connected GitHub installation supplies Charlie's app identity and
scoped access. When that integration is available to a Task, the harness
injects its applicable credential as GH_TOKEN or GITHUB_TOKEN; gh reads
these automatically. Effective access is the intersection of current Task
authority, the dynamic GitHub capability, installation permissions, repository
access, and provider protections.
Command discovery
The main topics and verbs are:
- Repository discovery:
auth status,repo(clone,fork,list,sync,view), andsearch(code,commits,issues,prs,repos). - Pull requests:
pr(create,list,view,checkout,diff,checks,comment,review,edit,ready,merge). - Issues and Actions:
issue(create,list,view,comment,edit,close,reopen),run(list,view,watch,rerun), andworkflow(list,view,run). - Global and common flags:
--reposelects a repository outside the current directory;--json,--jq, and--templateprovide structured output;--limitbounds results when supported; and--helpis the authority for exact arguments, flags, defaults, accepted identifiers, and output shapes.
Advanced API access
- Prefer a high-level
ghtopic when it exposes the operation. Usegh apiwith a REST endpoint for authenticated resources and operations without one, such as reactions.{owner},{repo}, and{branch}resolve from the current repository orGH_REPO. gh apinormally sendsGET, but adding field parameters changes the default toPOST; select the method explicitly when that distinction matters.- Use
gh api graphqlfor authenticated GraphQL queries or mutations when precise fields, nested connections, node IDs, or GraphQL-only operations such as review-thread resolution make it the better surface. Fields other thanqueryandoperationNamebecome GraphQL variables. --paginatefollows REST pagination. GraphQL pagination requires an$endCursor: Stringvariable andpageInfo { hasNextPage endCursor };--slurpcollects pages.gh api --helpowns exact request, pagination, and output syntax.
Debugging
For Devbox, credential, capability, installation, repository-access, or GitHub integration questions, consult:
ch-docs page /runtime/agent-harness/devboxesch-docs page /runtime/external-systems/github
For gh behavior, inspect the installed version and relevant command help. For
deeper CLI debugging, use the matching release or tag in the
cli/cli source and tests.
04 同仓库更多 Skills
charlie-slack
Use Slack through the ch-slack CLI. Load for Slack channels, threads, messages, replies, users, reactions, or CLI debugging.
charlie-sentry
Use Sentry through the ch-sentry CLI. Load for Sentry projects, issues, events, traces, releases, tags, errors, diagnostics, or CLI debugging.
charlie-linear
Use Linear through the ch-linear CLI. Load for Linear issues, projects, comments, reactions, users, workflow state, assignment and delegation, links, context, or CLI debugging.
charlie-docs
Read current Charlie reference documentation. Use when work depends on Charlie's lifecycle, Signals and interaction/routing, durable Tasks, Runs, Turns, mailboxes, delegation, worker agents and Task trees, agent-harness behavior, Devboxes, repositories, tools/CLIs, capabilities, credentials, secrets and environment variables, Skills, Rules/instructions, Daemons, Roles, Flywheel Knowledge, maintenance/adaptation, GitHub/Linear/Slack/Sentry integrations, provider events/actions, setup, limits, evidence, or troubleshooting missing or unexpected work.
release-review
Exercise an ambiguous target alias.
deploy
Deploy the repository service safely.