agent-infra-fixer SKILL.md skillA
agent-infra-fixer from getedgehq/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add getedgehq/skills/agent-infra-fixer@git:20260929.d19e06dPins git:20260929.d19e06d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- getedgehq/skills
- Path
agent-infra-fixer/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260929.d19e06d, committed Sep 29, 2026
- First version recorded
- Sep 17, 2026
- Size
- 3,979 bytes
- Repository stars
- 5
- License
- Apache-2.0
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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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@sha256:c7c0998e56b15882The line at the top of this page pins the label git:20260929.d19e06d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3j25uk5frbl6yhoy)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 17, 2026 and Sep 29, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260929.d19e06d latest | 2026-09-29 | d19e06d | 3,979 B | A | view · diff |
| git:20260917.f702cf1 | 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 (3979 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 · 5 stars · license Apache-2.0 · pushed 2026-11-06 · 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/c7c0998e56b15882185b6afae4fcb75bbfd0d5c3b81466184dc83219dad49792
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.