From claude-config
Compare current Claude Code config with a saved setup script
How this command is triggered — by the user, by Claude, or both
Slash command
/claude-config:config-diffThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Config Diff Command Compare your current Claude Code configuration with a previously saved setup script to see what has changed. ## Arguments - `setup-script` (required): Path to a previously generated setup script (e.g., `claude_setup.sh`) ## Instructions 1. Verify the provided setup script exists and is readable. 2. Extract configuration from the setup script by parsing the commands: - `claude plugin marketplace add <url/repo>` entries - `claude mcp add <name> ...` entries - `claude plugin install <id>` entries 3. Get current configuration from: - `~/.claude/plugins/k...
Compare your current Claude Code configuration with a previously saved setup script to see what has changed.
setup-script (required): Path to a previously generated setup script (e.g., claude_setup.sh)Verify the provided setup script exists and is readable.
Extract configuration from the setup script by parsing the commands:
claude plugin marketplace add <url/repo> entriesclaude mcp add <name> ... entriesclaude plugin install <id> entriesGet current configuration from:
~/.claude/plugins/known_marketplaces.json for marketplaces~/.claude.json for MCP servers~/.claude/settings.json for enabled pluginsCompare and categorize items into:
Display the diff in a clear format.
/config-diff claude_setup.sh
/config-diff ~/backups/old_config.sh
Configuration Diff: claude_setup.sh vs Current Config
=== Marketplaces ===
+ phlubucek/new-plugins (added)
- old-marketplace/plugins (removed)
= phlubucek/claude-plugins (unchanged)
=== MCP Servers ===
+ greptile (added)
= context7 (unchanged)
= playwright (unchanged)
=== Plugins ===
+ superpowers (added)
- old-plugin (removed)
= pr-review-toolkit (unchanged)
Summary:
Marketplaces: 1 added, 1 removed, 1 unchanged
MCP Servers: 1 added, 0 removed, 2 unchanged
Plugins: 1 added, 1 removed, 1 unchanged
The command should use grep/regex to extract:
# Marketplaces
grep "claude plugin marketplace add" script.sh | awk '{print $5}'
# MCP servers (name is the first arg after 'claude mcp add')
grep "claude mcp add" script.sh | awk '{print $4}'
# Plugins
grep "claude plugin install" script.sh | awk '{print $4}'
npx claudepluginhub lopisan/claude-code-plugins --plugin claude-config/sync-diffShows differences between local and remote Claude Code sessions by running claude-sync diff, summarizing files unique to each side, content diffs, and suggesting sync actions.
/cc-configGenerates, audits, or displays Claude Code configurations (CLAUDE.md, settings.json, .mcp.json). Supports generate with presets (developer, ci-cd, secure), audit for issues, and show for merged settings.
/watchCheck for Claude Code updates, detect breaking changes, analyze plugin compatibility, and optionally gather community pulse via Exa.
/skill-diffCompares a <skill-name> across Claude, Codex, Copilot, and Cursor CLIs, showing which have it, unified diffs, frontmatter/token differences. Optional [--context <lines>] flag.