Token导航 LogoToken导航

Agent Skill · 开发

omg(天啊)

omg 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

omg 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 17,731。

总安装 384周安装 16GitHub Stars 2下载 128核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:omg(天啊)
来源仓库:https://github.com/akillness/oh-my-gods
仓库路径:skills/omg
安装命令:
npx skills add https://github.com/akillness/oh-my-gods --skill omg
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-gods --skill omg

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

omg 提供端到端的 AI 编码工作流,涵盖规划、执行、验证和清理阶段。适用于需要结合计划工具、执行代理、UI 反馈和代码整理的多步开发任务。通过集成 ralph、plannotator、team/bmad 等组件实现自动化协作流程。安装前需确认权限范围、维护状态及是否涉及联网或文件操作。

建议结合原始 README 核验具体用法和平台兼容性。

来源仓库内路径:skills/omg

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/akillness/oh-my-gods --skill omg;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

omg 怎么安装?

在终端执行 npx skills add https://github.com/akillness/oh-my-gods --skill omg。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

omg 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

omg 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

omg 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

omg 用的人多吗?

公开数据是累计安装 384 次,近一周安装 16 次,下载 128 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

omg 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
omg

天啊 · 本页

3842操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

OMG — Integrated Agent Orchestration

Keyword: omg · annotate · UI검토 · agentui (deprecated) | Platforms: Claude Code · Codex CLI · Gemini CLI · OpenCode A unified skill providing fully automated orchestration flow: Plan (ralph+plannotator) → Execute (team/bmad) → UI Feedback (agentation/annotate) → Cleanup (worktree cleanup)

When to use this skill

  • When the user wants an end-to-end AI coding workflow across planning, execution, verification, and cleanup
  • When the task benefits from combining ralph, plannotator, team or bmad, browser verification, and optional UI annotation
  • When the user mentions omg, annotate, UI검토, or asks for a coordinated multi-platform agent workflow

Instructions

Follow the execution protocol below in order. Do not skip PLAN, and only enable the UI feedback lane when the task actually needs browser or visual verification.

Control Layers

OMG uses one cross-platform abstraction for orchestration:

  • settings: platform/runtime configuration such as Claude hooks, Codex config.toml, Gemini settings.json, MCP registration, and prompt parameters
  • rules: policy constraints that must hold on every platform
  • hooks: event callbacks that enforce those rules on each platform

The key OMG rules are:

  • do not reopen the PLAN gate when the current plan hash already has a terminal result
  • only a revised plan resets plan_gate_status to pending
  • do not process agentation annotations before explicit submit/onSubmit opens the submit gate

The authoritative state is .omc/state/omg-state.json. Hooks may help advance the workflow, but they must obey the state file.


0. Agent Execution Protocol (follow immediately upon omg keyword detection)

The following are commands, not descriptions. Execute them in order. Each step only proceeds after the previous one completes.

STEP 0: State File Bootstrap (required — always first)

mkdir -p .omc/state .omc/plans .omc/logs

If .omc/state/omg-state.json does not exist, create it:

{
  "phase": "plan",
  "task": "<감지된 task>",
  "plan_approved": false,
  "plan_gate_status": "pending",
  "plan_current_hash": null,
  "last_reviewed_plan_hash": null,
  "last_reviewed_plan_at": null,
  "plan_review_method": null,
  "team_available": null,
  "retry_count": 0,
  "last_error": null,
  "checkpoint": null,
  "created_at": "<ISO 8601>",
  "updated_at": "<ISO 8601>",
  "agentation": {
    "active": false,
    "session_id": null,
    "keyword_used": null,
    "submit_gate_status": "idle",
    "submit_signal": null,
    "submit_received_at": null,
    "submitted_annotation_count": 0,
    "started_at": null,
    "timeout_seconds": 120,
    "annotations": { "total": 0, "acknowledged": 0, "resolved": 0, "dismissed": 0, "pending": 0 },
    "completed_at": null,
    "exit_reason": null
  }
}

Notify the user:

"OMG activated. Phase: PLAN. Add the annotate keyword if a UI feedback loop is needed."

Claude Code only — hook self-check (run inline):

Verify the ExitPlanMode hook is using claude-plan-gate.py, not raw plannotator. If misconfigured, auto-repair:

import json, os, subprocess, sys

p = os.path.expanduser("~/.claude/settings.json")
if os.path.exists(p):
    s = json.load(open(p))
    for entry in s.get("hooks", {}).get("PermissionRequest", []):
        if entry.get("matcher") == "ExitPlanMode":
            for h in entry.get("hooks", []):
                cmd = h.get("command", "")
                if (cmd.strip() == "plannotator" or cmd.startswith("plannotator ")) and "claude-plan-gate" not in cmd:
                    print("[OMG][WARN] Hook uses raw plannotator — state tracking disabled. Auto-repairing...", file=sys.stderr)
                    for candidate in [
                        os.path.join(os.getcwd(), ".agent-skills/omg/scripts/setup-claude.sh"),
                        os.path.expanduser("~/.claude/skills/omg/scripts/setup-claude.sh"),
                        os.path.expanduser("~/.agent-skills/omg/scripts/setup-claude.sh"),
                    ]:
                        if os.path.exists(candidate):
                            subprocess.run(["bash", candidate], check=False)
                            print("[OMG] Hook repaired. Restart Claude Code to apply.", file=sys.stderr)
                            break

STEP 0.1: Error Recovery Protocol (applies to all STEPs)

Checkpoint recording — immediately after entering each STEP:

# Execute immediately at the start of each STEP (agent updates omg-state.json directly)
python3 -c "
import json, datetime, os, subprocess, tempfile
try:
    root = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL).decode().strip()
except:
    root = os.getcwd()
f = os.path.join(root, '.omc/state/omg-state.json')
if os.path.exists(f):
    import fcntl
    with open(f, 'r+') as fh:
        fcntl.flock(fh, fcntl.LOCK_EX)
        try:
            d = json.load(fh)
            d['checkpoint']='<current_phase>'   # 'plan'|'execute'|'verify'|'cleanup'
            d['updated_at']=datetime.datetime.utcnow().isoformat()+'Z'
            fh.seek(0)
            json.dump(d, fh, ensure_ascii=False, indent=2)
            fh.truncate()
        finally:
            fcntl.flock(fh, fcntl.LOCK_UN)
" 2>/dev/null || true

last_error recording — on pre-flight failure or exception:

python3 -c "
import json, datetime, os, subprocess, fcntl
try:
    root = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL).decode().strip()
except:
    root = os.getcwd()
f = os.path.join(root, '.omc/state/omg-state.json')
if os.path.exists(f):
    with open(f, 'r+') as fh:
        fcntl.flock(fh, fcntl.LOCK_EX)
        try:
            d = json.load(fh)
            d['last_error']='<error message>'
            d['retry_count']=d.get('retry_count',0)+1
            d['updated_at']=datetime.datetime.utcnow().isoformat()+'Z'
            fh.seek(0)
            json.dump(d, fh, ensure_ascii=False, indent=2)
            fh.truncate()
        finally:
            fcntl.flock(fh, fcntl.LOCK_UN)
" 2>/dev/null || true

Checkpoint-based resume on restart:

# If omg-state.json already exists, resume from checkpoint
python3 -c "
import json, os, subprocess
try:
    root = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL).decode().strip()
except:
    root = os.getcwd()
f = os.path.join(root, '.omc/state/omg-state.json')
if os.path.exists(f):
    d=json.load(open(f))
    cp=d.get('checkpoint')
    err=d.get('last_error')
    if err: print(f'Previous error: {err}')
    if cp: print(f'Resuming from: {cp}')
" 2>/dev/null || true
Rule: Before exit 1 in pre-flight, always update last_error and increment retry_count. If retry_count >= 3, ask the user whether to abort.

STEP 1: PLAN (never skip)

Pre-flight (required before entering):

# Record checkpoint
python3 -c "
import json,datetime,os,subprocess,fcntl,tempfile
try:
    root=subprocess.check_output(['git','rev-parse','--show-toplevel'],stderr=subprocess.DEVNULL).decode().strip()
except:
    root=os.getcwd()
f=os.path.join(root,'.omc/state/omg-state.json')
if os.path.exists(f):
    with open(f,'r+') as fh:
        fcntl.flock(fh,fcntl.LOCK_EX)
        try:
            d=json.load(fh)
            d.update({'checkpoint':'plan','updated_at':datetime.datetime.utcnow().isoformat()+'Z'})
            fh.seek(0); json.dump(d,fh,ensure_ascii=False,indent=2); fh.truncate()
        finally:
            fcntl.flock(fh,fcntl.LOCK_UN)
" 2>/dev/null || true

# NOTE: Claude Code — skip this entire bash block.
# plannotator is a hook-only binary; calling it directly always fails.
# For Claude Code: call EnterPlanMode → write plan → call ExitPlanMode.
# The ExitPlanMode PermissionRequest hook fires plannotator automatically.
# The following script is for Codex / Gemini / OpenCode only.

# GUARD: enforce no-repeat PLAN review by plan hash.
# same hash + terminal gate status => skip reopening the plan gate
# revised plan.md content => reset gate to pending and review again
PLAN_GATE_STATUS=$(python3 -c "
import json, os
try:
    s = json.load(open('.omc/state/omg-state.json'))
    print(s.get('plan_gate_status', 'pending'))
except Exception:
    print('pending')
" 2>/dev/null || echo "pending")

HASH_MATCH=$(python3 -c "
import hashlib, json, os
try:
    s = json.load(open('.omc/state/omg-state.json'))
    if not os.path.exists('plan.md'):
        print('no-match')
    else:
        current_hash = hashlib.sha256(open('plan.md', 'rb').read()).hexdigest()
        print('match' if current_hash == (s.get('last_reviewed_plan_hash') or '') else 'no-match')
except Exception:
    print('no-match')
" 2>/dev/null || echo "no-match")

if [[ "$HASH_MATCH" == "match" && "$PLAN_GATE_STATUS" =~ ^(approved|manual_approved|feedback_required|infrastructure_blocked)$ ]]; then
  echo "✅ Current plan hash already has gate result: $PLAN_GATE_STATUS. Do not reopen plannotator."
  exit 0
fi

# plannotator is mandatory for the PLAN step (Codex/Gemini/OpenCode).
# If missing, OMG auto-installs it before opening the PLAN gate.
# Resolve the OMG scripts directory (works from any CWD)
_OMG_SCRIPTS=""
for _candidate in \
  "${OMG_SKILL_DIR:-}/scripts" \
  "$HOME/.agent-skills/omg/scripts" \
  "$HOME/.codex/skills/omg/scripts" \
  "$(pwd)/.agent-skills/omg/scripts" \
  "scripts" \
  ; do
  if [ -f "${_candidate}/plannotator-plan-loop.sh" ]; then
    _OMG_SCRIPTS="$_candidate"
    break
  fi
done

if [ -z "$_OMG_SCRIPTS" ]; then
  echo "❌ OMG scripts not found. Re-run: bash setup-codex.sh (or setup-gemini.sh)"
  exit 1
fi

if ! bash "${_OMG_SCRIPTS}/ensure-plannotator.sh"; then
  echo "❌ plannotator auto-install failed: cannot proceed with PLAN step."
  echo "   Retry: bash ${_OMG_SCRIPTS}/../scripts/install.sh --with-plannotator"
  exit 1
fi

# Required PLAN gate (Codex / Gemini / OpenCode):
# - Must wait until approve/feedback is received
# - Auto-restart on session exit (up to 3 times)
# - After 3 exits, ask user whether to end PLAN
FEEDBACK_DIR=$(python3 -c "import hashlib,os; h=hashlib.md5(os.getcwd().encode()).hexdigest()[:8]; d=f'/tmp/omg-{h}'; os.makedirs(d,exist_ok=True); print(d)" 2>/dev/null || echo '/tmp')
FEEDBACK_FILE="${FEEDBACK_DIR}/plannotator_feedback.txt"
bash "${_OMG_SCRIPTS}/plannotator-plan-loop.sh" plan.md "$FEEDBACK_FILE" 3
PLAN_RC=$?

if [ "$PLAN_RC" -eq 0 ]; then
  echo "✅ Plan approved"
elif [ "$PLAN_RC" -eq 10 ]; then
  echo "❌ Plan not approved — apply feedback, revise plan.md, and retry"
  exit 1
elif [ "$PLAN_RC" -eq 32 ]; then
  echo "⚠️ plannotator UI unavailable (sandbox/CI). Entering Conversation Approval Mode:"
  echo "   1. Output plan.md content to user in conversation"
  echo "   2. Ask user: 'approve' to proceed or provide feedback"
  echo "   3. DO NOT proceed to EXECUTE until user explicitly approves"
  exit 32
elif [ "$PLAN_RC" -eq 30 ] || [ "$PLAN_RC" -eq 31 ]; then
  echo "⛔ PLAN exit decision (or awaiting confirmation). Confirm with user before retrying."
  exit 1
else
  echo "❌ plannotator PLAN gate failed (code=$PLAN_RC)"
  exit 1
fi
mkdir -p .omc/plans .omc/logs
  1. Write plan.md (include goal, steps, risks, and completion criteria)
  2. Invoke plannotator (per platform):

- Claude Code (hook mode — only supported method): plannotator is a hook-only binary. It cannot be called via MCP tool or CLI directly. Call EnterPlanMode, write the plan content in plan mode, then call ExitPlanMode. The ExitPlanMode PermissionRequest hook fires the OMG Claude plan-gate wrapper automatically. That wrapper must skip re-entry when the current plan hash already has a terminal review result. Wait for the hook to return before proceeding — approved or feedback will arrive via the hook result. - Codex / Gemini / OpenCode: run blocking CLI (never use &): # _OMG_SCRIPTS must be resolved first via the dynamic path discovery block in the pre-flight above bash "${_OMG_SCRIPTS}/plannotator-plan-loop.sh" plan.md /tmp/plannotator_feedback.txt 3 If plannotator is missing, OMG must auto-run bash "${_OMG_SCRIPTS}/ensure-plannotator.sh" first and continue only after the CLI is available.

  1. Check result:

- approved: true (Claude Code: hook returns approved) → update omg-state.json phase to "execute" and plan_approved to true → enter STEP 2 - Not approved (Claude Code: hook returns feedback; others: exit 10) → read feedback, revise plan.md → repeat step 2 - Infrastructure blocked (exit 32) → Conversation Approval Mode: output plan.md content to user, ask approve or provide feedback. WAIT for user response — do NOT proceed to EXECUTE until user explicitly approves - Session exited 3 times (exit 30/31) → ask user whether to end PLAN and decide to abort or resume

NEVER: enter EXECUTE without approved: true. NEVER: run with & background. NEVER: reopen the same unchanged plan after approved, manual_approved, feedback_required, or infrastructure_blocked.


STEP 2: EXECUTE

Pre-flight (auto-detect team availability):

# Record checkpoint
python3 -c "
import json,datetime,os,subprocess,fcntl
try:
    root=subprocess.check_output(['git','rev-parse','--show-toplevel'],stderr=subprocess.DEVNULL).decode().strip()
except:
    root=os.getcwd()
f=os.path.join(root,'.omc/state/omg-state.json')
if os.path.exists(f):
    with open(f,'r+') as fh:
        fcntl.flock(fh,fcntl.LOCK_EX)
        try:
            d=json.load(fh)
            d.update({'checkpoint':'execute','updated_at':datetime.datetime.utcnow().isoformat()+'Z'})
            fh.seek(0); json.dump(d,fh,ensure_ascii=False,indent=2); fh.truncate()
        finally:
            fcntl.flock(fh,fcntl.LOCK_UN)
" 2>/dev/null || true

TEAM_AVAILABLE=false
if [[ "${CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS:-}" =~ ^(1|true|True|yes|YES)$ ]]; then
  TEAM_AVAILABLE=true
elif python3 -c "
import json, os, sys
try:
    s = json.load(open(os.path.expanduser('~/.claude/settings.json')))
    val = s.get('env', {}).get('CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS', '')
    sys.exit(0 if str(val) in ('1', 'true', 'True', 'yes') else 1)
except Exception:
    sys.exit(1)
" 2>/dev/null; then
  TEAM_AVAILABLE=true
fi
export TEAM_AVAILABLE_BOOL="$TEAM_AVAILABLE"
python3 -c "
import json,os,subprocess,fcntl
try:
    root=subprocess.check_output(['git','rev-parse','--show-toplevel'],stderr=subprocess.DEVNULL).decode().strip()
except:
    root=os.getcwd()
f=os.path.join(root,'.omc/state/omg-state.json')
if os.path.exists(f):
    with open(f,'r+') as fh:
        fcntl.flock(fh,fcntl.LOCK_EX)
        try:
            d=json.load(fh)
            d['team_available']=os.environ.get('TEAM_AVAILABLE_BOOL','false').lower()=='true'
            fh.seek(0); json.dump(d,fh,ensure_ascii=False,indent=2); fh.truncate()
        finally:
            fcntl.flock(fh,fcntl.LOCK_UN)
" 2>/dev/null || true
  1. Update omg-state.json phase to "execute"
  2. Team available (Claude Code + omc): /omc:team 3:executor "<task>"
  3. Claude Code but no team: echo "❌ OMG requires Claude Code team mode. Re-run bash scripts/setup-claude.sh, restart Claude Code, and confirm CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1." exit 1 Never fall back to single-agent execution in Claude Code.
  4. No omc (BMAD fallback — Codex / Gemini / OpenCode only): /workflow-init # Initialize BMAD /workflow-status # Check current step

STEP 3: VERIFY

  1. Update omg-state.json phase to "verify"
  2. Basic verification with agent-browser (when browser UI is present): agent-browser snapshot http://localhost:3000
  3. annotate keyword detected → enter STEP 3.1
  4. Otherwise → enter STEP 4

STEP 3.1: VERIFY_UI (only when annotate keyword is detected)

  1. Pre-flight check (required before entering): if! curl -sf --connect-timeout 2 http://localhost:4747/health >/dev/null 2>&1; then echo "⚠️ agentation-mcp server not running — skipping VERIFY_UI and proceeding to CLEANUP" python3 -c "

import json,os,subprocess,fcntl,time try: root=subprocess.check_output(['git','rev-parse','--show-toplevel'],stderr=subprocess.DEVNULL).decode().strip() except: root=os.getcwd() f=os.path.join(root,'.omc/state/omg-state.json') if os.path.exists(f): with open(f,'r+') as fh: fcntl.flock(fh,fcntl.LOCK_EX) try: d=json.load(fh) d['last_error']='agentation-mcp not running; VERIFY_UI skipped' d['updated_at']=time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime()) fh.seek(0); json.dump(d,fh,ensure_ascii=False,indent=2); fh.truncate() finally: fcntl.flock(fh,fcntl.LOCK_UN) " 2>/dev/null || true # Proceed to STEP 4 CLEANUP (no exit 1 — graceful skip) fi

2. Update `omg-state.json`: `phase = "verify_ui"`, `agentation.active = true`, `agentation.submit_gate_status = "waiting_for_submit"`
3. Wait for explicit human submit:
- **Claude Code**: wait for `UserPromptSubmit` after the user presses **Send Annotations** / `onSubmit`
- **Codex / Gemini / OpenCode**: wait until the human confirms submission and the agent emits `ANNOTATE_READY` (or compatibility alias `AGENTUI_READY`)
4. Before that submit signal arrives, do not read `/pending`, do not acknowledge annotations, and do not start the fix loop
5. After submit arrives, switch `agentation.submit_gate_status = "submitted"` and record `submit_signal`, `submit_received_at`, and `submitted_annotation_count`
6. **Claude Code (MCP)**: blocking call to `agentation_watch_annotations` (`batchWindowSeconds:10`, `timeoutSeconds:120`)
7. **Codex / Gemini / OpenCode (HTTP)**: polling loop via `GET http://localhost:4747/pending`
8. Process each annotation: `acknowledge` → navigate code via `elementPath` → apply fix → `resolve`
9. `count=0` or timeout → reset the submit gate or finish the sub-phase → **enter STEP 4**

**NEVER: process draft annotations before submit/onSubmit.**

---

### STEP 4: CLEANUP

**Pre-flight (check before entering):**

Record checkpoint

python3 -c " import json,datetime,os,subprocess,fcntl try: root=subprocess.check_output(['git','rev-parse','--show-toplevel'],stderr=subprocess.DEVNULL).decode().strip() except: root=os.getcwd() f=os.path.join(root,'.omc/state/omg-state.json') if os.path.exists(f): with open(f,'r+') as fh: fcntl.flock(fh,fcntl.LOCK_EX) try: d=json.load(fh) d.update({'checkpoint':'cleanup','updated_at':datetime.datetime.utcnow().isoformat()+'Z'}) fh.seek(0); json.dump(d,fh,ensure_ascii=False,indent=2); fh.truncate() finally: fcntl.flock(fh,fcntl.LOCK_UN) " 2>/dev/null || true

if ! git rev-parse --is-inside-work-tree >/dev/null 2>&1; then echo "⚠️ Not a git repository — skipping worktree cleanup" else UNCOMMITTED=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ') [[ "$UNCOMMITTED" -gt 0 ]] && echo "⚠️ ${UNCOMMITTED} uncommitted change(s) — recommend commit/stash before cleanup" fi


1. Update `omg-state.json` `phase` to `"cleanup"`
2. Worktree cleanup: `bash scripts/worktree-cleanup.sh || git worktree prune`
3. Update `omg-state.json` `phase` to `"done"`

---

## Examples

### Example 1: Full orchestration

omg "ship the billing settings page and verify it in the browser"


### Example 2: Orchestration with UI feedback

omg annotate "review the dashboard layout, collect annotations, and apply the fixes"


## 1. Quick Start

> **Source of truth**: `https://github.com/supercent-io/skills-template` Local paths like `~/.claude/skills/omg/` are copies installed via `npx skills add`. To update to the latest version, reinstall using the command below.

Install OMG (npx skills add — recommended)

npx skills add https://github.com/supercent-io/skills-template --skill omg

Full install (all AI tools + all components)

bash scripts/install.sh --all

Check status

bash scripts/check-status.sh

Individual AI tool setup

bash scripts/setup-claude.sh # Claude Code plugin + hooks bash scripts/setup-codex.sh # Codex CLI developer_instructions bash scripts/setup-gemini.sh # Gemini CLI hooks + GEMINI.md bash scripts/setup-opencode.sh # OpenCode plugin registration


---

## 2. Installed Components

Tools that OMG installs and configures:

| Tool | Description | Install Command |
| --- | --- | --- |
| **omc** (oh-my-claudecode) | Claude Code multi-agent orchestration | `/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode` |
| **omx** | Multi-agent orchestration for OpenCode | `bunx oh-my-opencode setup` |
| **ohmg** | Multi-agent framework for Gemini CLI | `bunx oh-my-ag` |
| **bmad** | BMAD workflow orchestration | Included in skills |
| **ralph** | Self-referential completion loop | Included in omc or install separately |
| **plannotator** | Visual plan/diff review | Auto-installed during PLAN via `bash scripts/ensure-plannotator.sh` (or preinstall with `bash scripts/install.sh --with-plannotator`) |
| **agentation** | UI annotation → agent code fix integration (`annotate` keyword, `agentui` compatibility maintained) | `bash scripts/install.sh --with-agentation` |
| **agent-browser** | Headless browser for AI agents — **primary tool for browser behavior verification** | `npm install -g agent-browser` |
| **playwriter** | Playwright-based browser automation (optional) | `npm install -g playwriter` |

---

## 3. OMG Workflow

### Full Flow

omg "<task>" │ ▼ [1] PLAN (ralph + plannotator) Draft plan with ralph → visual review with plannotator → Approve/Feedback │ ▼ [2] EXECUTE ├─ team available? → /omc:team N:executor "<task>" │ staged pipeline: plan→prd→exec→verify→fix └─ no team? → /bmad /workflow-init → run BMAD steps │ ▼ [3] VERIFY (agent-browser — default behavior) Verify browser behavior with agent-browser → capture snapshot → confirm UI/functionality is working │ ├─ with annotate keyword → [3.3.1] VERIFY_UI (agentation watch loop) │ agentation_watch_annotations blocking → annotation ack→fix→resolve loop │ ▼ [4] CLEANUP After all work is done → bash scripts/worktree-cleanup.sh git worktree prune


### 3.1 PLAN Step (ralph + plannotator)

> **Platform note**: The `/ralph` slash command is only available in Claude Code (omc). Use the "alternative method" below for Codex/Gemini/OpenCode.

**Claude Code (omc):**

/ralph "omg-plan: <task>" --completion-promise="PLAN_APPROVED" --max-iterations=5


**Codex / Gemini / OpenCode (alternative):**

Session-isolated feedback directory (prevents concurrent run conflicts)

FEEDBACK_DIR=$(python3 -c "import hashlib,os; h=hashlib.md5(os.getcwd().encode()).hexdigest()[:8]; d=f'/tmp/omg-{h}'; os.makedirs(d,exist_ok=True); print(d)" 2>/dev/null || echo '/tmp') FEEDBACK_FILE="${FEEDBACK_DIR}/plannotator_feedback.txt"

1. Write plan.md directly, then review with plannotator (blocking — no &)

PLANNOTATOR_RUNTIME_HOME="${FEEDBACK_DIR}/.plannotator" mkdir -p "$PLANNOTATOR_RUNTIME_HOME" touch /tmp/omg-plannotator-direct.lock && python3 -c " import json print(json.dumps({'tool_input': {'plan': open('plan.md').read(), 'permission_mode': 'acceptEdits'}})) " | env HOME="$PLANNOTATOR_RUNTIME_HOME" PLANNOTATOR_HOME="$PLANNOTATOR_RUNTIME_HOME" plannotator > "$FEEDBACK_FILE" 2>&1

↑ Run without &: waits until user clicks Approve/Send Feedback in browser

2. Check result and branch

if python3 -c " import json, sys try: d = json.load(open('$FEEDBACK_FILE')) sys.exit(0 if d.get('approved') is True else 1) except Exception: sys.exit(1) " 2>/dev/null; then echo "PLAN_APPROVED" # → enter EXECUTE step else echo "PLAN_FEEDBACK" # → read \"$FEEDBACK_FILE\", replan, repeat above fi


> **Important**: Do not run with `&` (background). Must run blocking to receive user feedback.

Common flow:

- Generate plan document (`plan.md`)
- Run plannotator blocking → browser UI opens automatically
- Review plan in browser → Approve or Send Feedback
- Approve (`"approved":true`) → enter [2] EXECUTE step
- Feedback → read `/tmp/plannotator_feedback.txt` annotations and replan (loop)
- **exit 32 (sandbox/CI — Conversation Approval Mode)**:
  1. Output full `plan.md` content to user
  2. Ask: "⚠️ plannotator UI unavailable. Reply 'approve' to proceed or provide feedback."
  3. **WAIT for user response — do NOT proceed to EXECUTE**
  4. On approval → update `omg-state.json` `plan_approved=true, plan_gate_status="manual_approved"` → EXECUTE
  5. On feedback → revise `plan.md`, retry loop, repeat

**Claude Code manual run:**

Shift+Tab×2 → enter plan mode → plannotator runs automatically when plan is complete


### 3.2 EXECUTE Step

**When team is available (Claude Code + omc):**

/omc:team 3:executor "omg-exec: <task based on approved plan>"


- staged pipeline: team-plan → team-prd → team-exec → team-verify → team-fix
- Maximize speed with parallel agent execution

**When Claude Code team mode is unavailable:**

echo "❌ OMG requires /omc:team in Claude Code. Run bash scripts/setup-claude.sh, restart Claude Code, then retry." exit 1


- Do not degrade to single-agent mode

**When team is unavailable (BMAD fallback — Codex / Gemini / OpenCode):**

/workflow-init # Initialize BMAD workflow /workflow-status # Check current step


- Proceed in order: Analysis → Planning → Solutioning → Implementation
- Review documents with plannotator after each step completes

### 3.3 VERIFY Step (agent-browser — default behavior)

When browser-based functionality is present, verify behavior with `agent-browser`.

Capture snapshot from the URL where the app is running

agent-browser snapshot http://localhost:3000

Check specific elements (accessibility tree ref method)

agent-browser snapshot http://localhost:3000 -i

→ check element state using @eN ref numbers

Save screenshot

agent-browser screenshot http://localhost:3000 -o verify.png


> **Default behavior**: Automatically runs the agent-browser verification step when browser-related work is complete. Backend/CLI tasks without a browser UI skip this step.

### 3.3.1 VERIFY_UI Step (annotate — agentation watch loop)

Runs the agentation watch loop when the `annotate` keyword is detected. (The `agentui` keyword is also supported for backward compatibility.) This follows the same pattern as plannotator operating in `planui` / `ExitPlanMode`.

**Prerequisites:**

1. `npx agentation-mcp server` (HTTP:4747) is running
2. `<Agentation endpoint="http://localhost:4747" />` is mounted in the app

**Pre-flight Check (required before entering — common to all platforms):**

Step 1: Check server status (graceful skip if not running — no exit 1)

if ! curl -sf --connect-timeout 2 http://localhost:4747/health >/dev/null 2>&1; then echo "⚠️ agentation-mcp server not running — skipping VERIFY_UI and proceeding to CLEANUP" echo " (to use agentation: npx agentation-mcp server)" python3 -c " import json,os,subprocess,fcntl,time try: root=subprocess.check_output(['git','rev-parse','--show-toplevel'],stderr=subprocess.DEVNULL).decode().strip() except: root=os.getcwd() f=os.path.join(root,'.omc/state/omg-state.json') if os.path.exists(f): with open(f,'r+') as fh: fcntl.flock(fh,fcntl.LOCK_EX) try: d=json.load(fh) d['last_error']='agentation-mcp not running; VERIFY_UI skipped' d['updated_at']=time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime()) fh.seek(0); json.dump(d,fh,ensure_ascii=False,indent=2); fh.truncate() finally: fcntl.flock(fh,fcntl.LOCK_UN) " 2>/dev/null || true # Proceed to STEP 4 CLEANUP (no exit 1 — graceful skip) else # Step 2: Check session existence (<Agentation> component mount status) SESSIONS=$(curl -sf http://localhost:4747/sessions 2>/dev/null) S_COUNT=$(echo "$SESSIONS" | python3 -c "import sys,json; print(len(json.load(sys.stdin)))" 2>/dev/null || echo 0) [ "$S_COUNT" -eq 0 ] && echo "⚠️ No active sessions — <Agentation endpoint='http://localhost:4747' /> needs to be mounted" echo "✅ agentation ready — server OK, ${S_COUNT} session(s)" fi


> After passing pre-flight (`else` branch), update omg-state.json `phase` to `"verify_ui"`, set `agentation.active` to `true`, and set `agentation.submit_gate_status` to `"waiting_for_submit"`. Do not call `/pending` yet. Draft annotations are not actionable until the user explicitly submits them.

**Claude Code (direct MCP tool call):**

annotate keyword detected (or agentui — backward compatible)

1. wait for UserPromptSubmit after the user clicks Send Annotations / onSubmit

2. the OMG submit-gate hook records submit_gate_status="submitted"

3. only then run the blocking agentation watch loop

#

batchWindowSeconds:10 — receive annotations in 10-second batches

timeoutSeconds:120 — auto-exit after 120 seconds with no annotations

#

Per-annotation processing loop:

1. agentation_acknowledge_annotation({id}) — show 'processing' in UI

2. navigate code via annotation.elementPath (CSS selector) → apply fix

3. agentation_resolve_annotation({id, summary}) — mark 'done' + save summary

#

Loop ends when annotation count=0 or timeout


> **Important**: `agentation_watch_annotations` is a blocking call. Do not run with `&` background. Same as plannotator's `approved:true` loop: annotation count=0 or timeout = completion signal. `annotate` is the primary keyword. `agentui` is a backward-compatible alias and behaves identically.

**Codex / Gemini / OpenCode (HTTP REST API fallback):**

START_TIME=$(date +%s) TIMEOUT_SECONDS=120

Required gate: do not enter the loop until the human has clicked Send Annotations

and the platform has opened agentation.submit_gate_status="submitted".

while true; do # Timeout check NOW=$(date +%s) ELAPSED=$((NOW - START_TIME)) if [ $ELAPSED -ge $TIMEOUT_SECONDS ]; then echo "[OMG] agentation polling timeout (${TIMEOUT_SECONDS}s) — some annotations may remain unresolved" break fi

SUBMIT_GATE=$(python3 -c " import json try: print(json.load(open('.omc/state/omg-state.json')).get('agentation', {}).get('submit_gate_status', 'idle')) except Exception: print('idle') " 2>/dev/null || echo "idle") if [ "$SUBMIT_GATE" != "submitted" ]; then sleep 2 continue fi

COUNT=$(curl -sf --connect-timeout 3 --max-time 5 http://localhost:4747/pending 2>/dev/null | python3 -c "import sys,json; data=sys.stdin.read(); d=json.loads(data) if data.strip() else {}; print(d.get('count', len(d.get('annotations', [])) if isinstance(d, dict) else 0))" 2>/dev/null || echo 0) [ "$COUNT" -eq 0 ] && break

# Process each annotation: # a) Acknowledge (show as in-progress) curl -X PATCH http://localhost:4747/annotations/<id> \ -H 'Content-Type: application/json' \ -d '{"status": "acknowledged"}'

# b) Navigate code via elementPath (CSS selector) → apply fix

# c) Resolve (mark done + fix summary) curl -X PATCH http://localhost:4747/annotations/<id> \ -H 'Content-Type: application/json' \ -d '{"status": "resolved", "resolution": "<fix summary>"}'

sleep 3 done


### 3.4 CLEANUP Step (automatic worktree cleanup)

Runs automatically after all work is complete

bash scripts/worktree-cleanup.sh

Individual commands

git worktree list # List current worktrees git worktree prune # Clean up worktrees for deleted branches bash scripts/worktree-cleanup.sh --force # Force cleanup including dirty worktrees


> Default run removes only clean extra worktrees; worktrees with changes are left with a warning. Use `--force` only after review.

---

## 4. Platform Plugin Configuration

### 4.1 Claude Code

Automatic setup

bash scripts/setup-claude.sh

Or manually:

/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode /plugin install oh-my-claudecode /omc:omc-setup

Add plannotator hook

bash .agent-skills/plannotator/scripts/setup-hook.sh


**Config file**: `~/.claude/settings.json`

{ "hooks": { "PermissionRequest": [{ "matcher": "ExitPlanMode", "hooks": [{ "type": "command", "command": "python3 ~/.claude/skills/omg/scripts/claude-plan-gate.py", "timeout": 1800 }] }] } }


**agentation MCP config** (`~/.claude/settings.json` or `.claude/mcp.json`):

{ "mcpServers": { "agentation": { "command": "npx", "args": ["-y", "agentation-mcp", "server"] } }, "hooks": { "UserPromptSubmit": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "python3 ~/.claude/skills/omg/scripts/claude-agentation-submit-hook.py", "timeout": 300 }] }] } }


### 4.2 Codex CLI

Automatic setup

bash scripts/setup-codex.sh

What gets configured:

- developer_instructions: ~/.codex/config.toml

- prompt file: ~/.codex/prompts/omg.md

- notify hook: ~/.codex/hooks/omg-notify.py

- [tui] notifications: agent-turn-complete


**agentation MCP config** (`~/.codex/config.toml`):

[mcp_servers.agentation] command = "npx" args = ["-y", "agentation-mcp", "server"]


**notify hook** (`~/.codex/hooks/omg-notify.py`):

- Detects `PLAN_READY` signal in `last-assistant-message` when agent turn completes
- Confirms `plan.md` exists, compares the current hash against `last_reviewed_plan_hash`, and skips the gate when the plan was already reviewed
- Saves result to `/tmp/plannotator_feedback.txt`
- Detects `ANNOTATE_READY` signal (or backward-compatible `AGENTUI_READY`) only in `verify_ui`
- Opens `agentation.submit_gate_status="submitted"` first, then polls `http://localhost:4747/pending`

**`~/.codex/config.toml`** config:

developer_instructions = """

OMG Orchestration Workflow

...

"""

notify = ["python3", "~/.codex/hooks/omg-notify.py"]

[tui] notifications = ["agent-turn-complete"] notification_method = "osc9"


> `developer_instructions` must be a **top-level string**. Writing it as a `[developer_instructions]` table may cause Codex to fail on startup with `invalid type: map, expected a string`. `notify` and `[tui].notifications` must also be set correctly for the PLAN/ANNOTATE follow-up loop to actually work.

Using in Codex:

/prompts:omg # Activate OMG workflow

Agent writes plan.md and outputs "PLAN_READY" → notify hook runs automatically


### 4.3 Gemini CLI

Automatic setup

bash scripts/setup-gemini.sh

What gets configured:

- AfterAgent backup hook: ~/.gemini/hooks/omg-plannotator.sh

- Instructions (MANDATORY loop): ~/.gemini/GEMINI.md


**Key principle**: The agent must call plannotator **directly in blocking mode** to receive feedback in the same turn. The AfterAgent hook serves only as a safety net (runs after turn ends → injected in next turn).

**AfterAgent backup hook** (`~/.gemini/settings.json`):

{ "hooks": { "AfterAgent": [{ "matcher": "", "hooks": [{ "name": "plannotator-review", "type": "command", "command": "bash ~/.gemini/hooks/omg-plannotator.sh", "description": "Run plannotator when plan.md is detected (AfterAgent backup)" }] }] } }


**PLAN instructions added to GEMINI.md (mandatory loop)**:
  1. plan.md 작성
  2. plannotator blocking 실행 (& 금지) → /tmp/plannotator_feedback.txt
  3. approved=true → EXECUTE / 미승인 → 수정 후 2번 반복

NEVER proceed to EXECUTE without approved=true.


**agentation MCP config** (`~/.gemini/settings.json`):

{ "mcpServers": { "agentation": { "command": "npx", "args": ["-y", "agentation-mcp", "server"] } } }


> **Note**: Gemini CLI hook events use `BeforeTool` and `AfterAgent`. `ExitPlanMode` is a Claude Code-only hook.

> [Hooks Official Guide](https://developers.googleblog.com/tailor-gemini-cli-to-your-workflow-with-hooks/)

### 4.4 OpenCode

Automatic setup

bash scripts/setup-opencode.sh

Added to opencode.json:

"@plannotator/opencode@latest" plugin

"@oh-my-opencode/opencode@latest" plugin (omx)


OpenCode slash commands:

- `/omg-plan` — plan with ralph + plannotator
- `/omg-exec` — execute with team/bmad
- `/omg-annotate` — start agentation watch loop (annotate; `/omg-agentui` is a deprecated alias)
- `/omg-cleanup` — worktree cleanup

**plannotator integration** (MANDATORY blocking loop):

Write plan.md then run PLAN gate (no &) — receive feedback in same turn

bash scripts/plannotator-plan-loop.sh plan.md /tmp/plannotator_feedback.txt 3

- Must wait until approve/feedback is received

- Auto-restart on session exit (up to 3 times)

- After 3 exits, confirm with user whether to abort or resume

- exit 32 if localhost bind unavailable (replace with manual gate in TTY)

Branch based on result

approved=true → enter EXECUTE

not approved → apply feedback, revise plan.md → repeat above


**agentation MCP config** (`opencode.json`):

{ "mcp": { "agentation": { "type": "local", "command": ["npx", "-y", "agentation-mcp", "server"] } } }


---

## 5. Memory & State

OMG stores state at the following paths:

{worktree}/.omc/state/omg-state.json # OMG execution state {worktree}/.omc/plans/omg-plan.md # Approved plan {worktree}/.omc/logs/omg-*.log # Execution logs


**State file structure:**

{ "mode": "omg", "phase": "plan|execute|verify|verify_ui|cleanup|done", "session_id": "<uuid>", "task": "current task description", "plan_approved": true, "plan_gate_status": "pending|approved|feedback_required|infrastructure_blocked|manual_approved", "plan_current_hash": "<sha256 or null>", "last_reviewed_plan_hash": "<sha256 or null>", "last_reviewed_plan_at": "2026-02-24T00:00:00Z", "plan_review_method": "plannotator|manual|null", "team_available": true, "retry_count": 0, "last_error": null, "checkpoint": "plan|execute|verify|verify_ui|cleanup", "created_at": "2026-02-24T00:00:00Z", "updated_at": "2026-02-24T00:00:00Z", "agentation": { "active": false, "session_id": null, "keyword_used": null, "submit_gate_status": "idle|waiting_for_submit|submitted", "submit_signal": "claude-user-prompt-submit|codex-notify|gemini-manual|null", "submit_received_at": "2026-02-24T00:00:00Z", "submitted_annotation_count": 0, "started_at": null, "timeout_seconds": 120, "annotations": { "total": 0, "acknowledged": 0, "resolved": 0, "dismissed": 0, "pending": 0 }, "completed_at": null, "exit_reason": null } }


> **agentation fields**: `active` — whether the watch loop is running (used as hook guard), `session_id` — for resuming, `submit_gate_status` — prevents processing draft annotations before submit/onSubmit, `submit_signal` — which platform opened the gate, `submit_received_at` / `submitted_annotation_count` — audit trail for the submitted batch, `exit_reason` — `"all_resolved"` | `"timeout"` | `"user_cancelled"` | `"error"`
>
> **dismissed annotations**: When a user dismisses an annotation in the agentation UI (status becomes `"dismissed"`), the agent should skip code changes for that annotation, increment `annotations.dismissed`, and continue to the next pending annotation. Dismissed annotations are counted but not acted upon. The watch loop exits normally when `pending == 0` (resolved + dismissed covers all).
>
> **`plan_review_method`**: set to `"plannotator"` when approved via UI, `"manual"` when approved via TTY fallback gate.
>
> **`cleanup_completed`**: set to `true` by `worktree-cleanup.sh` after successful worktree prune.

> **Error recovery fields**:
>
> - `retry_count` — number of retries after an error. Increments +1 on each pre-flight failure. Ask user to confirm if `>= 3`.
> - `last_error` — most recent error message. Used to identify the cause on restart.
> - `checkpoint` — last phase that was started. Resume from this phase on restart (`plan|execute|verify|cleanup`).

**Checkpoint-based resume flow:**

Check checkpoint on restart

python3 -c " import json, os, subprocess try: root = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL).decode().strip() except: root = os.getcwd() f = os.path.join(root, '.omc/state/omg-state.json') if os.path.exists(f): d=json.load(open(f)) cp=d.get('checkpoint') err=d.get('last_error') rc=d.get('retry_count',0) print(f'Resume from: {cp or \"beginning\"}') if err: print(f'Previous error ({rc} time(s)): {err}') if rc >= 3: print('⚠️ Retry count exceeded 3 — user confirmation required') "


Restore after restart:

Check status and resume

bash scripts/check-status.sh --resume


---

## 6. Recommended Workflow

Step 1: Install (once)

bash scripts/install.sh --all bash scripts/check-status.sh

Step 2: Start work

omg "<task description>" # Activate with keyword

Or in Claude: Shift+Tab×2 → plan mode

Step 3: Review plan with plannotator

Approve or Send Feedback in browser UI

Step 4: Automatic execution

team or bmad handles the work

Step 5: Cleanup after completion

bash scripts/worktree-cleanup.sh


---

## 7. Best Practices

1. **Plan first**: always review the plan with ralph+plannotator before executing (catches wrong approaches early)
2. **Team first**: omc team mode is most efficient in Claude Code
3. **bmad fallback**: use BMAD in environments without team (Codex, Gemini)
4. **Worktree cleanup**: run `worktree-cleanup.sh` immediately after work completes (prevents branch pollution)
5. **State persistence**: use `.omc/state/omg-state.json` to maintain state across sessions
6. **annotate**: use the `annotate` keyword to run the agentation watch loop for complex UI changes (precise code changes via CSS selector). `agentui` is a backward-compatible alias.

---

## 8. Troubleshooting

| Issue | Solution |
| --- | --- |
| plannotator not running | OMG first auto-runs `bash scripts/ensure-plannotator.sh`; if it still fails, run `bash.agent-skills/plannotator/scripts/check-status.sh` |
| plannotator not opening in Claude Code | plannotator is hook-only. Do NOT call it via MCP or CLI. Use `EnterPlanMode` → write plan → `ExitPlanMode`; the hook fires automatically. Verify hook is set: `cat ~/.claude/settings.json \| python3 -c "import sys,json;h=json.load(sys.stdin).get('hooks',{});print(h.get('PermissionRequest','missing'))"` |
| plannotator feedback not received | Remove `&` background execution → run blocking, then check `/tmp/plannotator_feedback.txt` (Codex/Gemini/OpenCode only) |
| Codex에서 같은 plan이 반복해서 재검토됨 | `omg-state.json`의 `last_reviewed_plan_hash`와 현재 `plan.md` hash를 비교. 같고 `plan_gate_status`가 terminal이면 재실행 금지 |
| Codex startup failure (`invalid type: map, expected a string`) | Re-run `bash scripts/setup-codex.sh` and confirm `developer_instructions` in `~/.codex/config.toml` is a top-level string |
| Gemini feedback loop missing | Add blocking direct call instruction to `~/.gemini/GEMINI.md` |
| worktree conflict | `git worktree prune && git worktree list` |
| team mode not working | OMG requires team mode in Claude Code. Run `bash scripts/setup-claude.sh`, restart Claude Code, and verify `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` before retrying |
| omc install failed | Run `/omc:omc-doctor` |
| agent-browser error | Check `agent-browser --version` |
| annotate (agentation) not opening | Check `curl http://localhost:4747/health` and `curl http://localhost:4747/sessions`. OMG waits for explicit submit/onSubmit before polling `/pending` |
| annotation not reflected in code | Confirm `summary` field is present when calling `agentation_resolve_annotation` |
| `agentui` keyword not activating | Use the `annotate` keyword (new). `agentui` is a deprecated alias but still works. |
| MCP tool not registered (Codex/Gemini) | Re-run `bash scripts/setup-codex.sh` / `setup-gemini.sh` |

---

## 9. References

- [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode) — Claude Code multi-agent
- [plannotator](https://plannotator.ai) — visual plan/diff review
- [BMAD Method](https://github.com/bmad-dev/BMAD-METHOD) — structured AI development workflow
- [Agent Skills Spec](https://agentskills.io/specification) — skill format specification
- [agentation](https://github.com/benjitaylor/agentation) — UI annotation → agent code fix integration (`annotate`; `agentui` backward compatible)

平台分布

Codex

35.54%
按下载量换算45

Claude

29.09%
按下载量换算37

Cursor

16.84%
按下载量换算22

Gemini CLI

9.11%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills