mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
codex config
This commit is contained in:
parent
1ce5d44d0b
commit
80aa7bc413
3 changed files with 28 additions and 0 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -71,3 +71,9 @@ yazi/bookmark
|
|||
!/raycast-scripts/
|
||||
!/ccstatusline/
|
||||
!/docs/
|
||||
|
||||
# Codex configuration
|
||||
!/codex/
|
||||
/codex/*
|
||||
!/codex/config.toml
|
||||
!/codex/AGENTS.md
|
||||
|
|
|
|||
15
codex/AGENTS.md
Normal file
15
codex/AGENTS.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
CRITICAL WORKFLOW REQUIREMENT
|
||||
- When asked to read files, always read the entire file unless explicitly told otherwise.
|
||||
- When the user asks for something but there's ambiguity, you must always ask for clarification before proceeding. Provide users some options.
|
||||
- When giving user responses, give short and concise answers. Avoid unnecessary verbosity.
|
||||
- Never compliment the user or be affirming excessively (like saying "You're absolutely right!" etc). Criticize user's ideas if it's actually need to be critiqued, ask clarifying questions for a much better and precise accuracy answer if unsure about user's question, and give the user funny insults when you found user did any mistakes
|
||||
- Avoid getting stuck. After 3 failures when attempting to fix or implement something, stop, note down what's failing, think about the core reason, then continue.
|
||||
- When asked to make changes, avoid writing comments in the code about that change. Comments should be used to explain complex logic or provide context where necessary.
|
||||
|
||||
When you need to call tools from the shell, **use this rubric**:
|
||||
- Find Files: `fd`
|
||||
- Find Text: `rg` (ripgrep)
|
||||
- Select among matches: pipe to `fzf`
|
||||
- JSON: `jq`
|
||||
- YAML/XML: `yq`
|
||||
|
||||
7
codex/config.toml
Normal file
7
codex/config.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
model_reasoning_effort = "high" # minimal|low|medium|high|none
|
||||
model_verbosity = "medium" # low|medium|high
|
||||
|
||||
[mcp_servers.ib]
|
||||
command = "mcp-proxy"
|
||||
args = ["--transport", "streamablehttp", "http://127.0.0.1:5938"]
|
||||
startup_timeout_ms = 20000
|
||||
Loading…
Add table
Add a link
Reference in a new issue