安装项目 AGENTS 指南

This commit is contained in:
wxm
2026-05-18 19:21:55 -07:00
parent 8cd173889c
commit 0c4227cba6
7 changed files with 240 additions and 23 deletions

View File

@@ -20,9 +20,12 @@ Spawn `creative-director` via Codex custom-agent delegation using gate
```
The matching custom agent must already be installed in the target project at
`.codex/agents/<agent-name>.toml`. The plugin source copies for those agents live
in `runtime/agents/`; run `python3 scripts/install_codex_runtime.py <target-project>`
from the plugin root if the target project is missing them. Pass the context
`.codex/agents/<agent-name>.toml`. The target project should also have a root
`AGENTS.md` installed from `project-template/AGENTS.md`; this is the shared
project guide used by Codex and bundled custom agents. The plugin source copies
for agents live in `runtime/agents/`; run
`python3 scripts/install_codex_runtime.py <target-project>` from the plugin root
if the target project is missing the agents or root guide. Pass the context
listed under that gate's **Context to pass** field, then handle the verdict
using the **Verdict handling** rules below.