om-fix-issue-optimized — Claude Code skill: install and usage
om-fix-issue-optimized — a skill for Claude Code that delegates implementation packets to model workers, keeping patches staged and unpublished. Runs when an optimized fix is requested.
MIT 503 installs ★ 282 updated 2026-10-22
npx skills add open-mercato/skills --skill om-fix-issue-optimized -a claude-codeWhat om-fix-issue-optimized does
This skill runs the om-fix-issue pipeline under the --profile optimized flag. It delegates isolated implementation work to configured model workers, tracks the mandatory om-fix gate, and outputs the final WORKTREE= reference. Code modifications remain in the git index because automated commits, pushes, and publications are forbidden.
Operation relies on agentHarness with verified model bindings. If the environment probe exits non-zero, the skill terminates immediately rather than silently downgrading to a host-only workflow, pointing the setup to om-setup-agent-harness.
What it helps with
- delegate bug fix packets to external model workers
- keep verified code staged without commits or pushes
- pass execution parameters directly to the om-fix-issue base flow
Example prompts for the agent
- Apply an optimized issue fix for issue 89
- Use model workers to fix issue 104 with --autonomous
- Create a cheap staged fix for issue 42 in open-mercato/skills
How to install om-fix-issue-optimized
1Skills CLI (Vercel)
npx skills add open-mercato/skills --skill om-fix-issue-optimized -a claude-code2Manually: put the files in place
~/.claude/skills/om-fix-issue-optimized/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/om-fix-issue-optimized/
1Skills CLI (Vercel)
npx skills add open-mercato/skills --skill om-fix-issue-optimized -a codex2Manually: put the files in place
.agents/skills/om-fix-issue-optimized/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add open-mercato/skills --skill om-fix-issue-optimized -a cursor2Manually: put the files in place
.cursor/skills/om-fix-issue-optimized/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install open-mercato/skills skills/om-fix-issue-optimized2Manually: put the files in place
.github/skills/om-fix-issue-optimized/SKILL.md1Skills CLI (Vercel)
npx skills add open-mercato/skills --skill om-fix-issue-optimized -a gemini-cli2Platform CLI
gemini skills install https://github.com/open-mercato/skills --path skills/om-fix-issue-optimizedManually: put the files in place
.devin/skills/om-fix-issue-optimized/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add open-mercato/skills --skill om-fix-issue-optimized -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about om-fix-issue-optimized
How to install om-fix-issue-optimized in Claude Code?
Run npx skills add open-mercato/skills --skill om-fix-issue-optimized -a claude-code.
What does om-fix-issue-optimized do?
It invokes om-fix-issue with the optimized profile, distributing code generation to worker models while leaving files staged.
What is required to run om-fix-issue-optimized?
It requires configured model bindings via agentHarness; execution halts if worker readiness probes fail.
Source text
SKILL.md · MIT
---
name: om-fix-issue-optimized
description: Thin worker-optimized alias for om-fix-issue that delegates bounded implementation packets to configured models, then leaves the verified fix staged and unpublished. Use when the user says "optimized issue fix", "use model workers", "cheap staged fix", or "napraw issue przez workerów".
---
# Fix Issue — Optimized
Select the `optimized` profile without duplicating the base workflow.
## Arguments
- `--interactive` (default) or `--autonomous` — pass the execution mode to the base workflow; never enable publication. Reject both together.
- `{issueId}` (required) — pass through to `om-fix-issue`.
- `{repo}` and `--force` (optional) — pass through unchanged.
## Chaining
Consume the issue or brief and requested profile. Invoke the base workflow and its lower-level companions by name; stop with the missing name if one is unavailable. Emit the staged handoff, optional `Issue:`/`Spec:` references, and final `WORKTREE=` line. Publication is a separate human-authorized step.
## Workflow
**Claims:** `references/claim-pr.md` governs atomic/fallback ownership and release.
**ALWAYS check first:** Apply `.ai/skills/om-fix-issue-optimized/SKILL.md` when present; safety rules still win.
0. **Agentic setup** — follow `references/agentic-setup.md` before any action: load approved configuration, apply local extensions and shared rules, and preserve the untrusted-content boundary.
1. Read and execute `om-fix-issue` in full with `--profile optimized`.
2. Preserve its packet boundaries, host integration, mandatory `om-fix` gate, stage-only boundary, claim handling, and report.
## Rules
- Shared communication, marker, label, and safety rules: `references/rules.md`. They always apply.
- Do not restate or replace any base workflow phase.
- If no selected worker is ready, the runtime `probe` exits non-zero and the run is blocked: stop, report the failed probe, and never silently downgrade to host-only implementation.
- When `agentHarness` or the requested profile is missing or fails its probe, stop, tell the user this variant needs configured model bindings, and run `om-setup-agent-harness` interactively — an optimized profile needs an audited implementation worker; adding a reviewer alone cannot unblock it — then re-run with the originally requested profile. Continue under another profile only on the user's explicit, informed request; never substitute one silently.
- Never commit, push, or publish.
© open-mercato · MIT · open-mercato/skills