oc-skill

Create and refine AI skills for Claude Code and OpenCode platforms.

Updated Jun 20, 2025
One-click install
npx skills add https://github.com/rfhold/dot --skill oc-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oc-skill
Source: https://github.com/rfhold/dot/tree/main/.config/opencode/skills/oc-skill
Command: npx skills add https://github.com/rfhold/dot --skill oc-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and enhancement of AI-driven skills, ensuring they are well-defined, discoverable, and adhere to best practices for tools like Claude Code and OpenCode.

Core Features & Use Cases

  • Skill Creation: Guides users through defining new skills with appropriate frontmatter and instructions.
  • Skill Refinement: Helps improve existing skills by ensuring clarity, conciseness, and adherence to prompt engineering principles.
  • Use Case: You need to create a new skill for your AI assistant that can summarize code snippets. This Skill will help you define the SKILL.md file, including the name, description, and the instructions for the AI.

Quick Start

Use the oc-skill to create a new skill for summarizing markdown files.

Frequently Asked Questions about oc-skill

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

FAQPage Schema
How do I create a custom AI skill for Claude Code?

Create a custom AI skill for Claude Code by defining the directory structure and writing the SKILL.md file with appropriate frontmatter, metadata, and instructions. This ensures the skill is discoverable and functional within the platform.

What is the best way to structure prompts for OpenCode skill development?

Structure prompts for OpenCode skill development by ensuring clarity, conciseness, and adherence to prompt engineering best practices. This involves defining specific skill metadata and instructions tailored to the platform's requirements.

Does Claude Code require specific frontmatter for AI skills to be discoverable?

Claude Code requires specific frontmatter in the SKILL.md file for AI skills to be discoverable. Defining the skill name, description, and metadata according to the specified format ensures the platform can properly index and utilize the skill.

How can I refine an existing AI skill for code generation?

Refine an existing AI skill for code generation by reviewing the SKILL.md file to improve clarity, conciseness, and prompt engineering principles. This process ensures the skill meets tool-specific requirements for optimal functionality.

Why are my custom AI skills not triggering in OpenCode?

Custom AI skills may not trigger in OpenCode if the skill metadata or directory structure does not adhere to the specified formats. Ensuring the SKILL.md file follows prompt engineering best practices and tool-specific requirements resolves discoverability issues.