Agent skill

sync-public

Sync Claude Code config to public repository

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/sync-public

SKILL.md

When the user requests to sync the Claude Code configuration to the public repository:

  1. Ensure you're in the monorepo root (/Users/.../wythm) with a clean working tree, then execute the sync script:

    bash
    .claude/scripts/sync-to-public.sh
    
  2. The script will:

    • Copy the .claude/ directory to wythm-claude-workflows repository
    • Exclude sensitive files (settings.local.json, logs, etc.)
    • Create a commit with a descriptive message
    • Automatically push to GitHub
  3. Show the user:

  4. If any errors occur, report them clearly and suggest manual intervention if needed

Usage: /sync-public

Purpose: Keep the public Claude Code workflows repository up-to-date with the latest agents, commands, hooks, and skills from the main Wythm project.

Note: This command is safe to run - it excludes all sensitive data (tokens, IDs, logs) by design.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results