Skip to content

yelmuratoff/agent_sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Configuration sync workspace/library for centralizing AI agent instructions

Built with Bash License GitHub stars

What is AgentSync (agent_sync) Engine?

AgentSync is a configuration sync workspace/library that centralizes AI agent instructions in one source and syncs them to tool-specific formats.

Table of Contents

Source of Truth

Edit only .ai/src/. Do not edit generated tool folders directly (.agent/, .claude/, .gemini/, .github/).

.ai/
├── src/                  # Authoring source (edit here)
│   ├── AGENTS.md
│   ├── rules/*.md
│   ├── skills/*/SKILL.md
│   └── tools/*.yaml        # Tool enable/disable + targets (edit here)
├── system/               # Sync engine
│   ├── sync.sh
│   ├── setup_hooks.sh
│   ├── check.sh
│   └── config.yaml
└── README.md             # Authoring guide

Tool Targets

Enabled tools are defined in .ai/src/tools/*.yaml.

Workflow

  1. Edit source files in .ai/src/.
  2. Run sync:
.ai/system/sync.sh
  1. Optional preview:
.ai/system/sync.sh --dry-run
  1. Optional partial sync:
.ai/system/sync.sh --only claude,copilot
.ai/system/sync.sh --skip gemini

Git Hooks (Recommended)

Install once:

.ai/system/setup_hooks.sh

This installs post-merge and post-checkout hooks that run .ai/system/sync.sh automatically.

Gitignore Behavior

sync.sh updates the block between:

  • # --- AI SYNC GENERATED START ---
  • # --- AI SYNC GENERATED END ---

This block is rebuilt from enabled tool targets in .ai/src/tools/*.yaml.

Documentation Map

  • Authoring rules and conventions: .ai/README.md
  • Sync engine details and YAML schema: .ai/system/README.md

Made with ❤️ for devs

About

AI Agent Configuration

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages