meta-agents-md

Define AGENTS.md rules with structured frontmatter for OpenCode agent behavior.

1|Updated Sep 12, 2025
One-click install
npx skills add https://github.com/JimmyTranDev/dotfiles --skill meta-agents-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-agents-md
Source: https://github.com/JimmyTranDev/dotfiles/tree/main/src/opencode/skills/meta-agents-md
Command: npx skills add https://github.com/JimmyTranDev/dotfiles --skill meta-agents-md

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AGENTS.md files provide persistent instructions that are injected into every AI agent conversation. They control coding style, conventions, and behavioral rules across all interactions.

Core Features & Use Cases

  • Global AGENTS.md rules at ~/.config/opencode/AGENTS.md govern universal agent behavior across projects.
  • Repo-level AGENTS.md at the repository root applies rules specific to the current project.
  • Directory-scoped AGENTS.md files load rules when operating within particular subdirectories to tailor agent behavior.
  • Tables and structured sections outline critical rules, conventions, and the update workflow for consistency.
  • Clear update workflow ensures no duplication and predictable agent behavior across the codebase.

Quick Start

Define or update the repo-root AGENTS.md to establish baseline agent behavior rules.

Frequently Asked Questions about meta-agents-md

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

FAQPage Schema
How do I enforce consistent AI agent behavior rules across multiple repositories?

You can enforce consistent AI agent behavior by defining AGENTS.md files at the repository root and within subdirectories. These files inject persistent coding style, conventions, and behavioral rules into every AI agent conversation.

What is the difference between global and repo-level AGENTS.md files?

Global AGENTS.md rules located at ~/.config/opencode/AGENTS.md govern universal agent behavior across all projects, while repo-level files at the repository root apply rules specific to the current project.

How does directory-scoped AGENTS.md work for context-specific agent guidance?

Directory-scoped AGENTS.md files load context-specific behavioral rules when the AI agent operates within particular subdirectories, tailoring agent actions to local project needs without duplicating global rules.

What is the best way to structure AGENTS.md files for OpenCode workflows?

The best way to structure AGENTS.md files is by using structured frontmatter with a name and description, followed by rules sections and an update workflow to maintain alignment across global and repository-specific rules.

How do I update AI agent conventions without duplicating rules?

You prevent duplication and ensure predictable agent behavior by following a clear update workflow defined in the AGENTS.md file, which maintains alignment between global and repository-specific coding conventions.