Skip to content

Creating & Sharing Overlays

This guide covers how to create overlays from existing files and share them with others.

The create command packages files from your current repository into an overlay:

Terminal window
# Auto-detect org/repo from git remote
repoverlay create my-overlay
# Explicit path
repoverlay create microsoft/vscode/ai-config

Use --include to specify which files to include:

Terminal window
repoverlay create my-overlay --include .claude/ --include CLAUDE.md --include .envrc

Without --include, repoverlay launches an interactive file selector that detects AI configs, gitignored files, and untracked files as candidates.

Create an overlay in a local directory instead of pushing to an overlay repository:

Terminal window
repoverlay create --local ./my-overlay --include .envrc --include .claude/

Use --dry-run to see what would be created without writing anything:

Terminal window
repoverlay create my-overlay --dry-run

Use --force to overwrite an existing overlay:

Terminal window
repoverlay create my-overlay --force

Once created, overlays can be shared by pushing the overlay repository to GitHub. Others can then apply your overlays using the overlay repository reference syntax:

Terminal window
repoverlay apply org/repo/overlay-name