scaffold-harness-codex
自动化生成合规的 Codex 运行护栏,便于迁移与校验项目配置。
根据仓库的 AGENTS.md 与 .codex 配置生成或修复 Codex harness。
根据仓库里的 AGENTS.md 和 .codex 配置,生成或修复一个项目级的 Codex harness,包含 agents、配置和规则对齐。适合需要搭建或校验 Codex agents、把 Claude harness 迁移到 Codex,或确认 .codex 是否真正生效的场景。它会在项目内建立或合并本地镜像,不会悄悄改全局配置,并会说明 Codex 能实现和无法实现的部分。
▸ 展开 SKILL.md 英文原文
Scaffold, repair, or align a Codex-style project harness from the repository's real AGENTS.md and .codex/ configuration. Use this skill whenever a user asks for a Codex harness, .codex agents/config/rules, Codex role models, a Codex build guard, conversion from a Claude harness to Codex, or validation of whether .codex/ is actually effective. It creates or merges the Codex mirror without silently editing global ~/.codex/config.toml, and reports what Codex can and cannot enforce.
帮我安装这个 skill:https://raw.githubusercontent.com/diwang01/scaffold-harness-codex-skill/main/skill/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/diwang01/scaffold-harness-codex-skill/main/skill/SKILL.md"# Scaffold Codex Harness Create a faithful, repo-specific Codex harness. Treat the root `AGENTS.md` as the runtime instruction source and `.codex/` as a project-local Codex mirror/spec. Do not pretend that `.codex/` is automatically executed: Codex uses `AGENTS.md` for project instructions and `~/.codex/config.toml` for global runtime policy. Codex does not natively spawn the role files in `.codex/agents/`; those files describe a disciplined procedure unless an external runner consumes them. ## Boundary and safety - Modify the target repository's Codex mirror only: `.codex/README.md`, `config.toml`, `rules.toml`, `agents/*.toml`, and `guard-build.sh` when needed. - Do not modify `~/.codex