Langsung ke konten
Skillpedia
Agen41k ยท #7013

omc-setup

Fungsinya

Skill ini menyiapkan atau menyegarkan oh-my-claudecode untuk Anda. Skill ini untuk orang yang memasang add-on untuk pertama kali atau sedang memperbaruinya.

Kapan dipakai

  • โœ“Saat Anda baru memasang oh-my-claudecode dan perlu menyelesaikan penyiapannya.
  • โœ“Saat Anda ingin memperbarui atau menyegarkan instalasi oh-my-claudecode yang sudah ada.
  • โœ“Saat Anda ingin penyiapan hanya diterapkan pada proyek saat ini atau secara global.

Link skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/omc-setup/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/omc-setup/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSaya baru saja memasang oh-my-claudecode. Tolong selesaikan penyiapannya untuk saya.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memeriksa apakah penyiapan sudah selesai, lalu menjalankan langkah-langkahnya secara berurutan, mencakup instalasi, konfigurasi, dan perbaikan apa pun. Opsi memungkinkan Anda memilih penyiapan hanya untuk proyek atau global, atau menjalankan ulang penuh.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

OMC Setup

This is the only command you need to learn. After running this, everything else is automatic.

When this skill is invoked, immediately execute the workflow below. Do not only restate or summarize these instructions back to the user.

Note: All ~/.claude/... paths in this guide respect CLAUDE_CONFIG_DIR when that environment variable is set.

Best-Fit Use

Choose this setup flow when the user wants to install, refresh, or repair OMC itself.

  • Marketplace/plugin install users should land here after /plugin install oh-my-claudecode
  • npm users should land here after npm i -g oh-my-claude-sisyphus@latest
  • local-dev and worktree users should land here after updating the checked-out repo and rerunning setup

Flag Parsing

Check for flags in the user's invocation:

  • --help โ†’ Show Help Text (below) and stop
  • --local โ†’ Phase 1 only (target=local), then stop
  • --global โ†’ Phase 1 only (target=global), then stop
  • --force โ†’ Skip Pre-Setup Check, run full setup (Phase 1 โ†’ 2 โ†’ 3 โ†’ 4)
  • No flags โ†’ Run Pre-Setup Check, then full setup if needed

Help Text

When user runs with --help, display this and stop:

OMC Setup - Configure oh-my-claudecode

USAGE:
  /oh-my-claudecode:omc-setup           Run initial setup wizard (or update if already configured)
  /oh-my-claudecode:omc-setup --local   Configure local project (.claude/CLAUDE.md)
  /oh-my-claudecode:omc-setup --global  Configure global settings (~/.claude/CLAUDE.md)
  /oh-my-claudecode:omc-setup --force   Force full setup wizard even if already configured
  /oh-my-claudecode:omc-setup --help    Show this help

MODES:
  Initial Setup (no flags)
    - Interactive wizard for first-time setup
    - Configures CLAUDE.md (local or global)
    - Sets up HUD statusline
    - Checks for updates
    - Clears retired setup values (5.0.0 removed defaultExecutionMode) and points MCP registration at Claude Code's native config
    - Configures team mode defaults (agent count, type, model)
    - If already configured, offers quick update option

  Local Configuration (--local)
    - Invokes the plugin-local coordinator through `scripts/setup-claude-md.sh`; the shell validates the coordinator response and its exit status before any post-install work
    - Reports coordinator-created byte-identical backups only for files that required mutation
    - Project-specific settings
    - Use this to update project config after OMC upgrades

  Global Configuration (--global)
    - Invokes the plugin-local coordinator through `scripts/setup-claude-md.sh`; the shell validates the coordinator response and its exit status before any post-install work
    - Reports coordinator-created byte-identical backups only for changed global files
    - Default: explicitly overwrites ~/.claude/CLAUDE.md so plain `claude` also uses OMC
    - Optional preserve mode keeps the user's base `CLAUDE.md` and installs OMC into `CLAUDE-omc.md` for `omc` launches
    - Applies to all Claude Code sessions
    - Preserves same-named legacy hook files unless their exact historical contents are independently verified
    - Use this to update global config after OMC upgrades

  Force Full Setup (--force)
    - Bypasses the "already configured" check
    - Runs the complete setup wizard from scratch
    - Use when you want to reconfigure preferences

EXAMPLES:
  /oh-my-claudecode:omc-setup           # First time setup (or update CLAUDE.md if configured)
  /oh-my-claudecode:omc-setup --local   # Update this project
  /oh-my-claudecode:omc-setup --global  # Update all projects
  /oh-my-claudecode:omc-setup --force   # Re-run full setup wizard

For more info: https://github.com/Yeachan-Heo/oh-my-claudecode

Setup Invocation

Do not independently scan plugin cache directories or select a plugin root in this skill. Invoke the setup script from the plugin root supplied by the running plugin environment:

bash "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-claude-md.sh" <local|global> [overwrite|preserve]

The script is the sole cache resolver. It accepts only complete plugin roots (canonical docs/CLAUDE.md, coordinator artifact, and wiki skill), chooses a strict full-SemVer cache version, verifies the compiled-source handshake, and fails closed on coordinator protocol or status disagreement. Do not download configuration or mutate CLAUDE.md outside that coordinator.

Pre-Setup Check: Already Configured?

CRITICAL: Before doing anything

Pertanyaan umum

Bisakah saya menyiapkannya hanya untuk satu proyek?

Bisa. Opsi lokal mengonfigurasi hanya proyek saat ini.

Apakah ini sama dengan skill diagnosis?

Tidak. Penyiapan memasang atau menyegarkan add-on, sedangkan skill doctor memeriksa dan memperbaiki masalah.

Apakah ini perlu dijalankan setiap kali?

Tidak. Skill ini untuk memasang atau menyegarkan, dan menjalankan pemeriksaan singkat terlebih dahulu sebelum melakukan apa pun.

Detail

Deskripsi asli dari pembuat

Install or refresh oh-my-claudecode for plugin, npm, and local-dev setups from the canonical setup flow

repo: Yeachan-Heo/oh-my-claudecode

Popularitas

Bintang GitHub
41k
Peringkat
#7013
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa