📰 IT Security NachrichtenRevolut breach exposes widespread security weakness -- trust(17.09.2026 um 21:00 Uhr)
🔧 AI Nachrichten GitHub Release: openai/codex vrust-v0.156.0-alpha.1 (18.09.2026)(18.09.2026 um 01:24 Uhr)
🐧 Linux TippsDSA-6506-1 chromium - security update(17.09.2026 um 02:00 Uhr)
🎥 VideosShannon Morse: The COOLEST Tech I Saw at IFA 2026!(18.09.2026 um 01:30 Uhr)
🕵️ SicherheitslückenCVE-2023-4751 | vim up to 9.0.1247 heap-based overflow(18.09.2026 um 00:34 Uhr)
📰 IT Security NachrichtenRevolut breach exposes widespread security weakness -- trust(17.09.2026 um 21:00 Uhr)
🔧 AI Nachrichten GitHub Release: openai/codex vrust-v0.156.0-alpha.1 (18.09.2026)(18.09.2026 um 01:24 Uhr)
🐧 Linux TippsDSA-6506-1 chromium - security update(17.09.2026 um 02:00 Uhr)
🎥 VideosShannon Morse: The COOLEST Tech I Saw at IFA 2026!(18.09.2026 um 01:30 Uhr)
🕵️ SicherheitslückenCVE-2023-4751 | vim up to 9.0.1247 heap-based overflow(18.09.2026 um 00:34 Uhr)
🔧 Programmierung 🕛 vor 3 Monaten 2 Min Lesezeit
0

ai-fix: when a command fails, one word fixes it

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

I kept alt-tabbing to ChatGPT, pasting the error, reading the fix, coming back to the terminal. Same 5 errors. 50 times a year.



So I built ai-fix.






Demo






CODE
$ python app.py
ModuleNotFoundError: No module named 'uvicorn'

$ ai-fix
✗ Failed: No module named 'uvicorn'
Fix (high confidence): uvicorn is not installed.
→ pip install uvicorn
Apply fix? [Y/n]: y
✓ Fixed! Command succeeded.









Install






CODE
pip install ai-fix
export ANTHROPIC_API_KEY=sk-ant-...






That's it. Now just type ai-fix after any failed command.






How it works




  1. Reads your last command from zsh/bash/fish history

  2. Re-runs it to capture the full error

  3. Sends error + context (OS, Python/Node version, project files present) to Claude Haiku

  4. Gets back exact fix commands — no prose, no explanation to decode

  5. Applies them, re-runs your original command to confirm






What it fixes





  • ModuleNotFoundErrorpip install

  • Permission denied → chmod +x

  • Port already in use → lsof -ti:PORT | xargs kill -9

  • Git push rejected → git pull --rebase

  • Docker not running → open -a Docker

  • npm/cargo/go build failures






Cost



~$0.0003 per fix (Claude Haiku). You'd need 3,000 fixes to spend $1.



Falls back to GPT-4o-mini if you have OPENAI_API_KEY instead.






Also works as a prefix






CODE
ai-fix npm run build   # runs it, fixes it if it fails
ai-fix -y python app.py # skip confirmation
ai-fix --dry-run cargo build # see fix without applying






GitHub: https://github.com/anasmohiuddinsyed-bit/ai-fix



MIT license. Would love feedback on the confidence scoring.

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
The amount of e-waste caused by AI is underestimated: we can’t only include the servers
1 Quelle
Crusoe raises $3.9B to build massive data centers and small modular “AI factories”
1 Quelle
GitHub Release: openai/codex vrust-v0.156.0-alpha.1 (18.09.2026)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ai-fix: when a command fails, one word fixes it

Thematisch verwandte Begriffe: aifix, when, command, fails · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...