원클릭으로
agent-apply
Merge changes from agent worktrees back to the main branch with diff preview
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Merge changes from agent worktrees back to the main branch with diff preview
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run an autonomous, spec-driven, tiered self/cross-verifying loop — the harness forces continuation until the goal is objectively met or a guardrail fires
Author a durable, machine-checkable SPEC.md (the anchor for an autonomous loop) with EARS-style acceptance criteria mapped to verify commands
Tier 3 작업 완료 전 N-라운드 독립검증·수정 루프. git diff를 모델 로테이션(Claude/GPT/Gemini)으로 라운드마다 독립 검증하고 수정한다.
Initialize oh-my-harness in the current project (plugin mode)
Configure oh-my-harness settings (features, thresholds, model routing, multi-agent)
Create a native Claude Code team with configured teammates and task assignments
| name | agent-apply |
| description | Merge changes from agent worktrees back to the main branch with diff preview |
| level | 2 |
Merge changes from agent worktrees back to the main branch.
Usage: /agent-apply [agent-id|all] Example: /agent-apply 1 Example: /agent-apply all
Read agent state from .claude/.omh/agents.json. If no agents exist, report and exit.
Check useWorktree: If useWorktree is false, report "Agent apply is only available in worktree mode." and exit.
Parse arguments: Determine which agent(s) to apply from $ARGUMENTS (default: show all and ask).
For each agent to apply, show a diff preview:
git log "main..omh/agent-{i}" --oneline
git diff "main...omh/agent-{i}" --stat
Ask user confirmation using AskUserQuestion:
Merge changes for confirmed agents:
git merge "omh/agent-{i}" --no-ff -m "merge: agent-{i} - {task description}"
If merge conflicts occur, report them to the user and suggest manual resolution.
Update agent state: Set merged agents' status to "applied" in .claude/.omh/agents.json.
Suggest cleanup: After applying, suggest /agent-stop to clean up worktrees and tmux session.