agent-infra-fixer skillA
agent-infra-fixer is agent-read markdown (skill) from getedgehq/skills: Fix the agent's own environment when skill-miner surfaces infra-class failures - broken or over-broad hooks, permission-mode denials, wrappers, sandboxing, expired CLI auth. Use when session mining shows hook errors ("No stderr output", repeated "BLOCKED" on legitimate commands), denied permissions, or environment breakage that no skill could fix. The rule is that infra failures get fixed in the environment, never worked around with skills..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# agent-infra-fixer skill-miner classifies clusters as `infra` or `task`. Infra clusters come here. No eval, no skill draft - reproduce, fix, verify, record. ## Process 1. **Reproduce.** Re-run the failing component on a triggering input. For hooks: pipe a realistic tool-input JSON into the hook script and check exit code AND which stream the message lands on. 2. **Fix the environment** (hook, wrapper, permission config), minimal diff. 3. **Verify with a trigger/benign pair**: the fix must fire on the bad input and stay silent on good input. 4. **Record** in `$FORGE_ROOT/ledger.jsonl` as `decision: "infra-fix"` so the next mining run can confirm the cluster count dropped. ## Known failure class: stdout-block hooks PreToolUse hooks that print block reasons to **stdout** instead of **stderr** surface to the agent as `hook error: No stderr output` - the block works but the agent never sees WHY, retries, and the error count explodes. Exit code must be 2 with the reason on stderr. Detector/fixer: for every `exit 2` in a `*.sh` hook, the echo / printf / `cat <<EOF` lines of the same block get `>&2`; `--exit2` also turns a message + `exit 1` (which does …
Read the whole file at its exact version.
How to install
mdr add getedgehq/skills/agent-infra-fixer@git:20260917.f702cf1mdr add getedgehq/skills/agent-infra-fixer@sha256:615600fc652e2d4fPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_3j25uk5frbl6yhoy)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260917.f702cf1 latest | 2026-09-17 | f702cf1 | 3,811 B | A | view · diff |
| git:20260917.94f3a35 | 2026-09-17 | 94f3a35 | 3,804 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3811 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
getedgehq/skills · 3 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3j25uk5frbl6yhoy GET https://markdownregistry.com/api/v1/resolve?ref=getedgehq/skills/agent-infra-fixer GET https://markdownregistry.com/api/v1/blob/615600fc652e2d4ffe58382e5b443c4c362f1b7fb12314e9ac0c89bb6f136229
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.