Home / getedgehq / skills · agent-infra-fixer/SKILL.md · GitHub

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

Latest version
mdr add getedgehq/skills/agent-infra-fixer@git:20260917.f702cf1
Exact content
mdr add getedgehq/skills/agent-infra-fixer@sha256:615600fc652e2d4f

Pin 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3j25uk5frbl6yhoy.svg)](https://markdownregistry.com/a/art_3j25uk5frbl6yhoy)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260917.f702cf1 latest2026-09-17 f702cf1 3,811 BA view · diff
git:20260917.94f3a352026-09-17 94f3a35 3,804 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • 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

GitHub

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.

More from getedgehq/skills

agent-receipt skill
getedgehq/skills · agent-receipt/SKILL.md · Create a compact, evidence-backed proof-of-work receipt for a completed AI agent run. Use when the user wants to…
git:20260920.deb764a · audit A · 3 stars
agent-skills-gap skill
getedgehq/skills · agent-skills-gap/SKILL.md · Analyze Claude or Codex session logs or pasted prompts to identify evidenced strengths, weak task categories, a…
git:20260920.a474e57 · audit A · 3 stars
autonomous-research skill
getedgehq/skills · autonomous-research/SKILL.md · An 18-agent pipeline that turns one topic line into a drafted
git:20260917.e041983 · audit A · 3 stars
brain-scan skill
getedgehq/skills · brain-scan/SKILL.md · Scan authorized Claude, Codex, or OpenCode session logs for recurring correction themes, reconstruct real tasks, and…
git:20260921.4b868a5 · audit A · 3 stars
cli-ux-review skill
getedgehq/skills · cli-ux-review/SKILL.md · Audit a command-line tool for user-friendliness — clear situation / next-step / options in every output…
git:20260910.badf951 · audit A · 3 stars
cv-job-match skill
getedgehq/skills · cv-job-match/SKILL.md · Turn a CV into a shortlist of live startup roles from Rocketlist's public job board, including adjacent job titles the…
git:20260917.e041983 · audit A · 3 stars
decision-ledger skill
getedgehq/skills · decision-ledger/SKILL.md · Convert messy project notes, meeting transcripts, or agent logs into an evidence-linked ledger of decisions, reversals…
git:20260920.deb764a · audit A · 3 stars
domain-uptime-monitor skill
getedgehq/skills · domain-uptime-monitor/SKILL.md · Probe a list of domains with a real content check per domain, so a suspended deployment or a broken build that still…
git:20260918.9cffd68 · audit A · 3 stars
agent-receipt skill
getedgehq/skills · evals/agent-receipt/2026-09-19/corrected-schema-v2/runs/agent-receipt-public-safe/s1/with.meta/skill/agent-receipt/SKILL.md · Create a compact, evidence-backed proof-of-work receipt for a completed AI agent run. Use when the user wants to…
git:20260920.deb764a · audit A · 3 stars
agent-receipt skill
getedgehq/skills · evals/agent-receipt/2026-09-19/corrected-schema-v2/runs/agent-receipt-public-safe/s2/with.meta/skill/agent-receipt/SKILL.md · Create a compact, evidence-backed proof-of-work receipt for a completed AI agent run. Use when the user wants to…
git:20260920.deb764a · audit A · 3 stars
agent-receipt skill
getedgehq/skills · evals/agent-receipt/2026-09-19/corrected-schema-v2/runs/agent-receipt-public-safe/s3/with.meta/skill/agent-receipt/SKILL.md · Create a compact, evidence-backed proof-of-work receipt for a completed AI agent run. Use when the user wants to…
git:20260920.deb764a · audit A · 3 stars
agent-receipt skill
getedgehq/skills · evals/agent-receipt/2026-09-19/invalid-host-sandbox/s1/with/.agents/skills/agent-receipt/SKILL.md · Create a compact, evidence-backed proof-of-work receipt for a completed AI agent run. Use when the user wants to…
git:20260920.deb764a · audit A · 3 stars

Every file in getedgehq/skills

Browse by kind, by grade A, or by owner.