-
Notifications
You must be signed in to change notification settings - Fork 2
docs: updated documentation for describing tips and design decisions #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,8 +1,10 @@ | ||||||||||||||||||||||||||||||||||||||||||||||
| # odin-codex-plugin | ||||||||||||||||||||||||||||||||||||||||||||||
| ODIN [for Codex CLI as a plugin] - Outline Driven development approach for agentic INtelligence | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| **ODIN [for Codex CLI as a plugin]** - **O**utline **D**riven development approach for agentic **IN**telligence | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ## Clean Install (Recommended) | ||||||||||||||||||||||||||||||||||||||||||||||
| ## TL;DR | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ### Clean Install (Recommended) | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||||||||||||||||
| rm -rf ~/.codex/ | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -11,11 +13,84 @@ git clone https://github.com/OutlineDriven/odin-codex-plugin ~/.codex | |||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ## Overwrite Install | ||||||||||||||||||||||||||||||||||||||||||||||
| ### Overwrite Install | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||||||||||||||||
| git clone https://github.com/OutlineDriven/odin-codex-plugin | ||||||||||||||||||||||||||||||||||||||||||||||
| mv ./odin-codex-plugin/* ~/.codex/ | ||||||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| That easy. | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ## Tips | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ### Keep upgrade codex up-to-date | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||||||||||||||||
| npm i -g @openai/codex@latest | ||||||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| - Due to codex’s features are upgraded in silent and sometimes they’re significantly effective, upgrade codex(-cli) on your host machine consistently. | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ### Set plan mode | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| - You can turn on plan mode on codex by `shift + tab` shortcut. | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ### Steering | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||||||||||||||||
| # it trigger `/prompts:askme` prompt, which is designed for gathering more context during planning | ||||||||||||||||||||||||||||||||||||||||||||||
| askme | ||||||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| - Don't need to interrupt by triggering `esc` or wait the plan is fully done. Sometime you feel codex ask you for gathering more context to make better plan. | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+29
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix grammatical errors in the Tips section. Multiple grammatical and typographical errors affect readability:
📝 Proposed fixes for grammar issues-### Keep upgrade codex up-to-date
+### Keep Codex up-to-date
-- Due to codex's features are upgraded in silent and sometimes they're significantly effective, upgrade codex(-cli) on your host machine consistently.
+- Because Codex features are upgraded silently and sometimes they're significantly effective, upgrade Codex (CLI) on your host machine consistently.
-- You can turn on plan mode on codex by `shift + tab` shortcut.
+- You can turn on plan mode in Codex using the `Shift + Tab` shortcut.
- # it trigger `/prompts:askme` prompt, which is designed for gathering more context during planning
+ # it triggers the `/prompts:askme` prompt, which is designed for gathering more context during planning
-- Don't need to interrupt by triggering `esc` or wait the plan is fully done. Sometime you feel codex ask you for gathering more context to make better plan.
+- You don't need to interrupt by pressing `Esc` or wait for the plan to be fully done. Sometimes you might feel Codex is asking you to gather more context to make a better plan.📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||
| ## Design decisions and codex’s configurations | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| > Basically, this project already turned on efficient features of codex, somethings are experimental state but battle-tasted, in .codex/config.toml. This section is going to tell about the decisions. | ||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a typo; "somethings" should be "some things". Additionally, "battle-tasted" is an uncommon phrase; "battle-tested" is more appropriate.
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ### [config.toml](./config.toml) | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```toml | ||||||||||||||||||||||||||||||||||||||||||||||
| model_reasoning_effort = "high" | ||||||||||||||||||||||||||||||||||||||||||||||
| model_verbosity = "high" | ||||||||||||||||||||||||||||||||||||||||||||||
| approval_policy = "on-request" | ||||||||||||||||||||||||||||||||||||||||||||||
| sandbox_mode = "workspace-write" | ||||||||||||||||||||||||||||||||||||||||||||||
| project_doc_fallback_filenames = ["CLAUDE.md"] | ||||||||||||||||||||||||||||||||||||||||||||||
| model = "gpt-5.4" | ||||||||||||||||||||||||||||||||||||||||||||||
| personality = "pragmatic" | ||||||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| - `model_reasoning_effort`, and `model_verbosity` set high as default due to high performance. | ||||||||||||||||||||||||||||||||||||||||||||||
| - `project_doc_fallback_filenames` are fallback constitution files. The type of this property is `list[str]`, so you can add `str` type element into this section like `["CLAUDE.md", "AGENTS.md", "CRUSH.md"]`. | ||||||||||||||||||||||||||||||||||||||||||||||
| - If you want to reuse other constitutions, feel these props which you’re using before. | ||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sentence is a bit unclear. Consider rephrasing for better readability, such as: "If you want to reuse other constitutions, feel free to use these properties if you've used them before."
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||
| - set `personality` as `pragmatic` due to save token(direct communication) | ||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||
| - polished `compaction_prompt` for better context compaction. | ||||||||||||||||||||||||||||||||||||||||||||||
| - `memories`: codex also supports detecting and saving user’s tastes. | ||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+52
to
+72
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix grammatical errors and broken links in the configuration section. Multiple issues affect documentation quality:
📝 Proposed fixes-> Basically, this project already turned on efficient features of codex, somethings are experimental state but battle-tasted, in .codex/config.toml. This section is going to tell about the decisions.
+> Basically, this project has already enabled efficient features of Codex, some of which are in an experimental state but battle-tested, in .codex/config.toml. This section describes the decisions behind these configurations.
-### [config.toml](https://www.notion.so/prravda/config.toml)
+### config.toml
-- `project_doc_fallback_filenames` are fallback constitution files. The type of this property is `list[str]`, so you can add `str` type element into this section like `["CLAUDE.md", "AGENTS.md", "CRUSH.md"]`.
- - If you want to reuse other constitutions, feel these props which you're using before.
+- `project_doc_fallback_filenames` is a list of fallback constitution files. The type of this property is `list[str]`, so you can add string elements to this section like `["CLAUDE.md", "AGENTS.md", "CRUSH.md"]`.
+ - If you want to reuse other constitutions, feel free to add ones you've used before.
-- set `personality` as `pragmatic` due to save token(direct communication)
+- set `personality` as `pragmatic` to save tokens (direct communication)🤖 Prompt for AI AgentsThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```toml | ||||||||||||||||||||||||||||||||||||||||||||||
| [agents] | ||||||||||||||||||||||||||||||||||||||||||||||
| max_depth = 2 | ||||||||||||||||||||||||||||||||||||||||||||||
| max_threads = 96 | ||||||||||||||||||||||||||||||||||||||||||||||
| job_max_runtime_seconds = 36000 # Default: 1800 seconds | ||||||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| - codex could call agent(s) in recursively, by following max_depth. | ||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sentence is grammatically awkward. Consider rephrasing it for better flow, for example: "But if your host machine or quota is limited, set these values, including
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||
| - But if host machine or your quota is limited, set these values including max_depth appropriately as you want. | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ### [agents](./agents/) | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```toml | ||||||||||||||||||||||||||||||||||||||||||||||
| model = "gpt-5.3-codex-spark" | ||||||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| - some `fast` agents baed on spark model. But this model is only available on ChatGPT pro subscription. So if you're not pro subscriber, change them into appropriate models. | ||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a typo here; "baed" should be "based".
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| ```toml | ||||||||||||||||||||||||||||||||||||||||||||||
| model = "gpt-5.1-codex-mini" | ||||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| - set `explore` agent use `gpt-5.1-codex-mini`, because they consume little quota buf sufficient for exploration. | ||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a typo here; "Sometime" should be "Sometimes". Also, the phrasing "you feel codex ask you" is a bit informal. Consider: "Sometimes codex may require more context to formulate a better plan."