codex-harness-setup
Skill4 starsChanged 7 months agoApache-2.0View on GitHub
Configure the shared tracker and explanation profile before generating a Codex harness, or update those project preferences. Reuses to-spec and to-issues .scratch/.tracker; writes the chosen audience profile and harness policy pointers into AGENTS.md. Does not execute work or publish issues merely because setup was requested.
In this repository2 other files it gives its agents.
- codex-harnessSkill
- gemini-harnessSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read existing AGENTS.md and, when present, .scratch/.tracker.
- Distinctive: line 19
Do not generate a local execution-state engine or a state-management agent.
- Distinctive: line 25
Ask existing issue / new issue / no issue for actionable work unless already specified.
- Distinctive: line 28
Use the selected domain-specific explanation profile.
- Distinctive: line 36
No second tracker configuration, per-agent issue mirroring, or automatic closure.
- Distinctive: line 38
No issues, labels, Epics, or documentation pages are created merely by running setup.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Harness Setup
Configure project preferences for codex-harness. Use the existing shared tracker contract rather than a separate harness publication backend.
Procedure
- Read existing AGENTS.md and, when present,
.scratch/.tracker. Reuse decisions already made in the conversation. Do not inspect credential values or infer a tracker from the Git remote. - Load
../codex-harness/references/project-policy.md. If the companion skill is unavailable, report that dependency before generating an incomplete harness. - For tracker setup, locate the installed
to-issues/references/tracker-config.md, also used byto-spec. Use its supported keys and publication-tool rules. If missing, report the dependency; do not invent a replacement configuration. - Preserve valid existing tracker settings unless the user requests a change. For a missing configuration, explain the shared local fallback or collect the user's explicit destination. Do not create tickets or publish documents during setup. Issue-free execution does not require a tracker.
- Reuse the existing explanation profile; otherwise ask for domains and familiarity with suggested beginner/ELI5, practitioner, and specialist options plus free text. Support mixed expertise.
- Prepare the concrete configuration and AGENTS.md changes, then apply them within the user's authorization and project safety rules. Write only
.scratch/.trackerwhen selected and the relevant AGENTS.md sections. Keep the shared configuration trackable. Preserve unrelated content and existing work. - Set model and effort preferences from the companion
codex-harness/references/schemas/models.mdduring harness generation, not in the tracker. An unavailable model requires an explicit replacement decision. - Do not generate a local execution-state engine or a state-management agent. The main Orchestrator records progress on the selected work record and resumes from that record plus actual artifacts. Preserve legacy project files without automatic cleanup.
- Report changed paths and any missing publication tools or dependencies. Setup success is not a claim that a remote issue or document was created.
AGENTS.md policy
- Tracker and publication contract:
.scratch/.tracker, shared withto-specandto-issues. - Ask existing issue / new issue / no issue for actionable work unless already specified.
- One issue per work unit with completion criteria; agent steps and retries stay internal.
- Close issues only on user request.
- Use the selected domain-specific explanation profile; explicit task-level requests take precedence.
- Explanation style does not weaken code quality or verification.
- The main Orchestrator coordinates native Codex subagents; no separate agent-team runtime.
Validation
- Existing choices and unrelated project instructions are preserved.
- Tracker format matches the installed shared contract; no credentials or extra harness keys.
- No second tracker configuration, per-agent issue mirroring, or automatic closure.
- AGENTS.md contains the selected explanation profile without placeholders.
- No issues, labels, Epics, or documentation pages are created merely by running setup.
References
references/tracker-backends.md— shared publication dependency and backend behaviorreferences/integration-points.md— generation and runtime integrationtemplates/harness-tracker.template.md— shared tracker examples, not a separate output file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

