Appendix
This chapter provides reference materials and development specifications for OpenCode Agent Skills, helping you write high-quality skills and quickly consult API interfaces.
What You'll Learn
| Page | Description |
|---|---|
| --- | --- |
| API Tool Reference | View detailed parameters and return values for all available tools, including get_available_skills, read_skill_file, run_skill_script, and use_skill |
Learning Path Recommendations
Recommended Order
- Learn best practices first → Understand specifications and techniques for skill development to avoid common mistakes
- Then consult API reference → Check specific parameters and return values when you encounter issues in actual development
These two sections serve different purposes:
- Best Practices: Suitable for reading through before you start writing skills to establish correct development habits
- API Reference: Suitable as a reference book to consult specific details when needed
Prerequisites
Recommended to Complete First
Before reading this chapter, we recommend you have:
- Completed Create Your First Skill to understand the basic skill structure
- Understood Skill Discovery Mechanism to understand how the plugin finds skills
Next Steps
After completing this chapter, you can:
- View Troubleshooting to resolve issues encountered during use
- Learn about Security Considerations to ensure your skills are secure
- Review Version History to understand the plugin's evolution and new features