opencode-agent-creation

Generate OpenCode agent configurations as JSON or Markdown with frontmatter.

4|4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/darellchua2/opencode-config-template --skill opencode-agent-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-agent-creation
Source: https://github.com/darellchua2/opencode-config-template/tree/main/skills/opencode-agent-creation
Command: npx skills add https://github.com/darellchua2/opencode-config-template --skill opencode-agent-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams through creating OpenCode agents by prompting for required configuration, ensuring consistency with official documentation and reducing manual setup time.

Core Features & Use Cases

  • Guided agent creation: prompts for required configuration to generate agents in JSON (.opencode/agents/ or JSON format) or Markdown with frontmatter.
  • Directory placement: stores agent files under .opencode/agents/ or ~/.config/opencode/agents/ for organized access.
  • Mode configuration: determines whether the agent is primary or subagent based on intended use.
  • Tooling and permissions: configures tools, permissions, temperature, maxSteps, and other options to fit governance standards.
  • Deployment example: onboarding a new project agent to automate routine tasks and integrate with development workflows.

Quick Start

Ask me to create a new OpenCode agent by providing the agent's purpose, required configuration, and preferred output format (JSON or Markdown).

Frequently Asked Questions about opencode-agent-creation

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

FAQPage Schema
How do I generate OpenCode agent configurations from a prompt?

To generate OpenCode agent configurations, provide the agent's purpose and preferred output format. The skill prompts for required fields to standardize agent setup and outputs JSON or Markdown files.

What is the correct directory placement for OpenCode agent files?

OpenCode agent files are placed in conventional directories for organized access, specifically stored under .opencode/agents/ or ~/.config/opencode/agents/ depending on your project or global setup needs.

Should I use JSON or Markdown with frontmatter for OpenCode agent creation?

You can use either JSON agent definitions or Markdown with frontmatter for OpenCode agent creation. The skill outputs your preferred format while enforcing required fields to ensure configuration consistency.

How do I configure tools, permissions, and modes for OpenCode agents?

Configure OpenCode agents by setting tools, permissions, temperature, and maxSteps. The skill determines whether the agent is primary or subagent based on its intended use within development workflows.

Can I automate project scaffolding and onboarding workflows with OpenCode agents?

Yes, you can automate project scaffolding and onboarding workflows by creating OpenCode agents. The skill generates configurations to automate routine tasks and integrate with development workflows.