Close Menu
    Facebook LinkedIn YouTube WhatsApp X (Twitter) Pinterest
    Trending
    • Rehumanizing global health care with agentic AI
    • Robots-Blog | Praxisprojekt mit fischertechnik an der Hochschule Hof in Bayern
    • Ancient giant octopuses were apex predators, study finds
    • Barcelona’s Zazume raises €2.5 million to scale its AI-powered rental management platform
    • How to Shop Like a Pro During Amazon Prime Day (2026)
    • CFTC seeks injunction in Kalshi Rhode Island dispute
    • As AI Expands, Erin Brockovich Taps Communities to Map Data Center Concerns
    • Direct-to-Cell Technology: Enabling Satellite Connectivity for Legacy Devices
    Facebook LinkedIn WhatsApp
    Times FeaturedTimes Featured
    Tuesday, June 2
    • Home
    • Founders
    • Startups
    • Technology
    • Profiles
    • Entrepreneurs
    • Leaders
    • Students
    • VC Funds
    • More
      • AI
      • Robotics
      • Industries
      • Global
    Times FeaturedTimes Featured
    Home»Artificial Intelligence»How to Make Claude Code Improve from its Own Mistakes
    Artificial Intelligence

    How to Make Claude Code Improve from its Own Mistakes

    Editor Times FeaturedBy Editor Times FeaturedMarch 24, 2026No Comments8 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr WhatsApp Email
    Share
    Facebook Twitter LinkedIn Pinterest Telegram Email WhatsApp Copy Link


    is an extremely efficient coding agent, which you should utilize to carry out most cognitive duties in your laptop. Nonetheless, continuous studying continues to be a job we’re struggling to show brokers. Moreover, continuous studying is a job people are extremely good at.

    You possibly can merely mirror on any job you’ve been doing for a very long time. In nearly all circumstances, you’ll develop into higher at that job over time, studying out of your errors and bettering on them. This isn’t solely a matter of remembering what works and what doesn’t. It’s additionally about constructing an instinct for duties, which you merely acquire by doing them over time.

    This infographic highlights the primary contents of this text. I’ll cowl continuous studying for coding brokers, why you want it, and learn how to obtain it. Picture by Gemini.

    On this article, I’ll talk about how one can obtain related continuous studying along with your coding brokers. Continuous studying for brokers continues to be an unsolved problem, however I’ll undergo how I make my coding brokers study from their errors and enhance over time. Moreover, the contents I’ll cowl on this article will make your brokers much better on the duties you particularly need them to be good at, whether or not or not it’s making shareholder displays, resolving bugs in your particular codebase, or one thing utterly completely different.

    Why do we’d like continuous studying

    We’d like continuous studying as a result of we all the time need to develop into higher on the duties we do. Think about if you happen to’ve been a programmer for a few years, and also you’re nonetheless making fundamental errors, comparable to forgetting colons after an if assertion in Python.

    Clearly, making such errors constantly could be very ineffective, which is why we need to keep away from it. We need to develop into higher at duties, to develop into simpler at them, and thus be capable to clear up more durable issues.

    Engaged on a job for an extended time period will allow you to construct up an instinct for the duty, and allow you to clear up extra superior issues in that space

    You possibly can think about a recent coding agent as a brand new worker. Clearly, they’ll make some errors at first, since they don’t perceive your preferences or codebase. Nonetheless, while you inform the brand new worker learn how to do one thing, you anticipate them to study that over time.

    For those who don’t take particular measures to make your coding brokers keep in mind such issues, they’ll possible overlook them, which is why you should take energetic measures to realize continuous studying in your coding brokers.

    The right way to Obtain Continuous Studying

    On this part, I’ll cowl some particular methods I take advantage of each day to realize continuous studying. These methods come from speaking to others working in the identical area, inspiration from the OpenClaw repository, and my very own experimentation.

    The generalize information command

    The only and best method to make Claude Code study from its errors is a common information command. This can be a easy command (also called a talent, merely a markdown file containing a immediate) to study from a given thread.

    I sometimes run this command at any time when I end a dialog from Claude Code, performing a single job. For instance, if I’ve:

    • Accomplished a function implementation
    • Resolved a bug
    • Made a presentation
    • Completed checking manufacturing logs

    I merely run my command with:

    /generalize-knowledge

    This works as a result of I’ve saved a generalized information command, which is a immediate just like the one under:

    Generalize all of the information from this thread into claude.md and brokers.md. 
    Write down any info that might be helpful for a future agent working
    on this repository. Additionally word down any points you encountered, and the way you 
    resolved them.
    
    Write the duties you carried out to the done-tasks.md file with time and date, 
    and a abstract of the duties.

    In essence, I inform the mannequin to study from its errors and word down something that might be helpful for future interactions.

    I additionally make the agent write down the duty it carried out, so I’ve a single file containing the whole lot I’ve accomplished. This isn’t strictly crucial, however I discover it good to have this kind of abstract accessible.


    Additionally word that this assumes you all the time carry out a single job in a given Claude Code thread, which you undoubtedly ought to do to get the very best outcomes. This additionally applies to each different coding agent accessible, just because a single job for a single thread helps the brokers keep targeted and keep away from noise filling up their context.

    Day by day reflections

    To construct on the final part, you may as well have day by day reflection settings. For those who for instance have a number of brokers working all through the day, you’ll be able to have a cron job (a command which is timed to run at a selected interval), to undergo all logs in your coding agent within the final 24 hours, and word down any helpful info. This builds on the final information command, however works on the next degree, because the agent going via your logs is not going to solely have entry to a single thread, however the whole lot you’re engaged on.

    This could possibly be helpful, because the completely different perspective can result in completely different notes being written down, which is able to allow you to and your coding brokers develop into extra environment friendly.

    Expertise

    Expertise is one other idea I’d prefer to cowl, which actually helps contribute to continuous studying and helps Claude Code study from its errors. The earlier sections I’ve lined, largely writes to generic CLAUDE.MD, AGENTS.MD, WARP.MD information. Expertise, nevertheless, are extra particular information telling the agent learn how to carry out particular duties.

    That is considerably just like the generalize information command, however a bit completely different since generic information word that generic errors and options, whereas expertise cowl far more particular subjects. Some examples of expertise are:

    • How the agent ought to act when sorting your e mail
    • How the agent ought to act when sorting your calendar
    • The right way to use a selected API or bundle. That is notably vital for smaller and unknown API’s and packages that aren’t lined properly within the pre-training of the LLMs
    • The right way to method fixing bugs in a selected repository

    As you’ll be able to inform, expertise are extra particular. Thus, everytime you begin working with a brand new bundle, API, or a brand new job usually, I urge you to create a talent for that. The talent ought to cowl the whole lot that’s helpful to know when working with the API or on the duty. Together with:

    • The right way to interpret the supplied duties inside the given matter
    • The right way to method fixing the duties
    • Earlier errors made, and the way they have been solved

    The extra info you retailer, the higher. Your coding agent will then often load this talent dynamically if you happen to begin engaged on a associated job.

    For instance, if you happen to ask your agent to type your e mail, it is going to dynamically load the e-mail sorting talent, so it is aware of learn how to act. This helps your coding agent keep away from the earlier errors it’s made when sorting via your e mail.

    Conclusion

    On this article, I’ve lined learn how to make Claude Code and different coding brokers study from their errors. I’ve mentioned three important methods to make use of, together with making a generalize information command, doing a day by day readthrough of agent logs, and actively utilizing expertise when engaged on duties. I imagine studying out of your errors is extremely vital, each for people and machines. For those who can successfully make your coding brokers study from their errors, you’ll develop into much more environment friendly at making use of them, and thus get a significant benefit in comparison with different brokers that don’t study from their errors.

    👉 My free eBook and Webinar:

    🚀 10x Your Engineering with LLMs (Free 3-Day Email Course)

    📚 Get my free Vision Language Models ebook

    💻 My webinar on Vision Language Models

    👉 Discover me on socials:

    💌 Substack

    🔗 LinkedIn

    🐦 X / Twitter



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Editor Times Featured
    • Website

    Related Posts

    Escaping the Valley of Choice in BI

    June 2, 2026

    Ensuring Data Integrity with Cryptographic Hashing and the Ethereum Blockchain

    June 1, 2026

    RAG Is Not Machine Learning, and the ML Toolkit Solves the Wrong Problem

    June 1, 2026

    How to Combine Claude Code and Codex for Maximum Coding Power

    June 1, 2026

    It’s the Lessons We Learned Along the Way. Or, Is It?

    June 1, 2026

    Proxy-Pointer RAG: Eliminating Wasteful Entity & Relations Extraction in Knowledge Graphs

    May 31, 2026

    Comments are closed.

    Editors Picks

    Rehumanizing global health care with agentic AI

    June 2, 2026

    Robots-Blog | Praxisprojekt mit fischertechnik an der Hochschule Hof in Bayern

    June 2, 2026

    Ancient giant octopuses were apex predators, study finds

    June 2, 2026

    Barcelona’s Zazume raises €2.5 million to scale its AI-powered rental management platform

    June 2, 2026
    Categories
    • Founders
    • Startups
    • Technology
    • Profiles
    • Entrepreneurs
    • Leaders
    • Students
    • VC Funds
    About Us
    About Us

    Welcome to Times Featured, an AI-driven entrepreneurship growth engine that is transforming the future of work, bridging the digital divide and encouraging younger community inclusion in the 4th Industrial Revolution, and nurturing new market leaders.

    Empowering the growth of profiles, leaders, entrepreneurs businesses, and startups on international landscape.

    Asia-Middle East-Europe-North America-Australia-Africa

    Facebook LinkedIn WhatsApp
    Featured Picks

    Quaise Energy’s deep drilling for unlimited geothermal power

    May 10, 2026

    Today’s NYT Strands Hints, Answer and Help for Feb. 1 #700

    January 31, 2026

    Estonia’s Handhold raises €3 million to give every software buyer an AI account manager

    April 8, 2026
    Categories
    • Founders
    • Startups
    • Technology
    • Profiles
    • Entrepreneurs
    • Leaders
    • Students
    • VC Funds
    Copyright © 2024 Timesfeatured.com IP Limited. All Rights.
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us

    Type above and press Enter to search. Press Esc to cancel.