Skip to content

An unplugin-based AI agent file synchronization tool for maintaining content consistency across multiple AI assistant configuration files.

License

Notifications You must be signed in to change notification settings

bee1an/unplugin-agent-sync

Repository files navigation

unplugin-agent-sync

NPM version

English | 简体中文

AI agent file synchronization tool for maintaining content consistency across multiple AI assistant configuration files.

Features

  • 🔄 Auto Sync: Automatically sync files when AI agent files are modified
  • 🛠️ Multi-build Tool Support: Works with Vite, Webpack, Rollup, and more

Installation

npm i unplugin-agent-sync -D

Usage

// vite.config.ts
import AgentSync from 'unplugin-agent-sync/vite'

export default defineConfig({
  plugins: [
    AgentSync()
  ]
})

Configuration

Option Type Default Description
agentFiles string[] ['AGENTS.md', 'CLAUDE.md', 'QWEN.md'] Files to keep in sync

VSCode Configuration

For better file organization in VSCode, it's recommended to add the following configuration to your workspace or user settings:

{
  "explorer.fileNesting.enabled": true,
  "explorer.fileNesting.patterns": {
    "AGENTS.md": "CLAUDE.md, QWEN.md, GEMINI.md, WARP.md"
  }
}

This will group the AI agent configuration files under AGENTS.md in the file explorer, making them easier to manage.

Notes

  • Sync is bidirectional - any file can trigger sync to others

About

An unplugin-based AI agent file synchronization tool for maintaining content consistency across multiple AI assistant configuration files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published