Platform Features
This chapter dives deep into OpenCode Agent Skills' core functionality modules, including skill discovery, querying, loading, automatic recommendation, script execution, and file reading. After mastering these features, you'll be able to fully leverage the plugin's skill management capabilities to make AI more efficient in serving your development work.
Prerequisites
Before You Begin
Before studying this chapter, ensure you have completed:
- Install OpenCode Agent Skills - Plugin is correctly installed and running
- Create Your First Skill - Understand the basic skill structure
What You'll Learn
| Course | Description | Core Tool |
|---|---|---|
| Skill Discovery Mechanism | Understand where the plugin automatically discovers skills and master priority rules | - |
| Query and List Available Skills | Use the get_available_skills tool to find and filter skills | get_available_skills |
| Load Skills into Session Context | Use the use_skill tool to load skills and understand the XML injection mechanism | use_skill |
| Automatic Skill Recommendation | Understand semantic matching principles to let AI automatically discover related skills | - |
| Execute Skill Scripts | Use the run_skill_script tool to execute automation scripts | run_skill_script |
| Read Skill Files | Use the read_skill_file tool to access skill support files | read_skill_file |
Learning Path
┌─────────────────────────────────────────────────────────────────────────┐
│ Recommended Learning Order │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ 1. Skill Discovery ──→ 2. List Skills ──→ 3. Load Skills │
│ │ │ │ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ Where skills come from Learn to find skills Master loading │
│ │
│ │ │
│ ▼ │
│ │
│ 4. Auto Recommendation ←── 5. Run Scripts ←── 6. Read Files │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ Understand smart match Run automation Access support files │
│ │
└─────────────────────────────────────────────────────────────────────────┘Recommended Learning Order:
- Learn discovery first - Understand where skills come from and how priority is determined
- Then learn querying - Master the usage of
get_available_skillstool - Then learn loading - Understand
use_skilland XML injection mechanism - Then learn auto-recommendation - Understand how semantic matching works (optional, more theoretical)
- Finally learn scripts and files - These are advanced features, learn as needed
Quick Start Path
If you just want to get started quickly, you can learn the first three lessons (discovery → querying → loading), and supplement the others as needed.
Next Steps
After completing this chapter, you can continue learning:
- Advanced Features - Dive deeper into Claude Code compatibility, Superpowers integration, namespace priorities, and other advanced topics
- FAQ - Check troubleshooting and security documentation when you encounter issues
- Appendix - View API reference and best practices