migrate-copilot-to-opencode

Migrate VS Code Copilot agent markdown files to OpenCode inline configurations.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Oxilith/CopilotSkills --skill migrate-copilot-to-opencode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-copilot-to-opencode
Source: https://github.com/Oxilith/CopilotSkills/tree/main/.agentskills/skills/migrate-copilot-to-opencode
Command: npx skills add https://github.com/Oxilith/CopilotSkills --skill migrate-copilot-to-opencode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill migrates VS Code Copilot agents (.github/agents/*.md) to OpenCode native agents with fully inline definitions in opencode.json. It handles tool mapping, model translation, handoff conversion, language rewording, mode selection, and temperature configuration, while preserving the original artifacts.

Core Features & Use Cases

  • Migrate Copilot agent definitions to OpenCode inline agents in opencode.json.
  • Convert Copilot tools, models, handoffs, and prompts to OpenCode-compatible formats.
  • Use case: port a set of .github/agents/*.md into a standalone OpenCode agent ready for deployment.

Quick Start

Use this skill to migrate selected Copilot agent markdown files to OpenCode inline definitions and update opencode.json. After migration, run the validation script to verify the new configuration.

Frequently Asked Questions about migrate-copilot-to-opencode

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Copilot agents to OpenCode?

To migrate Copilot agents to OpenCode, this skill parses Copilot frontmatters from .github/agents/*.md files and rewrites them as inline configurations in opencode.json. It automatically handles tool mapping, model translation, and prompt conversion.

What does converting Copilot tools to OpenCode inline configurations involve?

Converting Copilot tools to OpenCode inline configurations involves parsing agent markdown frontmatters and translating tools, models, handoffs, and prompts into a compatible opencode.json entry. The process also applies language rewording, mode selection, and temperature configuration.

Can I use this to port VS Code Copilot agents without losing my original files?

Yes, you can port VS Code Copilot agents without losing original files because the migration process preserves the original Copilot artifacts. It reads the .github/agents/*.md files and generates a new opencode.json entry without deleting the sources.

What is the best way to translate Copilot handoffs and models for OpenCode?

The best way to translate Copilot handoffs and models for OpenCode is using an automated migration tool that parses frontmatters. This skill specifically converts Copilot handoffs and models into OpenCode-compatible formats while configuring temperature and mode settings.

How do I validate my opencode.json after migrating from Copilot?

To validate your opencode.json after migrating from Copilot, run the validation script included in the skill's scripts component. This verifies the newly generated inline configurations and ensures the tool mapping and model translation are correct.