Personal agentic AI configuration — agent definitions, shared instruction files, prompts, and skills for OpenCode and GitHub Copilot.
agents-config/
opencode/ ← OpenCode agent files
copilot/ ← GitHub Copilot agent files
instructions/ ← shared instruction markdown files, appended to agents via prompt_append
prompts/ ← reusable prompt snippets
skills/ ← reusable skills
~/.config/opencode/agents and ~/.copilot/agents are symlinks into this repo — edits here take effect immediately with no sync step.
| Agent | Available in | Description |
|---|---|---|
commit |
OpenCode, Copilot | Commits staged changes with a conventional commit message (≤50 chars) and pushes |
create-pr |
OpenCode, Copilot | Creates a GitHub PR from the current branch, filling in a template if one exists |
review |
OpenCode, Copilot | Reviews a GitHub PR given a URL; asks for confirmation before posting |
cm-ticket |
OpenCode, Copilot | Creates a CM Jira ticket from one or more GitHub PR URLs |
release-plan |
OpenCode, Copilot | Creates a Confluence release plan page from a Jira CM ticket |
sync-docs |
OpenCode, Copilot | Syncs README, copilot-instructions, and agent files to match current project state |
ln -s ~/ws/dotai/agents-config/opencode ~/.config/opencode/agentsln -s ~/ws/dotai/agents-config/copilot ~/.copilot/agents- Create
agents-config/opencode/<name>.mdwith YAML frontmatter + body (see below) - If it needs shared instructions, add them to
instructions/and reference viaprompt_append - Include a fallback read line in the body (see Conventions)
- Mirror to
agents-config/copilot/<name>.mdif Copilot support is needed
---
name: my-agent
description: One-line summary shown in agent picker
mode: subagent
temperature: 0
prompt_append: "file:///Users/ashumon/ws/dotai/instructions/<file>.md"
permissions:
bash: allow | ask | deny
edit: allow | ask | deny
webfetch: allow | ask | deny
task: ask | deny
---
Agent body instructions here...Use file:///Users/ashumon/ws/dotai/instructions/<filename> — not ~ or relative paths. OpenCode does not expand ~ in prompt_append.
prompt_append can silently fail. Every agent that references an instruction file must include this at the top of its body:
Read ~/ws/dotai/instructions/<file>.md with the Read tool before doing anything else, and follow it exactly.
Agents that write to Jira, Confluence, or GitHub must show full output and ask for explicit confirmation before submitting.
bash: askfor agents that run shell commands but shouldn't do so freelyedit: denyfor read-only agents (review, cm-ticket, release-plan)webfetch: denyunless the agent explicitly needs to fetch URLs
Files in instructions/ are plain markdown. Use ## for section headings. No horizontal dividers between sections.
- GitHub: all PR operations use the
ghCLI