ERerGB

Hacker — AI skill for Claude Code

AI community

Breed better LLM prompts through evolutionary optimization — corpus-evaluated epochs, failure diagnosis, targeted mutations.

How to install Hacker

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ERerGB/hacker and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Hacker does

Breed better LLM prompts through evolutionary optimization — corpus-evaluated epochs, failure diagnosis, targeted mutations. Agent skill for Cursor, Claude Code, Codex, OpenClaw.

Alternatives in AI

  • Design AI Feature — Design an AI-powered feature end-to-end — model selection, prompt architecture, eval framework, failure modes 73 ★
  • Hash Prompts — AI prompts for better results during ideation, planning and development 55 ★
  • Claude Code Prompt Optimizer — AI-powered prompt optimization hook for Claude Code 38 ★

README

Hacker

**Define a problem. Aggregate all best practices. Hack it.**

Drop this skill into Cursor. Your agent diagnoses prompt failures, searches the world for fixes, and applies them one at a time — with full regression protection. No guesswork.


A developer spends two hours tuning a support-ticket classifier prompt. It works on three test cases. They deploy. A customer sends an all-caps complaint — the prompt classifies "URGENT BUG FIX" as positive feedback. They add a rule: *"ignore all-caps text."* Next morning, normal acronyms (API, HTTP, SQL) are being ignored too. Three old cases silently regressed. They didn't know, because they only re-tested the new case.

This is what prompt engineering looks like without a regression gate. Every fix is a blind bet. You can't prove version B is better than version A — you can only hope nothing broke.

What changes

The developer writes 8 test cases with expected outputs — including the all-caps edge case — and tells the agent:

*"Run hacker against my classifier using corpus.md"*

They walk away. When they come back, the scratchpad reads:

Cycle 3  ACCEPT  avg 6.2 → 7.1
  diagnosis: T4 false positive — all-caps acronyms treated as noise
  explored:  arxiv.org/abs/2301.xxxxx — case-folding preserves acronyms
  mutation:  replaced "ignore caps" with Unicode category filter
  regressed: none

Cycle 5  ACCEPT  avg 7.1 → 7.8
  diagnosis: T2 missed implicit complaint ("this is ridiculous")
  explored:  lobehub.com/skill/sentiment-boundary — negative-example pattern
  mutation:  added implicit-negative examples from public skill
  regressed: none

Cycle 8  ACCEPT  avg 7.8 → 8.0
  diagnosis: no case below 6.0 — entering pruning
  mutation:  deleted rule with no measurable effect across 3 epochs
  result:    prompt 18% shorter, same scores

They didn't write a single new rule. The agent diagnosed each failure, searched for evidence-backed solutions — a paper, a public skill, a community pattern — and applied