Claude Sync Skill
Overview
Team members might use Claude Code, which maintains its own agent settings, memory, and instructions inside the .claude directory. To ensure all AI agents share the same project context and rules, this skill synchronizes relevant configurations from .claude to .agent (or .agents).
When to use
- •When the user explicitly asks to sync
.claudeto.agent. - •When updating or initializing agent workspaces and you notice a
.claudedirectory present.
Instructions
Execute the following steps when using this skill:
- •
Check for
.claudedirectory: Verify if the.claudedirectory exists in the project root. If it does not, notify the user that there is no Claude context to sync. - •
Analyze
.claudecontents: Read the files within the.claudedirectory (e.g., memory files, custom instructions, prompts).- •Identify core project rules, architectural decisions, and coding standards.
- •
Synchronize to
.agent: Translate and merge the identified rules into the.agentformat:- •Update
AGENTS.mdif the rules are project-wide agent directives. - •Create or update specific skill markdown files (e.g.,
.agent/skills/<skill-name>/SKILL.md) if there are specialized workflows. - •Ensure the
.agentand.agentsdirectories remain consistent, avoiding duplications.
- •Update
- •
Report: Provide a concise summary to the user outlining which rules and settings were successfully synchronized from
.claudeto.agent.