Already have configs?
Most people don’t start clean — you arrive with servers and plugins already configured in Claude or OpenCode. Bring them under management instead of retyping them.
-
See what’s on disk vs. what agentsync would write.
Terminal window agentsync status -
Import native config into your canonical source.
Terminal window agentsync import claude --dry-run # preview what a full import would writeagentsync import claude # the agent's full native config -
Apply to fan it out to your other agents.
Terminal window agentsync apply
The import selector
Section titled “The import selector”Import uses a selector grammar: <agent>[:<component>[:<name>]]. Drop parts from
the right to widen the scope.
| Selector | Imports |
|---|---|
claude | the agent’s full native config (MCP, skills, subagents, commands, hooks, LSP, memory) |
claude:mcp | every MCP server |
claude:mcp:github | a single MCP server |
opencode:mcp:linear | a single server from a different agent |
agentsync import claudeagentsync import claude:mcpagentsync import claude:mcp:githubagentsync import opencode:mcp:linearA bulk import that finds nothing for a component reports it and exits cleanly
rather than erroring. Add --dry-run to list the source files an import would
write without touching ~/.agentsync/.
Why import, then apply?
Section titled “Why import, then apply?”Import pulls a native edit into your canonical source — re-referencing any
resolved secret back to ${secret:…} form on the way in, so credentials never get
committed. Once it’s in ~/.agentsync/, a normal apply fans it out to every
other enabled agent.