agent-creator

Automate OpenCode agent creation with YAML frontmatter and a default model.

63|8|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/different-ai/openwork-enterprise --skill agent-creator-different-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-creator
Source: https://github.com/different-ai/openwork-enterprise/tree/main/.opencode/skills/agent-creator
Command: npx skills add https://github.com/different-ai/openwork-enterprise --skill agent-creator-different-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenCode teams often spend time on repetitive setup to provision new agents. This Skill automates the creation of new OpenCode agents with a consistent, default configuration, eliminating manual setup and mistakes.

Core Features & Use Cases

  • Generates a minimal agent file with YAML frontmatter and a default model
  • Stores project agents under .opencode/agents and global agents under ~/.config/opencode/agents
  • Allows quick customization of mode, tools, and model for common agent patterns

Quick Start

Run opencode agent create and follow prompts to generate a new agent from the default template.

Frequently Asked Questions about agent-creator

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

FAQPage Schema
How do I create a new OpenCode agent with a default model?▼

To create a new OpenCode agent, run the opencode agent create command. This generates a minimal agent file with YAML frontmatter and a GPT-5.2-Codex default model, eliminating manual setup and configuration mistakes.

What is the default model used when generating OpenCode agent templates?▼

The default model used when generating OpenCode agent templates is GPT-5.2-Codex. This standardizes agent setup across teams by providing a consistent, default configuration for every new project-scoped or global agent.

Where are OpenCode project agents and global agents stored?▼

OpenCode project agents are stored under the .opencode/agents directory, while global agents are stored under ~/.config/opencode/agents. This file location structure enables standardized agent setup across different team environments.

Does an OpenCode agent file require YAML frontmatter?▼

Yes, an OpenCode agent file requires YAML frontmatter. The generated template satisfies requirements for YAML frontmatter presence, specifically including the name and description fields, alongside a default model and clear usage documentation.

Can I customize the mode, tools, and model for common OpenCode agent patterns?▼

Yes, you can quickly customize the mode, tools, and model for common OpenCode agent patterns. The creation process allows quick customization of these settings while maintaining a minimal template structure and standardized defaults.