title: GitHub Copilot skill runtime status: experimental kind: feature mode: infra source: > RFC-AI-0004 Principle 3 (vendor neutrality) and issue #318. Implemented by the canonical .agents/skills tree, the .github/skills relay, .github/copilot-instructions.md, docs/adapters/harnesses/copilot.md, the .github/hooks/magpie.json guard hook (tools/agent-guard --copilot), and tools/agent-isolation. acceptance:
Makes GitHub Copilot a native Magpie runtime rather than a delegation target. Copilot reads the same workflow sources as every other harness and drives the same deterministic tools/ bridges, under GitHub's own confirmation and review boundaries.
Copilot is two operational surfaces, not one, and they carry different risk. The interactive CLI (copilot) is terminal-native and operator-driven, confirming each command. The Coding Agent is server-side and autonomous: it is assigned an issue or mentioned on a PR and authors a scoped Draft Pull Request. Every rule below that distinguishes the two does so because one runs on the operator's machine and the other on shared cloud infrastructure.
.agents/skills/ - canonical cross-harness skill symlinks..github/skills/ - the relay path Copilot also discovers..github/copilot-instructions.md - repository instructions, read alongside AGENTS.md.docs/adapters/harnesses/copilot.md - the harness adapter guide.~/.copilot/mcp-config.json - MCP servers for the CLI; the Coding Agent configures its own in repository Copilot settings.tools/agent-isolation/agent-iso.sh - the clean-environment launcher.tools/adversarial-review/ - Copilot CLI as an adversarial reviewer backend (see adversarial review)..agents/skills/ and .github/skills/; repository instructions come from .github/copilot-instructions.md and AGENTS.md, which in turn reference the adopter's <project-config>/. No Copilot-specific copy of a workflow exists.--allow-all and --yolo bypass exactly that gate and must not be enabled. Outbound communication, issue state changes, and remote pushes stay gated on approval.tools/privacy-llm/models.md. Using it on <security-list> or <private-list> material requires an explicit opt-in declared in <project-config>/privacy-llm.md.AGENTS.md.agent-iso copilot strips ambient cloud tokens while preserving git, uv, gh, and copilot. It adds no push gate: Copilot receives the live SSH_AUTH_SOCK and nothing at the wrapper boundary stops a git push. Branch protection and keeping the permissive flags off are what actually hold. Stripping local environment variables also does nothing to the cloud inference boundary above.copilot -p with the brief directory added and the shell and write tools denied, pinned by tools/adversarial-review/tests/test_backends.py, and skips it when Copilot is the harness running the review. Only the diff and the public PR title and body are in its prompt. Copilot CLI has no command-file mechanism, so adversarial-review commands --harness copilot returns an empty path and setup config adversarial-review shows the one-line invocation instead of writing a file.tools/sandbox-lint to validate, so there is no Copilot branch in that validator. The committed surface is the .github/hooks/magpie.json guard hook.git push at the wrapper for this harness - see the Layer 0 caveat above; that is an agent-isolation gap, not a Copilot one..agents/skills/ or .github/skills/..github/copilot-instructions.md exists and points at AGENTS.md and the adopter's <project-config>/.--allow-all / --yolo are documented as prohibited. Provably read-only commands are allowed by the --copilot guard hook without a prompt (PRINCIPLES.md ยง1, Avoiding prompt fatigue), and the isolated-setup install asks no question beyond the single apply confirmation.<project-config>/privacy-llm.md.# Skill discovery topology across every harness path PYTHONUTF8=1 uv run --project tools/symlink-lint symlink-lint # Skill and tool metadata PYTHONUTF8=1 uv run --project tools/skill-and-tool-validator --group dev \ skill-and-tool-validate # Vendor-neutrality score reflects the added harness PYTHONUTF8=1 uv run --project tools/vendor-neutrality-score \ vendor-neutrality-score # Adapter guide TOC and formatting uv run prek run doctoc --all-files
tools/sandbox-lint checks. Copilot's repository settings cannot carry tool allow rules, so its posture is the guard hook plus documentation; the hook is tested in tools/agent-guard/tests/test_copilot.py, not linted.agent-isolation limitation for every generic agent-iso <cli> invocation, not specific to Copilot..mcp.json or the CLI's ~/.copilot/mcp-config.json can..github/copilot-instructions.md in the framework repository. docs/adapters/harnesses/copilot.md shows the file as something an adopter configures, but this repository ships none, so acceptance criterion 2 is met only in adopters that add it.