opencode-agent-authoring

Create or revise OpenCode agent guidance with triggers, behavior, and constraints.

6|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/open-hax/opencode-skills --skill opencode-agent-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-agent-authoring
Source: https://github.com/open-hax/opencode-skills/tree/main/.opencode/skills/opencode-agent-authoring
Command: npx skills add https://github.com/open-hax/opencode-skills --skill opencode-agent-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams create or update OpenCode agent guidance with clear triggers, behavior, and constraints to ensure consistent and safe agent instructions.

Core Features & Use Cases

  • Define precise agent triggers, behavior rules, and constraints for OpenCode agents.
  • Generate and update guidance documents (.opencode/agent/*.md) and templates (AGENTS.md) aligned with existing skills.
  • Normalize terminology and ensure frontmatter compliance across new skills.

Quick Start

Create or update your agent guidance by specifying the desired triggers, behavior, and constraints, then save to .opencode/agent/ or AGENTS.md.

Frequently Asked Questions about opencode-agent-authoring

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

FAQPage Schema
How do I create OpenCode agent guidance with clearly defined triggers and constraints?

OpenCode agent guidance requires precise triggers, behavior rules, and constraints defined in markdown files. You create them by specifying these parameters and saving the output to .opencode/agent/ or AGENTS.md to ensure consistent and safe agent instructions.

What is the best way to update AGENTS.md templates for new skills?

The best way to update AGENTS.md templates is to cross-reference new skills with the existing skill graph and normalize terminology. This ensures frontmatter compliance and alignment across all generated guidance documents.

How does YAML frontmatter compliance work in OpenCode agent documentation?

YAML frontmatter compliance in OpenCode agent docs ensures required structural metadata is present. You satisfy it by cross-referencing the skill graph and AGENTS.md to ensure consistency across new skills and generated guidance templates.

Do I need to align agent instructions with the skill graph when adding new behavior rules?

Yes, you need to align agent instructions with the skill graph when adding new behavior rules. Cross-referencing ensures consistency and satisfies frontmatter requirements across all updated guidance documents and templates.

When do I need to generate new agent guidance templates for OpenCode workflows?

You need to generate new agent guidance templates when updating agent docs, aligning instructions with new skills, or creating AGENTS.md files. This clarifies triggers, behavior, and constraints for consistent OpenCode workflows.