omx-setup
Fungsinya
Skill ini memasang dan memperbarui pengaturan oh-my-codex di komputer atau proyek. Cocok untuk pengguna yang ingin alat ini dikonfigurasi dengan benar.
Kapan dipakai
- βSaat Anda memasang oh-my-codex untuk pertama kali di komputer atau proyek.
- βSaat Anda ingin menyegarkan instalasi yang ada setelah pembaruan.
- βSaat Anda ingin melihat pratinjau perubahan pengaturan sebelum diterapkan.
Link skill
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/omx-setup/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βAtur oh-my-codex hanya untuk proyek ini dan tunjukkan dulu apa yang akan berubah.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menjalankan perintah pengaturan dengan opsi cakupan pengguna atau proyek, perilaku penggabungan, dan alat MCP. Opsi dry-run menampilkan pratinjau tindakan, dan opsi verbose mencantumkan setiap langkah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
OMX Setup
Use this task card to install or refresh OMX for the current project and/or user scope. Shared safety, lifecycle, hook, team, autonomy, and cancellation rules live in templates/AGENTS.md. Do not infer new CLI behavior from this card; the implementation is authoritative.
Command and alternatives
omx setup [--force] [--merge-agents|--no-merge-agents|--clear-merge-agents-policy] [--dry-run] [--verbose] [--scope <user|project>] [--plugin|--legacy|--install-mode <legacy|plugin>] [--mcp <none|compat>] [--no-mcp|--with-mcp] [--disable-team|--enable-team|--team-mode <enabled|disabled>]
omx agents-init [path] [--dry-run] [--force] [--verbose]
Use agents-init for lightweight AGENTS.md scaffolding only, not a full install.
Supported setup options:
--force: overwrite/reinstall managed artifacts; transient, not persisted or replayed.--merge-agents,--no-merge-agents,--clear-merge-agents-policy: exact bare selectors (no values/equals). Repeated identical selectors are idempotent; conflicting selectors fail before mutations. Set persists an explicit policy per invoking project root; clear removes it and cannot combine with a set. Merge refreshes managed sections; no-merge only suppresses that branch and is not a preserve mode.--dry-run,--verbose: preview actions or show per-file/per-step detail.--scope user|project: choose user (~/.codex,~/.omx/agents) or project (./.codex,./.omx/agents) targets.--plugin/--legacy: select delivery mode;--install-mode legacy|pluginis the canonical scripted spelling. Conflicting mode flags fail.--mcp none|compat(plus--no-mcp/--with-mcp): omit or enable first-party MCP compatibility and shared registry sync.--disable-team,--enable-team,--team-mode enabled|disabled: select Team skill/context generation; conflicting selectors fail.
Resolve setup
- Scope: explicit flag, valid persisted
./.omx/setup-scope.json, TTY choice (defaultuser), or non-interactiveuser. Legacyproject-localmigrates toproject. - Mode: explicit flag, persisted mode when retained, discovered
${CODEX_HOME:-~/.codex}/plugins/cache/**/.codex-plugin/plugin.jsonwithname: oh-my-codex(plugin default), otherwise legacy. TTY reruns summarize saved choices and offer keep/review/reset; non-interactive runs do not block. - Create required directories and atomically persist preferences only after successful setup.
What setup changes
- Legacy mode installs prompts/native agents/skills and merges full config.toml.
- Plugin mode archives/removes legacy OMX-managed prompts/skills, refreshes installable native agent TOMLs and stale generated non-installable agents, and keeps setup-owned runtime hooks.
- Both modes verify Team CLI interop markers in built
dist/cli/team.js, generate AGENTS defaults only when selected/allowed, and write./.omx/hud-config.json; notification hook references are setup-owned outside plugin skill delivery. AGENTS.mdis./AGENTS.md. Without--forceor--merge-agents, interactive runs ask before overwrite and non-interactive runs preserve it. Active-session safeguards may skip writes. Plugin mode may separately prompt for AGENTS anddeveloper_instructionsdefaults; non-interactive runs preserve existing files.- Plugin mode enables setup-owned runtime flags (
plugin_hooks,goals, or legacyhooks/codex_hooksfallback). Project scope usesCODEX_HOME=./.codexunless explicitly overridden.
Verify
omx setup --force --verbose
omx doctor
Expect doctor evidence for prompts and skills in the selected scope, project-root AGENTS.md, .omx/state, and CLI-first config in the scope target config.toml. First-party MCP and shared registry sync are omitted unless setup used --mcp compat (if supported by the installed CLI).
If using local source, run npm run build before node dist/cli/omx.js setup --force --verbose and node dist/cli/omx.js doctor. If AGENTS was not overwritten or merged, stop the active OMX session and rerun with --force or --merge-agents; do not edit lifecycle state manually.
Discovery troubleshooting
If $omx-setup is absent/stale: run omx setup --verbose, then omx doctor; verify ./.codex/skills/omx-setup/SKILL.md for project scope or ${CODEX_HOME:-~/.codex}/skills/omx-setup/SKILL.md for legacy user scope. In plugin mode verify the oh-my-codex plugin is installed/discovered. For duplicates, inspect historical `~/.ag
Pertanyaan umum
Bisakah saya melihat perubahan sebelum dibuat?
Bisa. Opsi dry-run menampilkan pratinjau tindakan tanpa menerapkannya.
Apa bedanya cakupan pengguna dan proyek?
Cakupan pengguna memengaruhi seluruh pengaturan pengguna Anda, sedangkan cakupan proyek hanya berlaku untuk proyek yang sedang dibuka.
Apakah ada opsi yang lebih ringan?
Ada. Perintah agents-init hanya menambahkan file AGENTS.md dasar, tanpa pemasangan lengkap.
Detail
Deskripsi asli dari pembuat
Setup and configure oh-my-codex using current CLI behavior
repo: Yeachan-Heo/oh-my-codex
Popularitas
- Bintang GitHub
- 34k
- Peringkat
- #8421
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
ai-slop-cleaner
34kMembantu agent Anda membersihkan kode yang gemuk, berulang, atau dihasilkan AI dengan menghapus kode mati dan pembungkus yang tidak perlu, sambil menjaga perilakunya tetap sama.
analyze
34kMemungkinkan agent Anda menjawab pertanyaan tentang basis kode dengan membaca kode yang relevan dan melaporkan penjelasan yang diurutkan beserta buktinya, tanpa membuat perubahan.
ask
34kMemungkinkan agent Anda meminta pendapat kedua atau tinjauan dari alat baris perintah Claude atau Gemini yang terpasang di komputer, lalu menyimpan jawabannya sebagai file.
autopilot
34kMenjalankan proyek penuh tanpa banyak campur tangan, dari ide, persyaratan, dan perencanaan sampai pelaksanaan, dan hanya berhenti jika ada hambatan nyata.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.