sync-ai-context

Sync AI context files to match a master AGENTS.md document.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/ronniepinnell/casper --skill sync-ai-context-ronniepinnell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-ai-context
Source: https://github.com/ronniepinnell/casper/tree/main/collection/docs-and-context/sync-ai-context
Command: npx skills add https://github.com/ronniepinnell/casper --skill sync-ai-context-ronniepinnell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Ensures that all AI context files (like GEMINI.md and Cursor rules) stay in sync with the canonical AGENTS.md file after any edits or rule changes.

Core Features & Use Cases

  • Canonical Syncing: Propagates updates from AGENTS.md to all derived AI context files.
  • Change Detection: Identifies and categorizes differences like MISSING, OUTDATED, EXTRA, and CONTRADICTION.
  • Manual or Automated Sync: Allows users to choose how changes are applied (automatically or manually reviewed).
  • Use Case: Use this skill after modifying AGENTS.md to ensure all dependent context files are updated correctly.

Quick Start

Run /project-init sync after editing AGENTS.md or adding a new rule to synchronize context files.

Frequently Asked Questions about sync-ai-context

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

FAQPage Schema
How do I keep AI context files synchronized with my AGENTS.md master document?

AI context file synchronization propagates updates from a canonical AGENTS.md file to derived files like GEMINI.md and Cursor rules. Scans detect MISSING, OUTDATED, EXTRA, or CONTRADICTION states to maintain consistency across complex AI environments.

What's the best way to sync Cursor rules and GEMINI.md after editing AGENTS.md?

Run `/project-init sync` after modifying AGENTS.md or adding new rules. This scans dependent files and applies updates automatically or with manual review to ensure all context files align correctly.

How does change detection work when syncing derived AI context files?

Change detection identifies and categorizes differences between the master AGENTS.md and derived files as MISSING, OUTDATED, EXTRA, or CONTRADICTION. This categorization ensures precise context synchronization without missing critical updates.

Can I manually review AI context file updates instead of applying them automatically?

Manual or automated sync is supported. Users choose how changes are applied during the synchronization process, allowing manual review of detected differences like OUTDATED or CONTRADICTION before updating derived AI context files.

When do I need to synchronize AI context files in my development workflow?

Synchronize AI context files after modifying AGENTS.md or adding a new rule. This ensures dependent files like GEMINI.md and Cursor rules reflect current guidelines, preventing inconsistencies in complex AI environments.

Why does my GEMINI.md file show a CONTRADICTION with AGENTS.md during sync?

A CONTRADICTION status indicates the derived file contains content conflicting with the master AGENTS.md. The synchronization scan categorizes this difference, allowing you to resolve it via manual review or automated updates.