orch-fix-defect

orch-fix-defect is a skill for Claude Code, Codex from gongyijie85/dsh-ecc. It costs 51 tokens per session (437 once invoked), scanned A, a copy of orch-fix-defect, MIT.

A guided workflow for fixing broken behavior in a codebase. It reproduces the problem with a regression test, applies a fix, reviews the changes, and prepares a commit.

In plain words
What is it for?
Use it for crashes, incorrect output, errors, or regressions that need a tested fix.
Why use it?
It makes sure a bug is reproduced before it is changed and helps prevent the same problem from returning. It separates fixing a defect from changing a working feature.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for crashes, incorrect output, errors, or regressions that need a tested fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gongyijie85/dsh-ecc/orch-fix-defect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gongyijie85/dsh-ecc --skill orch-fix-defect
Clone the repo
git clone --depth 1 https://github.com/gongyijie85/dsh-ecc

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orch-fix-defect

README.md
[![agentmods](https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/orch-fix-defect/github.svg)](https://agentmods.dev/skills/gongyijie85/dsh-ecc/orch-fix-defect)
Your own site
<a href="https://agentmods.dev/skills/gongyijie85/dsh-ecc/orch-fix-defect"><img src="https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/orch-fix-defect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orch-fix-defect

Your own site · 80×15
<a href="https://agentmods.dev/skills/gongyijie85/dsh-ecc/orch-fix-defect"><img src="https://agentmods.dev/badge/skills/gongyijie85/dsh-ecc/orch-fix-defect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00437
Opus 5 $0.00026 $0.00218
Sonnet 5 $0.00010 $0.00087
Haiku 4.5 $0.00005 $0.00044

Measured 8d ago against content hash 399e142bbf37, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

orch-fix-defect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to orch-fix-defect — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/orch-fix-defect/SKILL.md · 44 lines

What it actually says

orch-fix-defect

Actor · action · target: orch · fix · defect. Thin wrapper over the shared engine in orch-pipeline.

When to Use

  • Something is broken: wrong output, an error, a crash, a regression.
  • Distinguish from siblings:
    • behavior is correct but you want it different → orch-change-feature.
    • the capability does not exist yet → orch-add-feature.

Operation settings

  • Default size floor: small (often trivial).
  • Phase mask: 0 → (light 2 only if root cause is non-obvious or standard+) → 4 → 5 → 6. Research (1) is usually skipped.
  • First move (phase 4): reproduce the bug as a new failing test (regression test), then fix until it goes green. Proving the bug exists first is what separates a fix from a tweak.

How It Works

  1. Run the orch-pipeline engine with the settings above.
  2. If the root cause is unclear, scope it with code-explorer before the red test; escalate build breaks to build-error-resolver / /build-fix.
  3. Stop at Gate 1 (only if a plan was produced) and Gate 2 (pre-commit).
  4. Add security-reviewer if the defect sits in a security-sensitive path.

Example

orch-fix-defect: poller crashes on empty NWS response
→ write failing test reproducing the crash → fix to green
→ code-review → commit  [GATE 2: confirm]   (commit: fix:)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 44 lines · 51 tokens per session scan A 399e142bbf37

Subscribe to this mod's changes

orch-fix-defect is a skill published in the GitHub repository gongyijie85/dsh-ecc (7 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 437 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to orch-fix-defect, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories