askill
opencode-agent-authoring

opencode-agent-authoringSafety 95Repository

Create or update OpenCode agent guidance with clear triggers, behavior, and constraints

2 stars
1.2k downloads
Updated 3/5/2026

Package Files

Loading files...
SKILL.md

Skill: OpenCode Agent Authoring

Goal

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

Use This Skill When

  • You are asked to add or revise agent behavior docs.
  • You need to create new .opencode/agent/*.md or similar agent guidance.
  • You are aligning agent instructions with new skills or workflows.

Do Not Use This Skill When

  • The change is unrelated to agent behavior.
  • You are only updating skill docs without agent changes.

Inputs

  • Desired agent role and scope.
  • Existing agent guidance and AGENTS.md rules.
  • Related skills that the agent should use or avoid.

Required Frontmatter Syntax

When creating skills alongside agents, ensure valid YAML frontmatter:

---
name: my-skill-name
description: "A clear, specific description of what this skill does"
---

Critical: Quote Description Values

ALWAYS quote the description field. If the description contains a colon (:), unquoted YAML will fail to parse.

# GOOD - quoted description
---
name: my-skill
description: "Skill: My Skill Description"
---

# BAD - unquoted description (will fail)
---
name: my-skill
description: Skill: My Skill Description
---

Valid Frontmatter Fields

FieldRequiredDescription
nameYeskebab-case, matches directory name
descriptionYes1-1024 chars, quoted if contains special chars
licenseNoSPDX license identifier
compatibilityNoCompatibility constraints
metadataNoAdditional key-value data

Steps

  1. Locate existing agent guidance and follow its structure.
  2. Define the agent's Goal, scope, and triggers.
  3. Specify required tools and forbidden behaviors.
  4. Cross-reference relevant skills and docs.
  5. Update AGENTS.md if new guidance needs to be advertised.

Output

  • Updated or new agent guidance files.
  • AGENTS.md references that clarify when to use the agent.

References

  • Agent and skill guidance: .opencode/skills/opencode-agents-skills.md
  • Workspace rules: AGENTS.md

Suggested Next Skills

Check the Skill Graph for the full workflow.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

62/100Analyzed 3/8/2026

A well-structured meta-skill for authoring OpenCode agent guidance with clear use cases, YAML frontmatter syntax guidance, and step-by-step instructions. Strong on actionability and clarity, but heavily tied to internal OpenCode tooling (.opencode directory). Tag mismatch (github-actions) reduces discoverability. Reusability is limited due to framework-specific conventions."

95
85
45
70
80

Metadata

Licenseunknown
Version-
Updated3/5/2026
Publisherriatzukiza

Tags

github-actions