converting-slash-commands

Community

Migrate Claude Code slash commands to OpenCode commands.

Authorscottwater
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines migrating Claude Code slash commands to OpenCode command definitions, preserving arguments, shell commands, and file references while updating frontmatter to OpenCode conventions.

Core Features & Use Cases

  • Translates Claude Code frontmatter to OpenCode equivalents (description, agent, model)
  • Converts allowed-tools to agent selection and applies permissions as needed
  • Preserves command content, placeholders ($ARGUMENTS, $1, $2) and syntax for shell commands
  • Supports batch conversion across a project

Quick Start

Copy a Claude Code command into the target OpenCode directory (e.g., .opencode/command/). Run the convert_command.sh script to generate an OpenCode command, then review and test by invoking the command.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: converting-slash-commands
Download link: https://github.com/scottwater/config/archive/main.zip#converting-slash-commands

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.