skill-name

Discover and register SKILL.md frontmatter from local and global skill stores.

122|15|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/ZeroZ-lab/learn-opencode --skill skill-name-zeroz-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-name
Source: https://github.com/ZeroZ-lab/learn-opencode/tree/main/website/content/docs/internals
Command: npx skills add https://github.com/ZeroZ-lab/learn-opencode --skill skill-name-zeroz-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenCode's Skill Loader centralizes loading and registration of SKILL.md frontmatter, enabling teams to define modular agent behaviors as reusable instruction templates. It ensures consistent discovery and integration of skills across projects and environments.

Core Features & Use Cases

  • Template discovery: Scan project-local and global skill stores for SKILL.md definitions and register them for prompt generation.
  • Frontmatter-driven prompts: Use name and description from YAML frontmatter to populate system prompts and agent capabilities.
  • Optional resources loading: Resolve optional assets from scripts/, references/, and assets/ when present to enrich skills.

Quick Start

Load a new skill defined in .opencode/skill/python-expert/SKILL.md, then reference the skill in an agent prompt to enable Python-focused expertise.

Frequently Asked Questions about skill-name

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

FAQPage Schema
How do I load reusable instruction templates for agent prompts in OpenCode?

To load reusable instruction templates, OpenCode's Skill Loader scans project-local and global skill stores to discover and register SKILL.md frontmatter, populating system prompts and extending agent capabilities consistently across deployments.

What is SKILL.md frontmatter used for in modular agent development?

SKILL.md frontmatter provides YAML-defined name and description fields used to populate system prompts and generate modular agent behaviors, ensuring consistent knowledge injection and capability extension across different project environments.

How do I structure a local project directory to manage modular skills?

Structure modular skills by creating a local project directory like .opencode/skill/ containing a SKILL.md file with YAML frontmatter, alongside optional scripts/, references/, and assets/ folders to enrich the agent's capabilities.

Does the Skill Loader automatically resolve optional resources like scripts and references?

Yes, the Skill Loader automatically resolves and loads optional resources from scripts/, references/, and assets/ directories when present, enriching the base frontmatter-defined prompts with additional execution context and knowledge.

Can I use this template management approach for global skill stores across multiple deployments?

Yes, template management supports both project-local directories and global skill stores, enabling consistent discovery, registration, and integration of modular instruction templates across multiple deployment environments.