cd /news/ai-agents/useful-things-agents-can-do-that-are… · home topics ai-agents article
[ARTICLE · art-127304] src=elijahpotter.dev ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Useful Things Agents Can Do That Are Not Writing Code

A September 11, 2026 article details non-coding uses for AI coding agents, including fixing merge conflicts in pull requests, finding GitHub issues relevant to a branch, and diagnosing GitHub Actions failures. The author shares reusable `pi` prompts for each task, such as `/fix-pr-conflict #4222`, `/fd-issue`, and `/diagnose-action-failure`, and notes that 90% of the time a GitHub Actions workflow fails it is due to a forgotten formatter or static analysis run rather than a bug. The author frames the prompts as inspiration rather than a workflow to copy.

read4 min views1 publishedSep 11, 2026

The discourse is abuzz with the wonderful (and horrendous) things you can do when you allow an AI coding agent to write code. People who allow an agent (née clanker) to write all the code in an application are often called “vibe-coders”. This article is not about vibe coding. In fact, this article is about all the things you can do with an AI agent that are separate from writing code.

With each of these, I’ll go through the use-case, then include the latest version of the pi prompt that I use.

I do not believe you should use my prompts precisely. I am not suggesting that you copy my workflow. The beauty of many of these tools is that they are flexible and can be adapted to your style of work. I offer my prompts as inspiration. Maybe there are things you could be using an agent for that are not writing code.

I often find myself needing to fix merge conflicts for my PRs because either myself or an open-source contributor has modified the code upstream. Almost always, these conflicts are formatting or boilerplate changes that do not need my full attention. In other words, it’s the perfect job for a clanker.

Here is my prompt:

---
description: Fix a merge conflict in a PR.
argument-hint: "<PR NUMBER>"
---

I want you to fix the merge conflict in PR #$@.
If I have not provided a valid number, please ask me for it.

Do so by checking out the PR using the `gh` command, and perform the merge.
DO NOT push your changes until I have a chance to review them myself.

In pi, I can call this like a function:

/fix-pr-conflict #4222

It does not matter if I have the relevant PR downloaded and checked out. The clanker figures it all out non-destructively.

When working on open source software, I often prioritize fixing bugs that I find annoying and introducing features that make my own life better. That’s natural. When I do, I want to know if I am accidentally solving someone else’s problem at the same time. If so, I can link the issue in my PR description or reach out to the person directly.

To find these relevant issues, I use this pi command:

---
description: Find any issues relevant to this branch or a given PR number.
argument-hint: "<PR NUMBER>"
---

Please locate all issues that might be relevant to the current branch (unless a PR number is provided below).
Please list:

- If the issue is solved by this PR.
- The link to the issue.
- Who wrote it.

If not the current branch, look at PR #$@.

Again, this can be called like a function:

/fd-issue

90% of the time a GitHub Actions workflow fails, it is not due to a bug. It’s because I forgot to run my formatter or my static analysis tools (think Prettier or tsc).

In this case, it is not a piece of functional code that is broken, but an annotation or missing carriage return. It is an easy one-line fix. Why not make the clanker do it?

When a GitHub Actions run fails, I can use an agent with the following prompt to get it fixed tout suite.

---
description: Diagnose any existing GitHub Actions failures for this branch.
argument-hint: "<BRANCH>"
---

Diagnose any existing GitHub Actions failures for this branch, unless there is a different branch provided below.
Once you have taken a look to identify the possible underlying problem, offer a plan to fix it. Do not implement this plan without express approval.

If not the current branch, look at $@

It can be run as a command inside of pi:

/diagnose-action-failure

I offer these prompts as inspiration. Are there things that you could automate? If so, please let me know!

Published September 11, 2026 at 9:39 PM

Proofread by Harper.

It's not easy, but I think it's one of the best habits I've ever built.

A complete or partial loss of function while reviewing the output of a coding agent.

I have been seeing an increasingly prevalent trend of people showing up in online spaces flaunting that they are writing with the assistance of AI. They seem to be proud of this. They shouldn't be.

── more in #ai-agents 4 stories · sorted by recency
── more on @pi 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/useful-things-agents…] indexed:0 read:4min 2026-09-11 ·