{"id":46202735,"url":"https://github.com/atticus98/codex-turbo","last_synced_at":"2026-04-01T17:24:42.087Z","repository":{"id":340155633,"uuid":"1164801750","full_name":"atticus98/codex-turbo","owner":"atticus98","description":"Codex CLI 多智能体并行调度配置参考模板——启用原生并行能力，实现主代理自主协调与子代理高效任务分发。Codex CLI Multi-Agent Parallel Scheduling Configuration Reference Template Enabling Native Parallelism for Autonomous Primary Agent Coordination and Efficient Sub-Agent Task Distribution.","archived":false,"fork":false,"pushed_at":"2026-03-25T10:14:22.000Z","size":164,"stargazers_count":114,"open_issues_count":3,"forks_count":10,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-26T12:34:47.002Z","etag":null,"topics":["codex","codex-cli"],"latest_commit_sha":null,"homepage":"https://github.com/atticus98/codex-turbo","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atticus98.png","metadata":{"files":{"readme":"README.en.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-23T13:58:02.000Z","updated_at":"2026-03-26T11:39:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/atticus98/codex-turbo","commit_stats":null,"previous_names":["atticus98/codex-turbo"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/atticus98/codex-turbo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticus98%2Fcodex-turbo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticus98%2Fcodex-turbo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticus98%2Fcodex-turbo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticus98%2Fcodex-turbo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atticus98","download_url":"https://codeload.github.com/atticus98/codex-turbo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atticus98%2Fcodex-turbo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codex","codex-cli"],"created_at":"2026-03-03T05:02:33.281Z","updated_at":"2026-04-01T17:24:42.079Z","avatar_url":"https://github.com/atticus98.png","language":null,"funding_links":[],"categories":["未分类"],"sub_categories":[],"readme":"# codex-turbo\n\nEnglish | [简体中文](./README.md)\n\nThis repository is a set of personal Codex CLI configuration templates. Adhering to the principle of **\"Lightweight \u0026 Efficient,\"** it aims to deeply leverage **native CLI capabilities** without introducing complex dependencies, enabling high-performance task orchestration through multi-agent collaboration. This setup is shared as a personal practice and is intended as a **starting point** to help you build your own ideal AI workflow.\n\n\u003e 💡 **Not sure how to apply it?** You can send this repository URL to an AI\n\u003e assistant such as Claude Code CLI or Codex CLI and let it help merge the\n\u003e templates into your local setup.\n\n\u003e Current compatible version: **Codex CLI v0.116.0**\n\u003e\n\u003e The original post\n\u003e [Codex CLI 多智能体并行调度配置分享](https://linux.do/t/topic/1603762)\n\u003e can no longer be edited. This repository is the maintained version going\n\u003e forward.\n\n\n## Key Points\n\n- 💡 **Parallel Workflow**: `multi_agent = true` for maximum parallelism with\n  minimal blocking\n- 🔧 **System-level Contract**: inject agent workflow rules through\n  `developer_instructions` in `config.toml`, with higher priority than\n  `AGENTS.md`\n- 🧠 **Native Memory**: `memories = true` to extract and consolidate\n  conversation memory automatically, improving context continuity\n- 🔌 **WebSocket Support**: `supports_websockets = true` is configured under\n  `[provider]`. You need to verify whether your model provider supports it;\n  do not enable it if unsupported, to avoid errors\n- 🧩 **Model Selection**: model and reasoning depth can be adjusted to fit your\n  actual project requirements — the current template is a reference starting\n  point for general development\n- 🎯 **Conversation Style**: strong visual boundaries, emoji markers, and\n  short direct terminal-friendly output\n- 📝 **Dynamic Contract**: the main agent dynamically sends clear task\n  instructions with goal/action/result structure\n- ⚙️ **Concurrency Control**: `max_threads = n` for custom per-round parallel\n  limits\n- ⚠️ **Risk Management**: dangerous operation confirmation and immutable\n  principles\n- 🤖 **Custom Agents**: manually configure sub-agent model, reasoning effort,\n  and role description\n- 📋 **Reusable Templates**: ready-to-copy `AGENTS.template.en.md` and\n  `config.toml.en.example`\n\n## Core Files and Directories\n\n```text\n.\n├── README.md                  # Chinese documentation\n├── README.en.md               # English documentation (this page)\n└── templates/\n    ├── cn/                        # Chinese templates\n    │   ├── AGENTS.template.md\n    │   ├── config.template.toml\n    │   ├── agents/\n    │   │   ├── explorer.toml\n    │   │   └── worker.toml\n    │   └── skills/\n    │       └── terminal-dialog-style/\n    └── en/                        # English templates\n        ├── AGENTS.template.en.md\n        ├── config.toml.en.example\n        ├── agents/\n        └── skills/\n```\n\n**Related Docs**\n\n- [CHANGELOG](./CHANGELOG.md)\n\n## Quick Start (5 Minutes)\n\nGoal: switch your Codex CLI into a \"parallel + templated\" workflow.\n\n### 1. Clone the repository\n\n```bash\ngit clone \u003cyour-repo-url\u003e\ncd codex-turbo\n```\n\n### 2. Copy the template configuration\n\nThis repository provides the following template files:\n\n| File | Purpose | Target Location |\n|------|---------|--------------------|\n| `templates/en/config.toml.en.example` | Core system configuration, including `developer_instructions` for the parallel workflow | `~/.codex/config.toml` |\n| `templates/en/AGENTS.template.en.md` | Development principles and output style guide | `~/.codex/AGENTS.md` |\n| `templates/en/agents/` | Sub-agent configuration (`explorer`, `worker`) | `~/.codex/agents/` |\n| `templates/en/skills/` | Skill templates such as `terminal-dialog-style` | `~/.codex/skills/` |\n\n\u003e Complete `config.toml` with your own provider-specific key and environment\n\u003e settings.\n\n**First-time use (direct copy)**:\n\n```bash\n# Create target directory if needed\nmkdir -p ~/.codex\n\n# Copy the core configuration files\ncp templates/en/AGENTS.template.en.md ~/.codex/AGENTS.md\ncp templates/en/config.toml.en.example ~/.codex/config.toml\n\n# Copy agent and skill directories\ncp -r templates/en/agents ~/.codex/\ncp -r templates/en/skills ~/.codex/\n```\n\n**Existing configuration (manual merge)**: → See [Migration Guide](./docs/manual-merge.en.md)\n\n\u003e Note: this document is adapted for Codex CLI `v0.116.0`. Field names may\n\u003e differ across versions or providers, so always confirm against your local CLI.\n\n\n## FAQ\n\n**Q1: Does enabling `multi_agent` always speed things up?**\n\nNot necessarily. Parallel execution only provides a clear benefit when tasks can\nbe broken down independently and have no write conflicts.\n\n**Q2: What are the benefits of enabling sub-agents?**\n\n- **Context isolation** — sub-agents run in their own context, preventing the\n  main agent's context from bloating\n- **Focused responsibility** — each sub-agent handles a single task, producing\n  more precise output\n- **Parallel efficiency** — independent tasks can run concurrently, reducing\n  overall elapsed time\n\n**Q3: Will sub-agents increase my costs?**\n\nYes. Enabling sub-agents may increase costs by **20%–30%**, depending on\nproject scale and task complexity.\n\n**Q4: How many sub-agents should I run?**\n\nStart with the default, observe quality and cost, then adjust gradually.\n\n**Q5: What if the sub-agent model differs from the main agent model?**\n\nSpecify the model separately via the `model` field in `worker.toml` or\n`explorer.toml`.\n\n**Q6: Is this template suitable for everyone?**\n\nNo. It is a starting-point template — best tailored progressively to your\nteam's own conventions.\n\n\n## Disclaimer\n\nThis repository provides configuration methodology and template references,\nverified against Codex CLI `v0.116.0`.\n\n**Cost note**: multi-agent mode may increase token usage by around 20% to 30%.\nEvaluate the cost based on your actual workload.\n\n**Risk note**: an LLM can still make wrong decisions and may delete data or\nmodify code incorrectly. Recommended precautions:\n\n- configure sandbox permissions and confirmation rules carefully\n- test in a controllable environment first\n- keep backups for important data\n\nYou are responsible for any consequences caused by using these templates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatticus98%2Fcodex-turbo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatticus98%2Fcodex-turbo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatticus98%2Fcodex-turbo/lists"}