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`.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-github-copilot" with this command: npx skills add yanglinzhen/openclaw-github-copilot

OpenClaw GitHub Copilot

Use this skill to make GitHub Copilot the simplest possible OpenClaw default.

This skill is for four jobs:

  1. first-time GitHub Copilot setup in OpenClaw
  2. switching the default model to Copilot
  3. fixing common copilot-bridge/github-copilot auth or alias issues
  4. giving the user one short command path instead of a pile of manual steps

What this skill assumes

  • openclaw is 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-auto points 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:

  1. say whether the model exists
  2. say whether it is already the default
  3. give the next exact command
  4. 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 walkthrough
  • references/troubleshooting.md - missing model, alias, auth, and session behavior
  • references/publish-checklist.md - release checklist for publishing to ClawHub

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

workspace-backup-github

Backup AI Agent workspace to GitHub - One-click backup for OpenClaw, Claude Code, Cursor, and other AI Agent workspaces to a private GitHub repository. Suppo...

Registry SourceRecently Updated
2790Profile unavailable
Coding

GitHub项目调研器

GitHub 项目调研与对比工具。当用户要求'搜索 GitHub 项目'、'对比开源项目'、'选一个 XX 工具'、'哪个项目最受欢迎/活跃'、'评估哪个好'、'怎么选'等场景时使用。通过 GitHub API 搜索、采集数据、系统化对比,输出结构化推荐报告。

Registry SourceRecently Updated
1470Profile unavailable
Coding

Agent Memory System Guide

Use when setting up or improving an agent memory workflow for OpenClaw, Codex, or Obsidian with MEMORY.md, daily notes, session recovery, and optional OpenVi...

Registry SourceRecently Updated
3330Profile unavailable
Coding

GitHub Monitor

Monitor one or more GitHub repositories and send low-noise alerts with configurable policy modes (major_only, balanced, verbose). Use when setting up recurri...

Registry SourceRecently Updated
4210Profile unavailable