Warp builds self-improving agents on Claude
TL;DR Highlight
Splitting a base skill and an improver skill let Warp's agents improve from accumulated feedback
Who Should Read
A backend developer whose code review or issue triage agent leaves noisy comments and who needs a way to feed back human corrections
Core Mechanics
- Feedback vanishes when the session ends
- Warp's internal code review agent left unhelpful comments and engineers complained.
- Manually rewriting the prompt and improving AGENTS.md helped but did not fully fix it.
- The root cause was that feedback given to an agent disappears when the session ends.
- Two skills form the loop
- The base (inner) skill holds domain knowledge and instructions.
- The improver (outer) skill runs on a schedule, gathers human feedback, and proposes a small edit to the base skill.
- Skills are file-based knowledge kept out of the raw prompt.
- Improvements ship through PRs
- Skills are plain files, so agents are good at editing them.
- Edits go through normal PR review, approval, and merge, and the next run inherits them.
- The final human approval closes the loop and keeps a person in control.
- Issue triage agent example
- A GitHub Action fires an agent on each new issue to assess complexity and feasibility, assign labels, and suggest a fix direction.
- The agent missed the ready to spec label, and a maintainer left feedback on the issue explaining what and why.
- The improver running in Oz pulled feedback from GitHub into a JSON file and opened a PR editing the inner skill.
- Five tips for writing skills
- Write principles rather than rules, and explain why.
- Capture feedback where people already work, like PR comments, with no extra step.
- Keep skills small and reference resource files and scripts (progressive disclosure).
- Detailed senior feedback can be worth more than binary thumbs up/down.
- Skills are not memory
- Skills are procedural, stable, and changed deliberately.
- Memory is written automatically by the agent at inference time and keeps changing.
- Assume feedback can be wrong, so add sanity-check context, input filtering, and human review.
Community Reactions
- Opinion that self-modifying loops need more risk controls
- One commenter said letting an agent edit its own instructions crosses a risk threshold the article underplays.
- They noted PR approval is framed as checking if the idea is good, not as defense against prompt injection.
- Pushback that it offers no determinism
- One view held that human-in-the-loop plus principles-not-rules gives no guarantees for deterministic workflows.
- Another quipped that skills are just markdown files the agent can ignore at any time.
- Experience building similar loops locally
- One commenter updates a review skill when human reviewers make valid criticisms the agent missed.
- Another uses CLAUDE.md to log every decision and has the agent challenge them with it.
- Slowdown with more rules and model-upgrade concerns
- One commenter said the agent seemed slower after adding principles and wondered about a performance and cost tradeoff.
- Another noted that upgrading models can make some rules redundant and force rework.
How to Apply
- Run an improver prompt on your review agent
- Today, paste last week's PR review comments and human reactions into the prompt below.
- Include the current review skill or AGENTS.md and ask for one smallest edit.
- Make PR comments the feedback channel
- Tell the team to leave feedback with reasons in PR or issue comments, not a separate form.
- Put a script in the skill folder that collects only feedback that includes reasons.
- Schedule the improver and ship only via PR
- Run it periodically with something like GitHub Actions to open PRs editing skill files.
- Disable auto-merge and require human approval.
- Rewrite skills around principles and reasons
- Replace long naming-rule lists with principles like look for repeated code.
- Add a one-line reason next to each principle.
Try It
# Paste into Claude or ChatGPT as-is (simplified version of Warp's improver skill pattern)
You are the improver for a code review agent. Look at the current skill and recent review feedback below and propose one smallest edit to the skill.
[Current skill]
{{current review skill or AGENTS.md content}}
[Recent agent comments and human reactions]
{{comments, human reactions, reasons}}
Rules:
1. Write principles, not lists of rules, and add a one-line reason.
2. If the feedback appears only once or is weakly justified, do not edit and explain why.
3. Output in this order: (a) feedback signals used (b) the edit as a diff (c) a draft PR description.
Next step: apply the edit to the real skill file, rerun the review on the same PR, and compare comment quality.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques