Help us improve
Share bugs, ideas, or general feedback.
npx claudepluginhub taoidle/cc-syncHow this command is triggered — by the user, by Claude, or both
Slash command
/cc-sync:getModeThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# 查看同步模式 (Get Sync Mode) 查看当前同步模式和将要同步的项目列表。优先使用 cc-sync MCP 服务器,如果不可用则直接读取配置文件。 ## 执行步骤 ### 方法 1:使用 MCP 服务器(优先) 1. 调用 cc-sync MCP 服务器的 `getMode` 工具(不需要参数) 2. 显示返回的模式和同步项目列表 ### 方法 2:备用实现(MCP 服务器不可用时) 1. 使用 Read 工具读取配置文件 `~/.cc-sync-config.json` 2. 解析 JSON 获取 `syncMode`、`useLFS` 和 `customItems` 3. 根据模式显示相应的同步项目列表 ## 同步模式说明 - **basic**:仅同步配置文件 - `.claude/settings.json` - `.claude/CLAUDE.md` - `.claude.json` - `.claude/agents/` - `.claude/skills/` - **full**:全面同步(包括插件、缓存) - 包含 basic 模式的所有内容 - `.claude/plugins/` - `.claude/plugins-cache/` - `.claude/cache/` [LFS] -...
/sync-helpDisplays claude-sync slash commands overview with descriptions, plus detailed options for init, pull, conflicts, reset, synced paths, workflows, and CLI docs link.
Share bugs, ideas, or general feedback.
查看当前同步模式和将要同步的项目列表。优先使用 cc-sync MCP 服务器,如果不可用则直接读取配置文件。
getMode 工具(不需要参数)~/.cc-sync-config.jsonsyncMode、useLFS 和 customItemsbasic:仅同步配置文件
.claude/settings.json.claude/CLAUDE.md.claude.json.claude/agents/.claude/skills/full:全面同步(包括插件、缓存)
.claude/plugins/.claude/plugins-cache/.claude/cache/ [LFS].claude/sessions/ [LFS].claude/plans/.claude/state/ [LFS].claude/hooks/.claude/mcp-servers/custom:自定义同步列表
customItems 中定义的项目/cc-sync:getMode
如果 MCP 服务器不可用,直接读取配置文件并显示:
当前同步模式: basic
同步模式: Basic 模式 - 仅同步配置文件
同步项目列表:
- .claude/settings.json (file)
- .claude/CLAUDE.md (file) [可选]
- .claude.json (file)
- .claude/agents/ (dir) [可选]
- .claude/skills/ (dir) [可选]
Use the getMode tool from the cc-sync MCP Server to view the current sync mode and list of items to sync. Falls back to reading the config file directly if MCP server is unavailable.
getMode tool from the cc-sync MCP Server (no parameters needed)~/.cc-sync-config.jsonsyncMode, useLFS, and customItemsbasic: Configuration files only
.claude/settings.json.claude/CLAUDE.md.claude.json.claude/agents/.claude/skills/full: Full sync including plugins and cache
.claude/plugins/.claude/plugins-cache/.claude/cache/ [LFS].claude/sessions/ [LFS].claude/plans/.claude/state/ [LFS].claude/hooks/.claude/mcp-servers/custom: Custom sync list
customItems/cc-sync:getMode
Current sync mode: basic
Mode: Basic mode - configuration files only
Sync items:
- .claude/settings.json (file)
- .claude/CLAUDE.md (file) [optional]
- .claude.json (file)
- .claude/agents/ (dir) [optional]
- .claude/skills/ (dir) [optional]