op-config-sync

Synchronizes OpenCode configuration files across machines via Git with pre-sync validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MiguelAguiarDEV/baymax --skill op-config-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: op-config-sync
Source: https://github.com/MiguelAguiarDEV/baymax/tree/main/skills/op-config-sync
Command: npx skills add https://github.com/MiguelAguiarDEV/baymax --skill op-config-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining a consistent and up-to-date OpenCode configuration across multiple development machines, ensuring all environments are synchronized and validated.

Core Features & Use Cases

  • Automated Synchronization: Pulls and pushes configuration changes to a remote repository.
  • Pre-sync Validation: Runs a doctor.sh script to check for potential issues before syncing.
  • Safe Commit & Push: Guides users on safe commit messages and prevents sensitive data from being committed.
  • Use Case: After adding a new skill or agent, you can use this Skill to ensure your other PCs have the latest configuration, preventing inconsistencies and potential errors.

Quick Start

Run the op-config-sync skill to pull the latest configuration changes from the remote repository.

Frequently Asked Questions about op-config-sync

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

FAQPage Schema
How do I sync configuration files across multiple development machines using Git?

To sync configuration files across multiple machines using Git, this Skill pulls and pushes changes to a remote repository while running pre-sync validation checks to ensure data integrity. It guides safe commit practices to prevent inconsistencies between environments.

Why do I need pre-sync validation before pushing development environment changes?

Pre-sync validation is needed before pushing changes to prevent potential errors across your development environments. The Skill runs a doctor.sh script to check for issues, ensuring configuration integrity and preventing sensitive data from being committed.

Can I use this workflow to synchronize OpenCode skills and agents across PCs?

Yes, you can use this workflow to synchronize OpenCode skills, agents, and commands across multiple PCs. After adding a new configuration element, the Skill pushes those changes to a remote repository so your other machines can pull the latest validated state.

What's the best way to prevent sensitive data from being committed during config synchronization?

The best way to prevent sensitive data from being committed during config synchronization is using built-in safety checks. This Skill enforces secure commit practices and runs validation scripts to ensure sensitive information is not pushed to the remote repository.

Does config synchronization work without any external dependencies?

Config synchronization works without external dependencies, relying solely on Git and internal scripts. The Skill operates independently to manage your OpenCode configuration files, requiring only a remote Git repository to facilitate the pull and push actions.

When should I not use automated Git synchronization for my development environment?

You should not use automated Git synchronization when your local configuration contains unvalidated changes or sensitive data. The Skill addresses this by requiring pre-sync validation to pass, halting the process if the doctor.sh script detects potential environment issues.