Skip to content

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

PageDescription
------
API Tool ReferenceView 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

  1. Learn best practices first → Understand specifications and techniques for skill development to avoid common mistakes
  2. 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:

Next Steps

After completing this chapter, you can: