agentleFS
tae2089tae2089/harness/skills/codex-harness-setup/SKILL.md

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.

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
  1. Very specific:

    Read existing AGENTS.md and, when present, .scratch/.tracker.

    line 12
  2. Distinctive:

    Do not generate a local execution-state engine or a state-management agent.

    line 19
  3. Distinctive:

    Ask existing issue / new issue / no issue for actionable work unless already specified.

    line 25
  4. Distinctive:

    Use the selected domain-specific explanation profile.

    line 28
  5. Distinctive:

    No second tracker configuration, per-agent issue mirroring, or automatic closure.

    line 36
  6. Distinctive:

    No issues, labels, Epics, or documentation pages are created merely by running setup.

    line 38

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codex Harness Setup

Configure project preferences for codex-harness. Use the existing shared tracker contract rather than a separate harness publication backend.

Procedure

  1. 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.
  2. Load ../codex-harness/references/project-policy.md. If the companion skill is unavailable, report that dependency before generating an incomplete harness.
  3. For tracker setup, locate the installed to-issues/references/tracker-config.md, also used by to-spec. Use its supported keys and publication-tool rules. If missing, report the dependency; do not invent a replacement configuration.
  4. 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.
  5. 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.
  6. Prepare the concrete configuration and AGENTS.md changes, then apply them within the user's authorization and project safety rules. Write only .scratch/.tracker when selected and the relevant AGENTS.md sections. Keep the shared configuration trackable. Preserve unrelated content and existing work.
  7. Set model and effort preferences from the companion codex-harness/references/schemas/models.md during harness generation, not in the tracker. An unavailable model requires an explicit replacement decision.
  8. 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.
  9. 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 with to-spec and to-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 behavior
  • references/integration-points.md — generation and runtime integration
  • templates/harness-tracker.template.md — shared tracker examples, not a separate output file

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.