Provider Sync
Provider Sync is the OAT lane for keeping a canonical rules-and-skills layout in sync with provider-specific surfaces such as Claude, Cursor, Copilot, Gemini, or Codex.
You can adopt this layer on its own. It does not require tracked OAT projects, and it is the right starting point when you mainly want interoperability and drift control.
In practice, you edit the canonical layout in .agents/ and .oat/, then let OAT generate or reconcile provider-specific views for Claude Code, Cursor, Copilot, Gemini, Codex, and other supported providers.
Contents
- Provider Interop Commands -
oat status,oat sync, andoat providers ...behavior. - Sync Config - Provider config model, enablement, and scope semantics.
- Instruction Sync - Project-scoped
AGENTS.md/CLAUDE.mdvalidation, repair, and Claude-only adoption. - Manifest and Drift - How OAT tracks synced state, stray files, and adoption decisions.
- Providers - Provider-specific mappings, capabilities, and path conventions.
- Provider Interop CLI Scope and Surface - Canonical assets, provider views, scopes, and the sync surface area.
What This Section Is
This section explains how OAT treats .agents/ and .oat/ as the source of truth, how provider views are derived from those canonical assets, and how sync/adoption workflows keep everything aligned.
What OAT Treats As Canonical
- canonical skills, agents, and rules under
.agents/ - sync state and related metadata under
.oat/ - provider-specific files as derived views unless they are explicitly adopted back into canonical form
Who It's For
- Teams adopting OAT primarily for provider interoperability
- Users who want one canonical asset layout instead of hand-maintaining provider copies
- Repos that need drift detection, adoption flows, and explicit sync control
Typical Flow
- Run
oat initto create the base OAT layout and setup state. - Inspect current sync state with
oat status. - Adjust provider enablement with
oat providers ...if needed. - Run
oat syncto materialize provider views from canonical assets. - Re-run
oat statusafter edits to confirm whether anything drifted or needs adoption.
Start Here
- Use CLI Bootstrap when you are bootstrapping OAT and want the sync-relevant setup path.
- Go to Commands once you are actively using
oat status,oat sync, andoat providers. - Read Scope and Surface when you need the canonical/provider-view mental model.
Common Tasks
- Understand the canonical/provider-view model in Scope and Surface.
- Manage nested
AGENTS.md/CLAUDE.mdintegrity in Instruction Sync. - Learn provider-specific mappings in Providers.
- Diagnose drift and adoption behavior in Manifest and Drift.
- Adjust provider enablement and scope behavior in Sync Config.
Go Deeper
- CLI Bootstrap - Foundational setup before first sync.
- Scope and Surface - Canonical assets, provider views, scopes, and the sync surface area.
- Commands -
oat status,oat sync, andoat providers ...behavior. - Instruction Sync - Project-scoped
AGENTS.md/CLAUDE.mdvalidation, repair, and Claude-only adoption. - Providers - Provider-specific mappings, capabilities, and path conventions.
- Manifest and Drift - How OAT tracks synced state, stray files, and adoption decisions.
- Sync Config - Provider config model, enablement, and scope semantics.