Skip to content
Skills Library
AI & agents · Automation

harness-setup

/harness-setup

Use when initializing or upgrading Oh My Harness configuration for a Codex project.

Licence
MIT
Last repository change
28.07.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
2
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

What it does and when to use it

Use when initializing or upgrading Oh My Harness configuration for a Codex project.

Original author description

Use when initializing or upgrading Oh My Harness configuration for a Codex project.

How it works

  1. First-run gate
  2. Create configuration
  3. Codex registration surfaces
Original SKILL.md headings · 88 lines, 621 words
SKILL.md preview
---
name: harness-setup
description: Use when initializing or upgrading Oh My Harness configuration for a Codex project.
---

# Harness setup

Initialize only project configuration and optional project guidance. Never spawn an agent during
setup. Read `../../references/runtime-map.md` before adapting runtime actions.

## First-run gate

Resolve existing configuration exactly like the hooks: try the project
`.claude/.omh/harness.config.json` first, then `~/.claude/.omh/harness.config.json` as the global
fallback; the project config wins. Use the first parseable candidate. Deep-merge it with bundled
defaults. Preserve all user keys, including unknown future keys.

- If a config exists, identify its scope, summarize it, and ask whether to merge current defaults, reset after confirmation,
  or cancel. Preserve user values during a merge. Treat reset as destructive and require explicit
  confirmation before overwriting.
- If it is absent, welcome the user and ask directly in chat for installation scope, convention
  detection, feature profile, commit convention, weight routing, verifier selection, and
  `multiAgent.runtime` (`codex` recommended here, or `claude`). Wait for the answers before writing.
- Detect `codex` and `gemini` executables read-only. Offer only detected external verifiers.
  Availability does not prove model independence.

## Create configuration

Create `.claude/.omh/` and derive the config from the bundled
`../../../templates/harness.config.json.tmpl`, resolved relative to this installed skill.
Preserve every template key and exact spelling. In
particular, preserve:

- all `features` toggles, including `skillScaffolding`, `nativeTeam`, `autonomousLoop`,
  `weightRouting`, `verifyGate`, and `planGate`;
- `testEnforcement`, `modelRouting`, `autoPlan`, `ambiguityDetection`, `commitConvention`,
  `scopeGuard`, `tier3`, `verifyGate`, `planGate`, and `conventions`;
- `multiAgent.maxAgents`, `useWorktree`, `tmuxSession`, and add
  `multiAgent.runtime: "codex" | "claude"`;
- `nativeTeam.maxTeammates`, `defaultTeamName`, and `templates`;
- the full `loop` block, including its state paths, verify ladder, budgets, tier definitions,
  reflection, and cross-verification limits;
- `verify.rounds`, `verify.stopWhenClean`, `verify.autoFix`, and `verify.lenses`.

Apply choices:

- Full: keep template feature defaults.
- Minimal: disable every feature except `testEnforcement`, `dangerousGuard`,
  `commitConvention`, and `autoGitignore`.
- Custom: ask which exact feature keys to enable.
- Auto-detect: scan project manifests and save `.claude/.omh/conventions.json`.
- Manual: ask for language, test framework, linter, formatter, and build tool.
- Weight routing disabled: set `features.weightRouting` false.
- Weight routing enabled: keep `verify.rounds` at the chosen positive integer and
  `verify.autoFix` at the explicit choice.
- Verifier lenses: include only selected, available runtimes. Mark a same-model Codex lens as
  non-independent later; never imply that a configured lens guarantees separation.

For project scope, write `.claude/.omh/harness.config.json`. For global scope, write
`~/.claude/.omh/harness.config.json`; global scope must not create or change the project config.
Warn when an existing project config will continue to win over the global fallback. Deep-merge
updates without dropping user-defined or unknown keys.

## Codex registration surfaces

The Codex plugin manifest does not install custom role profiles or durable `AGENTS.md` guidance.
Do not imply that marketplace installation alone provides those surfaces. During setup, offer the
supported explicit provisioning step, or tell the user they can run
`oh-my-harness init --runtime codex --scope project|user`.

After explicit confirmation:

- Resolve bundled roles relative to this skill at `../../agents/quick.toml`,
  `../../agents/standard.toml`, and `../../agents/architect.toml`. For project scope, install
  confirmed missing profiles under `.codex/agents/`; for global scope use
  `~/.codex/agents/`. Preserve every user-owned same-name file. Refresh a role only when the
  scope's `.claude/.omh/codex-ownership.json` explicitly records OMH ownership.
- Resolve durable guidance from `../../../templates/AGENTS.md.tmpl`. For project scope target
  `AGENTS.md`; for global scope target `~/.codex/AGENTS.md`. Preserve all unmarked user-owned
  content. Insert or refresh exactly one block bounded by `<!-- HARNESS:START -->` and
  `<!-- HARNESS:END -->`; abort without writing when markers are incomplete.
- Preview exact destinations and changes before writing. Role installation and guidance insertion
  each require explicit confirmation. Write ownership metadata and changed files atomically.

If `.gitignore` lacks `.claude/.omh/`, show the proposed addition and ask before changing it.
For durable Codex guidance, propose an `AGENTS.md` change and require explicit confirmation before
overwriting existing guidance. Project skills belong in `.agents/skills`.

Report scope, detected conventions, config path, enabled features, runtime, loop budgets, verifier
availability, and reduced-coverage caveats. Do not modify global settings unless the user selected
global scope and separately confirmed the exact target.

Versions

RepositoryScoreLicence
This page · hoya324/oh-my-harness90MIT
duc01226/EasyPlatform100MIT
duc01226/EasyPlatform100MIT
tim-hub/powerball-harness100MIT

Database snapshot: 13.11.2026 · package version 6b43597f4be0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90Codex Ecosystem Setup
    Use this skill to initialize Codex configuration and manage MCP servers in a project after confirming with the user.
  • 100setup
    Initialize, upgrade, or migrate the claude-harness plugin in a project. Use for first-time setup, plugin installation, version migration, memory directory configuration, legacy file cleanup, and project harness initialization.
  • 95harness-docs
    Harness Kit documentation — installation, plugin catalog, creating plugins, cross-harness setup, architecture, and FAQ. Use when working with or configuring harness-kit plugins, understanding the plugin/skill system, installing slash commands, setting up AI coding tool…
  • 100harness
    Drives one change through the harness loop: plan, approval, test-first work, verify gates, review and ship. Use when the user types /90p:harness (Codex: $90p:harness) with a prompt, or with status, approve or abandon, in a repository that has .harness.yaml.
  • 90codex-delegate
    DeepSeek Harness 的 Codex 委派模式:输入框下方的 Codex 开关打开后,当前会话的编码需求由 Codex 理解、写实现提示词,再经 dsh-baton 交给 Harness 子会话执行并验收。用户问「Codex 开关怎么用 / 为什么没生效 / 怎么省 token / 让 Codex 动脑 DeepSeek 动手」时读本技能。
  • 100harness-onboarding
    First-run setup for makkov-harness. Use when a person has just installed this harness, says "set this up for me", "onboard me", or asks how to personalize it. Interviews them in a few short questions and writes their own private layer of instructions (language, role, tools,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.