← ClaudeAtlas

omc-setuplisted

One-time setup for oh-my-claudecode (the ONLY command you need to learn)
mazenyassergithub/oh-my-claudecode · ★ 6 · AI & Automation · score 81
Install: claude install-skill mazenyassergithub/oh-my-claudecode
# OMC Setup This is the **only command you need to learn**. After running this, everything else is automatic. ## Step 1: Ask User Preference Use the AskUserQuestion tool to prompt the user: **Question:** "Where should I configure oh-my-claudecode?" **Options:** 1. **Local (this project)** - Creates `.claude/CLAUDE.md` in current project directory. Best for project-specific configurations. 2. **Global (all projects)** - Creates `~/.claude/CLAUDE.md` for all Claude Code sessions. Best for consistent behavior everywhere. ## Step 2: Execute Based on Choice ### If User Chooses LOCAL: ```bash # Create .claude directory in current project mkdir -p .claude # Extract old version before download OLD_VERSION=$(grep -m1 "^# oh-my-claudecode" .claude/CLAUDE.md 2>/dev/null | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+' || echo "none") # Download fresh CLAUDE.md from GitHub curl -fsSL "https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/docs/CLAUDE.md" -o .claude/CLAUDE.md && \ echo "Downloaded CLAUDE.md to .claude/CLAUDE.md" # Extract new version and report NEW_VERSION=$(grep -m1 "^# oh-my-claudecode" .claude/CLAUDE.md 2>/dev/null | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+' || echo "unknown") if [ "$OLD_VERSION" = "none" ]; then echo "Installed CLAUDE.md: $NEW_VERSION" elif [ "$OLD_VERSION" = "$NEW_VERSION" ]; then echo "CLAUDE.md unchanged: $NEW_VERSION" else echo "Updated CLAUDE.md: $OLD_VERSION -> $NEW_VERSION" fi ``` ### If User Chooses GLOBAL: ```bash # Extract old v