sync-globals

Enforce global CLAUDE.md directives across managed repositories and generate a compliance report.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/marcelocantos/skills --skill sync-globals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-globals
Source: https://github.com/marcelocantos/skills/tree/main/skills/sync-globals
Command: npx skills add https://github.com/marcelocantos/skills --skill sync-globals

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams enforce global CLAUDE.md directives across every managed repository, ensuring consistent licensing, hygiene, and policy alignment.

Core Features & Use Cases

  • Discover repos that contain CLAUDE.md and determine compliance against global directives.
  • Validate repository hygiene: LICENSE/NOTICE, SPDX headers, .gitignore, and manifest updates; generate a consolidated compliance report.
  • Provide a Fix mode to automatically apply common hygiene updates (licenses, SPDX headers, .gitignore, and NOTICE) in affected repos.

Quick Start

Run the sync-globals agent to scan all managed repositories for CLAUDE.md directive compliance and generate a report, then optionally apply fixes across repositories.

Frequently Asked Questions about sync-globals

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

FAQPage Schema
How do I enforce consistent licensing and SPDX headers across multiple repositories?

You can enforce licensing and SPDX headers across multiple repositories by scanning them against global directives from a central CLAUDE.md file. This process verifies per-repo compliance and provides a Fix mode to automatically apply required licensing and SPDX updates.

What is the best way to audit repository hygiene for LICENSE and NOTICE files?

The best way to audit repository hygiene is to run an agent that discovers all managed repositories, checks for required LICENSE and NOTICE files, validates .gitignore settings, and generates a consolidated compliance report detailing any policy violations.

How do I sync global CLAUDE.md directives to all my local repositories?

To sync global CLAUDE.md directives, the agent operates across repositories under your local work directory, reads the global directives, verifies per-repo compliance, and optionally runs a Fix mode to apply licensing, SPDX, gitignore, and NOTICE changes.

Can I automatically apply missing .gitignore and manifest updates across my repositories?

Yes, you can automatically apply missing .gitignore and manifest updates by using the Fix mode. This mode automatically applies common hygiene updates, including licenses, SPDX headers, gitignore, and NOTICE files, to affected repositories after a compliance scan.

Does this repository compliance tool require any external dependencies to run?

No, this repository compliance tool requires no external dependencies to run. It operates natively by orchestrating an internal agent to discover local repositories, read directives, check compliance, and update manifests without needing external packages.