doc-sync-tool

Synchronize Agents.md, claude.md, and gemini.md across nested project directories.

178|24|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/ZhanlinCui/Ultimate-Agent-Skills-Collection --skill doc-sync-tool-zhanlincui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-sync-tool
Source: https://github.com/ZhanlinCui/Ultimate-Agent-Skills-Collection/tree/main/doc-sync-tool
Command: npx skills add https://github.com/ZhanlinCui/Ultimate-Agent-Skills-Collection --skill doc-sync-tool-zhanlincui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Doc Sync Tool automatically keeps Agents.md, claude.md, and gemini.md in sync across your projects, ensuring consistency and reducing manual updates.

Core Features & Use Cases

  • Automatically detect and synchronize the three key agent docs within any directory.
  • Choose the most recently updated file as the source and propagate changes to the other two files.
  • Optionally monitor changes in real-time during development or batch-sync across multiple projects.

Quick Start

Run the manual sync from your project root: ./auto-website-system/_skills/doc-sync-tool/run-sync.sh Or run the Node script directly: node auto-website-system/_skills/doc-sync-tool/sync.js

Frequently Asked Questions about doc-sync-tool

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

FAQPage Schema
How do I keep agent configuration files like Agents.md and claude.md synchronized across a project?

To synchronize agent configuration files, this tool recursively scans directories and propagates the most recently updated content from one source file to the others. It ensures Agents.md, claude.md, and gemini.md remain consistent across nested folders.

What is the best way to automatically sync markdown documentation for multiple AI agents?

The best way to automatically sync markdown documentation is using a real-time watch mode or batch run. This detects the latest file changes and applies updates consistently to the other agent configuration files without external dependencies.

Does the agent documentation sync tool require any external libraries or package dependencies?

The agent documentation sync tool does not require external libraries or package dependencies. It relies on simple file I/O operations within the Node.js runtime, requiring only Node.js version 14 or higher to function.

Can I batch sync claude.md and gemini.md files across multiple project directories at once?

Yes, you can batch sync claude.md and gemini.md files across multiple projects. The tool supports batch runs that recursively scan directories and apply the latest content updates to all specified agent configuration files consistently.

How does real-time watch mode handle synchronization during active development?

Real-time watch mode handles synchronization by actively monitoring directories during development. When one agent configuration file updates, it immediately propagates those changes to the other two files, maintaining live consistency without manual intervention.