← Back to Posts

A Comprehensive Guide to Adding Skills on OpenCode

Learn how to add skills on OpenCode with this step-by-step guide, covering the basics of OpenCode skills, how to create a skill, and use the skill in your workflow.

2026-03-13
By Jake Alberio
opencodeskillsagent skillsgithubcopilot cli

What are OpenCode Skills?

OpenCode skills are a powerful feature that allows you to extend the functionality of the OpenCode interface. With skills, you can create custom tools and integrations that work seamlessly with the OpenCode platform.

Why Use OpenCode Skills?

OpenCode skills offer a wide range of benefits, including:

  • Increased productivity: With skills, you can automate repetitive tasks and streamline your workflow.
  • Improved collaboration: OpenCode skills enable you to share custom tools and integrations with your team, making it easier to collaborate and work together.
  • Enhanced customization: Skills allow you to tailor the OpenCode interface to your specific needs and workflows.

Getting Started with OpenCode Skills

To start using OpenCode skills, you'll need to create a new skill. Here's a step-by-step guide on how to do it:

1. Create a New Skill

To create a new skill, you'll need to navigate to the OpenCode skills repository on GitHub. From there, you can create a new skill by clicking on the "New Skill" button.

language
1// Create a new skill 2opencode skills create --name my-skill --description "My custom skill"

2. Define Your Skill

Once you've created your new skill, you'll need to define its functionality. This involves writing code that implements the skill's logic.

language
1// Define your skill in index.ts 2import { Skill } from '@opencode/skill'; 3 4const mySkill: Skill = { 5 name: 'my-skill', 6 description: 'My custom skill', 7 execute: async (context: any) => { 8 // Implement your skill's logic here 9 }, 10}; 11 12export default mySkill;

3. Test and Deploy Your Skill

Once you've defined your skill, you'll need to test it to ensure it works as expected. After testing, you can deploy your skill to the OpenCode platform.

Using Your New Skill

Now that you've created and deployed your new skill, you can use it in your workflow. Here's how:

1. Restart OpenCode

To use your new skill, you'll need to restart OpenCode.

2. Use Your Skill

Once OpenCode has restarted, you can use your new skill by navigating to the OpenCode interface and clicking on the "Skills" tab. From there, you can select your new skill and use it in your workflow.

Conclusion

Adding skills on OpenCode is a powerful way to extend the functionality of the OpenCode interface. With skills, you can create custom tools and integrations that work seamlessly with the OpenCode platform. In this guide, we've covered the basics of OpenCode skills, how to create a skill, and use the skill in your workflow. We hope you've found this guide helpful in getting started with OpenCode skills.


References

Image

Opencode InterfaceOpencode Interface

Table of Contents

  1. What are OpenCode Skills?
  2. Why Use OpenCode Skills?
  3. Getting Started with OpenCode Skills
  4. Using Your New Skill
  5. Conclusion
  6. References
  7. Image
  8. Table of Contents

Credits

Dev Genius and JP Caparas for their contributions to the OpenCode skills ecosystem.