sync-agent-instructions

Featured

Sync AI coding tool instruction files (CLAUDE.md, GEMINI.md, AGENTS.md) so they stay aligned. Detects which file changed and copies it to the others. Use when syncing md files, syncing instructions, updating GEMINI.md, or updating AGENTS.md.

AI & Automation 780 stars 87 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
96
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
47
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Sync Agent Instructions Keep CLAUDE.md, GEMINI.md, and AGENTS.md in sync so all AI coding tools share the same project instructions. ## Workflow 1. **Detect changes** — Run `git diff HEAD -- CLAUDE.md GEMINI.md AGENTS.md` to see which file(s) have uncommitted changes. 2. **Determine source file:** - **One file changed** — That file is the source. Copy its content to the other two. - **Multiple files changed** — Ask the user which file to use as the source. - **No files changed** — Compare all three with `diff`. If they differ, report which sections differ and ask the user which file to use as source. If identical, report "All instruction files are in sync." and stop. 3. **Sync** — Read the source file and write its exact content to the other two files. 4. **Stage** — Run `git add` on the two modified files. 5. **Report** — Tell the user which file was the source and that the other two have been updated.

Details

Author
ReflexioAI
Repository
ReflexioAI/claude-smart
Created
5 months ago
Last Updated
3 days ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

instruction-docs-sync

Си��хронизация AGENTS.md и CLAUDE.md из verified facts. Используй для: инструкции, docs устарели. EN: update project instructions, docs sync.

1 Updated 2 days ago
NDDev-it-com
AI & Automation Listed

padosoft-agent-instructions-sync

Use this skill whenever a file that instructs a coding agent is created, changed or deleted — CLAUDE.md, AGENTS.md, a rule or skill folder, a Copilot instructions file, a Gemini or Cursor or Codex configuration — in a repository where more than one agent is used. Also when the user says one agent follows a rule the others ignore, that a convention was applied by one tool and not another, that an instructions file was truncated, or asks how to keep the instruction files aligned. It gives the one-source-many-targets contract, the per-target limits that force a transformation, and the checks that catch a target left behind. Do not use it to write the content of a rule, nor to build a skill for publication (padosoft-skill-creator covers that).

1 Updated 5 days ago
padosoft
AI & Automation Listed

agent-compat-sync

Keep repository-level Claude and Codex agent instructions compatible by creating safe symlinks between CLAUDE.md and AGENTS.md, and between .claude/skills/* and .agents/skills/*. Use when a repository should work with both Claude and Codex, when one agent instruction file exists but the other is missing, when migrating agent skills between .claude and .agents directories, or when asked to improve Claude/Codex compatibility for a repo.

90 Updated 1 months ago
wquguru