global-prompts-sync

Synchronize prompt files to GitHub Copilot and OpenCode configurations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/atman-33/skills --skill global-prompts-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: global-prompts-sync
Source: https://github.com/atman-33/skills/tree/main/skills/global-prompts-sync
Command: npx skills add https://github.com/atman-33/skills --skill global-prompts-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) components.

What problem does it solve?

This skill consolidates and synchronizes editor prompts from its prompts directory to both GitHub Copilot and OpenCode, eliminating manual duplication.

Core Features & Use Cases

  • Syncs agents, rules, and commands to Copilot and OpenCode with appropriate naming conventions and formatting.
  • Merges multiple OpenCode rule files into a single AGENTS.md while preserving content.
  • Detects and adapts frontmatter to each editor format for seamless integration.

Quick Start

  1. Add your prompt files under prompts/agents, prompts/rules, and prompts/commands.
  2. Run the sync script: python3 scripts/sync_prompts.py
  3. Check Copilot prompt files in the target directory and OpenCode config for merged rules.

Frequently Asked Questions about global-prompts-sync

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

FAQPage Schema
How do I sync prompts across GitHub Copilot and OpenCode at the same time?

Syncing prompts across Copilot and OpenCode requires a script that reads from a shared prompts directory and writes to both editor configurations. The sync script applies editor-specific formatting and merges OpenCode rules into a single AGENTS.md file.

How does frontmatter adaptation work when synchronizing rules to Copilot and OpenCode?

Frontmatter adaptation detects the metadata in your prompt files and automatically reformats it to match the specific requirements of each editor. This ensures seamless integration of agents, rules, and commands into both GitHub Copilot and OpenCode configurations.

Can I synchronize prompt files across Windows, WSL, and local configurations?

Yes, the prompt synchronization script performs environment-aware synchronization across Windows, WSL, and local configurations. It detects the operating environment to ensure prompt files are correctly placed for both Copilot and OpenCode.

Do I need pyyaml to run the prompt sync script?

Yes, pyyaml is a required dependency for running the prompt sync script. It is used to parse and manipulate the frontmatter in your prompt files before applying editor-specific formatting.

What is the best way to consolidate multiple OpenCode rule files?

Consolidating multiple OpenCode rule files is handled automatically by merging them into a single AGENTS.md file. The synchronization script preserves all content while combining separate rules from your prompts directory.

Why does my Copilot prompt formatting break after a manual sync?

Manual duplication often breaks Copilot prompt formatting because it lacks editor-specific frontmatter adaptation. Using an automated sync script detects and adapts metadata to each editor format, preventing formatting errors.