Run terminal commands with Copilot agent mode
Users report the agent sometimes fails to read terminal output and may undo correct code; workarounds include switching shells. ·
Done withGitHub Copilot
- What they did
- In a GitHub community thread, a user running Copilot agent mode in VS Code (launched from WSL) saw it miss terminal output or never register that a command had finished. Commenters shared workarounds: pressing Enter in the terminal, redirecting output to a file for the agent to read, adding instructions to copilot-instructions.md, and switching to plain bash or removing prompt themes like Powerlevel10k.
- How it went
- A GitHub engineer traced it to old Powerlevel10k versions and recommended updating them, with VS Code fixes planned. Many users, including on bare bash and Windows, still reported hangs and the agent undoing correct code.
- Worth knowing
- Wasted agent loops burn premium requests; updating Powerlevel10k, or using a minimal shell or prompt for the agent, is the most-cited fix, though some workarounds failed for others.
Try it yourself with GitHub Copilot
In my project at [path], run [build or test command] in the terminal and fix any failures. If you can't read the terminal output, tell me instead of guessing, and don't change code that is already working. Stop when the command passes, and give me a list of every file you changed.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
3 more accounts of this
Source: github.com · Jun 1, 2025
Related use cases
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Have Copilot write all of a day's pushed code
A commenter had Copilot write every line pushed in a day; it mostly worked but one wrong change needed human review.
Update tickets and open pull requests from an execute task
A developer's execute task updates the ticket, creates the pull request, and updates its description after they confirm; another user applies Copilot to code reviews and PR comments.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build and deploy a meeting app from a prompt
A user had Replit Agent create a meeting app with dashboard, logic and analytics, and deploy it live without manual code changes.
Build a production AI video generation app from scratch
A poster used Manus to build a full-stack AI video generation app from zero to production-ready in a few weeks.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.