Configuration Reference

Oh My OpenAgent는 강력한 의견을 가지고 있지만 취향에 맞게 조정할 수 있습니다. 대부분의 사용자는 설정할 필요가 없습니다. bunx oh-my-opencode install를 실행하고 바로 시작하세요.

Quick Start

{
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
  "agents": {
    "oracle": { "model": "openai/gpt-5.4", "variant": "high" },
    "explore": { "model": "github-copilot/grok-code-fast-1" }
  },
  "categories": {
    "quick": { "model": "opencode/gpt-5-nano" },
    "visual-engineering": { "model": "google/gemini-3.1-pro" }
  }
}

Config File Locations

  • .opencode/oh-my-opencode.json (프로젝트 레벨)
  • ~/.config/opencode/oh-my-opencode.json (사용자 레벨)

JSONC가 지원되어 주석과 후행 쉼표를 사용할 수 있습니다.

Agents

내장된 Agent의 특정 동작을 설정합니다: Sisyphus, Hephaestus, Oracle, Librarian, Explore, Multimodal Looker, Prometheus, Metis, Momus, Atlas, Frontend Engineer.

Override 옵션

OptionTypeDefaultDescription
modelstring-모델 식별자 (예: openai/gpt-4o)
variantstring-모델 변형 (max, high, medium, low)
categorystring-카테고리에서 설정 상속
temperaturenumber-샘플링 온도 (0-2)
top_pnumber-Top-p 샘플링 (0-1)
promptstring-시스템 프롬프트 완전히 재정의
prompt_appendstring-시스템 프롬프트에 텍스트 추가
toolsRecord-특정 도구 활성화 또는 비활성화
disablebooleanfalse이 Agent 비활성화
maxTokensnumber-응답의 최대 토큰 수
thinkingobject-확장 사고 설정
reasoningEffortstring-추론 노력: low, medium, high, xhigh

Permissions

PermissionValuesDescription
editask / allow / deny파일 편집 기능
bashask / allow / denyBash 명령어 실행
webfetchask / allow / deny웹 요청 기능
doom_loopask / allow / deny무한 루프 재정의
external_directoryask / allow / deny프로젝트 외부 파일 접근

Categories

Categories를 사용하면 Agent가 상속할 수 있는 공유 설정을 정의할 수 있습니다.

CategoryDefault ModelDescription
visual-engineeringgemini-3.1-pro (high)프론트엔드, UI/UX, 디자인 작업
ultrabraingpt-5.3-codex (xhigh)심층 논리적 추론
deepgpt-5.3-codex (medium)자율 문제 해결, 철저한 리서치
artistrygemini-3.1-pro (high)창의적 작업
quickclaude-haiku-4-5간단하고 빠른 작업
unspecified-lowclaude-sonnet-4-6저노력 일반 작업
unspecified-highgpt-5.4 (high)고노력 일반 작업
writinggemini-3-flash문서 및 산문

Categories 사용 가능 옵션: model, variant, temperature, top_p, maxTokens, thinking, reasoningEffort, textVerbosity, tools, prompt_append, is_unstable_agent.

Skills

내장된 스킬에는 playwright, agent-browser, git-master가 포함됩니다. 커스텀 스킬도 정의할 수 있습니다.

"skills": {
  "my-custom-skill": {
    "description": "A custom skill for specific tasks",
    "instructions": "Always use this skill when..."
  }
}

Background Tasks

OptionTypeDefaultDescription
defaultConcurrencynumber-기본 최대 동시 작업 수
staleTimeoutMsnumber-오래된 작업 타임아웃 (ms)
providerConcurrencynumber-프로바이더당 동시성 제한
modelConcurrencynumber-모델당 동시성 제한
우선순위:modelConcurrency >providerConcurrency >defaultConcurrency

Hooks

Hooks를 사용하면 다양한 라이프사이클 지점에서 기능을 확장할 수 있습니다.

agent-usage-reminder
anthropic-context-window-limit-recovery
anthropic-effort
atlas
auto-slash-command
auto-update-checker
background-notification
category-skill-reminder
claude-code-hooks
comment-checker
compaction-context-injector
compaction-todo-preserver
delegate-task-retry
directory-agents-injector
directory-readme-injector
edit-error-recovery
interactive-bash-session
keyword-detector
non-interactive-env
prometheus-md-only
question-label-truncator
ralph-loop
rules-injector
session-recovery
sisyphus-junior-notepad
start-work
stop-continuation-guard
subagent-question-blocker
task-reminder
task-resume-info
tasks-todowrite-disabler
think-mode
thinking-block-validator
unstable-agent-babysitter
write-existing-file-guard

MCPs

websearch

Exa로 구동되는 고품질 검색 결과.

context7

문서 검색 및 컨텍스트 관리.

grep_app

GitHub 코드 검색 통합.

Browser Automation

ToolDescriptionUse Case
playwright풀 브라우저 자동화 (기본값)테스트, 복잡한 상호작용
agent-browser가벼운 브라우저 Agent빠른 조회, 간단한 스크래핑

Tmux Integration

OptionTypeDefaultDescription
enabledboolean-Tmux 통합 활성화
layoutstring-Tmux 창 레이아웃
main_pane_sizestring-메인 창 크기

Git Master

OptionTypeDefaultDescription
commit_footerstring-커밋 메시지에 추가할 텍스트
include_co_authored_byboolean-Co-authored-by 트레일러 추가

Comment Checker

코드의 주석을 검증합니다. 커스텀 프롬프트에서 {{comments}} 자리 표시자를 사용하세요.

"comment-checker": {
  "custom_prompt": "Review these comments: {{comments}}"
}

Experimental Features

OptionTypeDefaultDescription
aggressive_truncationboolean-출력을 적극적으로 잘라내기
auto_resumeboolean-중단된 작업 자동 재개
preemptive_compactionboolean-제한 전 컨텍스트 압축
truncate_all_tool_outputsboolean-모든 도구 출력 잘라내기

LSP Configuration

OptionTypeDefaultDescription
commandstring-LSP 서버 명령어
extensionsarray-매칭할 파일 확장자
prioritynumber-서버 우선순위
envobject-환경 변수
initializationobject-초기화 옵션
disabledboolean-이 LSP 비활성화

Environment Variables

OPENCODE_CONFIG_DIR

기본 설정 디렉토리 경로를 재정의합니다.

Oh My OpenAgent Documentation © 2026