openclaw-github-copilot
Use GitHub Copilot as your OpenClaw coding agent via the built-in copilot-bridge. Use when setting up Copilot for the first time, switching the default model, diagnosing auth or alias issues, or giving someone the shortest working path to `copilot-bridge/github-copilot`.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- openclaw-github-copilot
- homepage
- https://docs.openclaw.ai/cli/models
- metadata
- { "openclaw": { "emoji": "🐙", "install": [ { "id": "node", "bins": [ "openclaw" ], "kind": "node", "label": "Install OpenClaw CLI", "package": "openclaw" } ], "homepage": "https://docs.openclaw.ai/cli/models", "requires": { "bins": [ "openclaw" ] } } }
- description
- Use GitHub Copilot as your OpenClaw coding agent via the built-in copilot-bridge. Use when setting up Copilot for the first time, switching the default model, diagnosing auth or alias issues, or giving someone the shortest working path to `copilot-bridge/github-copilot`.
03 SKILL.md 正文
OpenClaw GitHub Copilot
Use this skill to make GitHub Copilot the simplest possible OpenClaw default.
This skill is for four jobs:
- first-time GitHub Copilot setup in OpenClaw
- switching the default model to Copilot
- fixing common
copilot-bridge/github-copilotauth or alias issues - giving the user one short command path instead of a pile of manual steps
What this skill assumes
openclawis installed- the user has GitHub Copilot access on the GitHub account they will log in with
- the agent prefers OpenClaw CLI commands over hand-editing config files
Fast path
Start with the single diagnostic command:
bash {baseDir}/scripts/copilot-quickstart.sh --probe
If the user wants Copilot to become the default model and auth is already valid:
bash {baseDir}/scripts/copilot-quickstart.sh --probe --activate
If auth is missing or expired and you are in an interactive TTY:
bash {baseDir}/scripts/copilot-quickstart.sh --probe --login --activate
That wrapper is the preferred entrypoint because it:
- checks whether the Copilot model exists
- checks whether the short alias exists
- optionally creates the alias when asked
- optionally runs the official GitHub Copilot device login
- optionally switches the default model to Copilot
Canonical identifiers
- Full model id:
copilot-bridge/github-copilot - Preferred alias:
copilot-auto
Always verify what OpenClaw already knows before claiming anything:
openclaw models list --plain
openclaw models aliases list
openclaw models status --plain
If the alias exists, prefer it in human-facing instructions because it is shorter:
openclaw models set copilot-auto
If the alias is missing, use the full model id:
openclaw models set copilot-bridge/github-copilot
Recommended workflow
1. Diagnose first
Run:
bash {baseDir}/scripts/copilot-status.sh
Use the stronger live probe when auth freshness matters:
bash {baseDir}/scripts/copilot-status.sh --probe
The script reports:
- whether the Copilot model is registered
- whether
copilot-autopoints at that model - what the current default model is
- whether GitHub Copilot is already the active default
2. Authenticate only with the official flow
If the model exists but auth is missing or stale, use:
openclaw models auth login-github-copilot
Important:
- this requires an interactive TTY
- it may require a browser/device-code step
- do not pretend it can be completed silently in the background
3. Switch the default model
If the user explicitly wants Copilot as the default model:
bash {baseDir}/scripts/copilot-activate.sh
Or use the wrapper:
bash {baseDir}/scripts/copilot-quickstart.sh --activate
4. Confirm result
Verify with:
openclaw models status --plain
The configured default should resolve to copilot-bridge/github-copilot.
If the current session still behaves like the old model, start a fresh OpenClaw session. Skill and default-model changes are most reliable in a new session.
Good trigger phrases
Use this skill for requests like:
- "让 OpenClaw 用 GitHub Copilot"
- "把默认 agent 切到 Copilot"
- "检查 Copilot bridge 配好了没有"
- "GitHub Copilot 在 OpenClaw 里怎么登录"
- "给我一个最简单的 Copilot 配置流程"
- "copilot-auto 不生效"
Practical response pattern
When helping a user, keep the answer operational:
- say whether the model exists
- say whether it is already the default
- give the next exact command
- only mention manual alias cleanup or config editing if the CLI flow is insufficient
Example:
GitHub Copilot 这个模型已经在 OpenClaw 里了,但当前默认模型不是它。
直接执行 `bash {baseDir}/scripts/copilot-quickstart.sh --probe --activate`。
如果后面提示鉴权失效,再跑 `openclaw models auth login-github-copilot`。
References
references/setup-guide.md- full first-time setup walkthroughreferences/troubleshooting.md- missing model, alias, auth, and session behaviorreferences/publish-checklist.md- release checklist for publishing to ClawHub
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.