migrate-to-skills

Convert legacy subagents, slash commands, and rules into SKILL.md-based skills.

450|36|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/kasperjunge/agent-resources --skill migrate-to-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-skills
Source: https://github.com/kasperjunge/agent-resources/tree/main/.opencode/skill/migrate-to-skills
Command: npx skills add https://github.com/kasperjunge/agent-resources --skill migrate-to-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Legacy subagents, slash commands, and rules live outside the unified Agent Skills format. This workflow provides a structured migration path that converts them into SKILL.md–based skills for consistent tooling and activation.

Core Features & Use Cases

  • Phase-driven workflow from discovery to conversion across multiple resource types (subagents, commands, rules) and toolchains.
  • Produces standardized SKILL.md frontmatter and body content ready for activation, while preserving original material for reference.
  • Enforces required fields (name, description) and applies needed fields (context for subagents, model simplification, and activation behavior).

Quick Start

Run a migration pass to convert all legacy artifacts to skills and review the resulting SKILL.md files.

Frequently Asked Questions about migrate-to-skills

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

FAQPage Schema
How do I migrate legacy subagents and slash commands to unified Agent Skills?

Migrating legacy subagents requires converting them into SKILL.md files with standardized frontmatter. The workflow enforces required fields like name and description, while applying subagent context and activation behavior for consistent skill creation.

What is the unified Agent Skills format for standardizing automation workflows?

The unified Agent Skills format uses SKILL.md files to standardize automation workflows. It replaces disparate legacy rules and subagents with a consistent structure, enforcing required frontmatter fields like name and description for reliable activation.

Does converting legacy rules to SKILL.md preserve the original material?

Yes, converting legacy rules to SKILL.md preserves original material for reference. The workflow generates standardized frontmatter and body content for activation without discarding the source subagents or slash commands during the transition.

What fields are required when converting subagents into SKILL.md files?

Required fields for converting subagents into SKILL.md files include name and description. The migration workflow also enforces needed fields such as subagent context, model simplification, and activation behavior to ensure consistent skill creation.

Can I use a single workflow to convert multiple resource types like commands and rules?

Yes, a single phase-driven workflow supports converting multiple resource types including commands and rules. It handles discovery, classification, approval, and conversion across multiple toolchains to ensure safe and repeatable transitions.