opencode

Document the OpenCode agent framework's components, workflows, and REST/SSE interfaces.

7|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/KrishavRajSingh/computer --skill opencode-krishavrajsingh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode
Source: https://github.com/KrishavRajSingh/computer/tree/main/sandbox/opencode/skills/opencode
Command: npx skills add https://github.com/KrishavRajSingh/computer --skill opencode-krishavrajsingh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a comprehensive reference for the OpenCode agent framework, helping teams understand how agents, skills, tools, commands, sessions, providers, and plugins operate together.

Core Features & Use Cases

  • Detailed architecture overview of agents, skills, tools, commands, sessions, and providers.
  • Guidance for debugging, extending, and configuring the OpenCode environment.
  • Use case: a developer loads this skill to learn how loading a skill injects context and how the rest API and SSE events are structured.

Quick Start

Ask OpenCode to load this skill to view its full internals.

Frequently Asked Questions about opencode

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

FAQPage Schema
How does the OpenCode agent framework load and discover skills, tools, and plugins?

The OpenCode agent framework loads skills, tools, and plugins using specific frontmatter fields and discovery rules that govern how components are defined and injected into the agent context. This reference details those loading mechanisms and structural workflows.

How do I configure and debug OpenCode sessions, providers, and commands?

You can configure and debug OpenCode sessions, providers, and commands by referencing the architectural overview and configuration guidelines provided. It covers how these components operate together and how to apply settings to extend the environment.

How are REST and SSE interfaces structured in the OpenCode environment?

The REST and SSE interfaces in the OpenCode environment are structured to handle agent workflows and event streaming. This skill provides a complete reference for developers needing to understand these API interfaces for debugging and extending functionality.

What are the frontmatter fields required to define an OpenCode skill or agent?

Frontmatter fields required to define an OpenCode skill or agent dictate component structure and loading behavior. The reference describes these specific configuration fields and the discovery rules that govern how components are defined and loaded.

Can I use this OpenCode reference to understand how injected context affects agent workflows?

Yes, you can use this reference to understand how loading a skill injects context and impacts agent workflows. It details the architecture of agents, skills, tools, commands, sessions, and providers to help developers debug the environment.