Skip to content

知らない分野を、原文にたどりつくまで芋づる式に掘る Claude Code のスキル

Python

docs: codex exec はgitリポジトリか信頼済みフォルダで動くことを書き添える

Nagi-Inabaeede31e84762
diff --git a/README.en.md b/README.en.md
index 0f113db..99eea09 100644
--- a/README.en.md
+++ b/README.en.md
@@ -109,6 +109,9 @@ This example enables both and saves results to `./research/react/` inside the wo
codex --search exec -s workspace-write -c sandbox_workspace_write.network_access=true '$imozuru dig into this field: state management in React. Save results to ./research/react'
```
+`codex exec` runs inside a git repository or a trusted directory.
+To run it anywhere else, add `--skip-git-repo-check` after `exec`.
+
## Requirements
The scripts run on the Python 3.10+ standard library alone, and use the following commands when they are installed.
diff --git a/README.md b/README.md
index 37bc352..128fcb8 100644
--- a/README.md
+++ b/README.md
@@ -106,6 +106,9 @@ Web検索と、原文を取得するスクリプトのネットワーク接続
codex --search exec -s workspace-write -c sandbox_workspace_write.network_access=true '$imozuru 芋づる式に調べて: Reactの状態管理。保存先は ./research/react にして'
```
+`codex exec` は、gitリポジトリか信頼済みのフォルダの中で動かします。
+それ以外の場所で動かすときは、`exec` のあとに `--skip-git-repo-check` を付けてください。
+
## 必要なもの
スクリプトはPython 3.10以上の標準ライブラリだけで動き、次のコマンドは入っていれば使います。