opencode-primitive-selector

Guides selection of OpenCode primitives for specific tasks and workflows.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/shynlee04/idumb-v2 --skill opencode-primitive-selector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-primitive-selector
Source: https://github.com/shynlee04/idumb-v2/tree/main/.agents/skills/opencode-primitive-selector
Command: npx skills add https://github.com/shynlee04/idumb-v2 --skill opencode-primitive-selector

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users select the most appropriate OpenCode primitive (Command, Skill, Tool, Prompt, CustomTool, Plugin hook) for a given task or workflow, ensuring efficient and effective use of the platform's capabilities.

Core Features & Use Cases

  • Primitive Selection Guidance: Provides a decision framework and detailed explanations for each primitive type.
  • Use Case: When unsure whether to use a Command for a user-triggered workflow or a Skill for agent guidance, this skill clarifies the distinction and helps make the correct choice.

Quick Start

Use the opencode-primitive-selector skill to determine the best primitive for creating a reusable workflow that combines multiple tools.

Frequently Asked Questions about opencode-primitive-selector

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

FAQPage Schema
What's the best way to choose between OpenCode Commands and Skills for a reusable workflow?

Choosing between OpenCode Commands and Skills depends on your trigger source: Commands handle user-triggered workflows, while Skills guide agent behavior patterns. The selector provides a decision framework to compare primitives and ensure effective platform use.

How do I select the right OpenCode primitive for agent development and platform capability access?

Select the right OpenCode primitive for agent development by matching the task to the primitive type: Tools and CustomTools provide platform capability access, while Plugin hooks intercept events. Detailed comparisons facilitate informed decisions.

When do I need to use OpenCode Plugin hooks versus CustomTools?

You need OpenCode Plugin hooks when your task requires event interception within workflows, whereas CustomTools are for defining specific platform capabilities. The primitive selector framework helps identify which scenario applies to your task.

Can I use OpenCode Prompts for agent definition and reusable workflows?

OpenCode Prompts are suited for agent definition and guidance, but for reusable workflows that combine multiple tools, Commands or Skills are typically more appropriate. The selector clarifies these distinctions for your specific scenario.

What are the limitations of using a single OpenCode primitive for complex workflow design?

A single OpenCode primitive may not cover complex workflow design scenarios involving both reusable workflows and event interception. The selector identifies limitations by providing detailed comparisons across Commands, Skills, Tools, and Plugin hooks.