設定リファレンス

Oh My OpenAgentは意見を持っていますが、好みに応じて調整可能です。ほとんどのユーザーは何も設定する必要はありません — bunx oh-my-opencode installを実行して始めてください。

クイックスタート

{
  "$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" }
  }
}

設定ファイルの場所

  • .opencode/oh-my-opencode.json (プロジェクトレベル)
  • ~/.config/opencode/oh-my-opencode.json (ユーザーレベル)

JSONCがサポートされており、コメントと末尾のカンマを使用できます。

エージェント

Sisyphus、Hephaestus、Oracle、Librarian、Explore、Multimodal Looker、Prometheus、Metis、Momus、Atlas、Frontend Engineerなど、組み込みエージェントの動作を設定します。

オーバーライドオプション

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このエージェントを無効にする
maxTokensnumber-レスポンスの最大トークン数
thinkingobject-拡張思考設定
reasoningEffortstring-推論努力:low, medium, high, xhigh

権限

PermissionValuesDescription
editask / allow / denyファイル編集機能
bashask / allow / denyBashコマンド実行
webfetchask / allow / denyWebリクエスト機能
doom_loopask / allow / deny無限ループオーバーライド
external_directoryask / allow / denyプロジェクト外のファイルへのアクセス

カテゴリ

カテゴリを使用すると、エージェントが継承できる共有設定を定義できます。

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ドキュメントと散文

カテゴリで利用可能なオプション:model, variant, temperature, top_p, maxTokens, thinking, reasoningEffort, textVerbosity, tools, prompt_append, is_unstable_agent。

スキル

組み込みスキルにはplaywright、agent-browser、git-masterが含まれます。カスタムスキルを定義することもできます。

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

バックグラウンドタスク

OptionTypeDefaultDescription
defaultConcurrencynumber-デフォルトの最大並列タスク数
staleTimeoutMsnumber-古いタスクのタイムアウト(ミリ秒)
providerConcurrencynumber-プロバイダーごとの並列制限
modelConcurrencynumber-モデルごとの並列制限
優先度:modelConcurrency >providerConcurrency >defaultConcurrency

フック

フックを使用すると、さまざまなライフサイクルポイントで機能を拡張できます。

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

MCP

websearch

Exa提供の高品質検索結果。

context7

ドキュメント取得とコンテキスト管理。

grep_app

GitHubコード検索統合。

ブラウザ自動化

ToolDescriptionUse Case
playwrightフルブラウザ自動化(デフォルト)テスト、複雑なインタラクション
agent-browser軽量ブラウザエージェントクイックルックアップ、簡単なスクレイピング

Tmux統合

OptionTypeDefaultDescription
enabledboolean-Tmux統合を有効にする
layoutstring-Tmuxウィンドウレイアウト
main_pane_sizestring-メインペインのサイズ

Git Master

OptionTypeDefaultDescription
commit_footerstring-コミットメッセージに追加するテキスト
include_co_authored_byboolean-Co-authored-byトレーラーを追加

コメントチェッカー

コード内のコメントを検証します。カスタムプロンプトには{{comments}}プレースホルダーを使用してください。

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

実験的機能

OptionTypeDefaultDescription
aggressive_truncationboolean-出力を積極的に切り詰める
auto_resumeboolean-中断されたタスクを自動的に再開
preemptive_compactionboolean-制限前にコンテキストを圧縮
truncate_all_tool_outputsboolean-すべてのツール出力を切り詰める

LSP設定

OptionTypeDefaultDescription
commandstring-LSPサーバーコマンド
extensionsarray-一致させるファイル拡張子
prioritynumber-サーバーの優先度
envobject-環境変数
initializationobject-初期化オプション
disabledboolean-このLSPを無効にする

環境変数

OPENCODE_CONFIG_DIR

デフォルトの設定ディレクトリパスを上書きします。

Oh My OpenAgentドキュメント © 2026

Documentation | Oh My OpenAgent