{
 "schema": "aiblocks-page/1",
 "id": "expert-agent-improvement-loop",
 "type": "skill",
 "name": "Expert agent improvement loop",
 "summary": "Bring a week of your agent's mistakes. You get two tested fixes, a new version and a log of ideas you dropped.",
 "headline": "Expert agent improvement loop",
 "subhead": "Bring your agent's mistakes from a week of real work, and your AI groups them, suggests ten specific fixes and lets you keep the best two. Each fix is tested blind against the previous version before it stays, and you get a new version, a changelog line and a record of the ideas you dropped.",
 "job": {
  "id": "set-up-ai",
  "name": "Set up AI to work for you"
 },
 "level": "intermediate",
 "thinking": "high",
 "tested": false,
 "updated": "2026-11-09",
 "first_published": "2026-11-09",
 "inputs": [
  {
   "type": "feedback_notes",
   "required": true,
   "label": "Feedback notes",
   "what": "a person's notes on an output: what to keep, change or drop"
  },
  {
   "type": "document",
   "required": true,
   "label": "Document",
   "what": "a finished document, such as a Word file, a PDF or a page of notes"
  },
  {
   "type": "test_report",
   "required": false,
   "label": "Test report",
   "what": "what was tested, what passed, what failed and why"
  }
 ],
 "outputs": [
  {
   "type": "lessons_register",
   "required": true,
   "label": "Lessons register",
   "what": "what past creative taught: what worked, what failed and why, with dates"
  },
  {
   "type": "test_report",
   "required": false,
   "label": "Test report",
   "what": "what was tested, what passed, what failed and why"
  }
 ],
 "you_give": [
  "This week's mistakes, such as your edits with reasons, client complaints and failed test cases, with private details taken out",
  "Your agent's files, including its rules and version",
  "Your test cases and judge, and the last blind-test report (optional)"
 ],
 "you_get": [
  "Your mistakes grouped by cause, split into general and client-only",
  "Ten scored fix ideas, with the two you kept and why the others were dropped",
  "A blind regression result for each kept fix, a new version and a changelog line"
 ],
 "use_when": [
  "Your agent does real work each week and you correct it often.",
  "You want it to get better without slowly turning generic.",
  "You keep giving the same feedback and want it to stick."
 ],
 "skip_when": [
  "Building the test cases. Use the Expert agent eval builder first.",
  "A one-off review of a single draft.",
  "Training a model's weights. This changes the agent's files only."
 ],
 "output_shape": "WEEK OF <date>: <agent> v<old> to v<new>\nCLUSTERS\n<cluster>: <n> mistakes, <file at fault>, general or client-only\nCANDIDATES\n| # | Fix | Cluster | File | Scores | Kept? |\nKEPT\n<fix>: regression <passed or failed>, <before and after>\nDROPPED\n<idea>: <reason>\nCLIENT-ONLY LESSONS\n<lesson, sent to that client's project>\nCHANGELOG LINE\n<problem, change, before and after>\nCHECKS MISSED\n<one line each, or none>",
 "how_to_use": [
  "Start a chat with the skill. Open it if you added it to your AI, or copy it and paste it in.",
  "Paste or share the week's mistakes and your agent's files.",
  "Score the ten ideas on how often, how bad, how easy, how well they fit and how risky, then keep two.",
  "Let it run the blind regression on your test cases, and keep only the fixes that pass.",
  "Save the new version, and once a month run the refresh and the ten-things prompt."
 ],
 "checks": [
  "Every fix idea points to a real mistake from the week.",
  "No lesson about one client reached the agent's general rules.",
  "Each kept fix passed a blind test against the old version.",
  "The dropped ideas have a reason each.",
  "The version and changelog were updated together."
 ],
 "next": [
  {
   "name": "Personal agent builder",
   "url": "https://useaiblocks.com/skills/personal-agent-builder",
   "why": "Set up AI to work for you"
  },
  {
   "name": "Decision checklist builder",
   "url": "https://useaiblocks.com/skills/decision-checklist-builder",
   "why": "Decide what to do"
  },
  {
   "name": "Prompt fixer",
   "url": "https://useaiblocks.com/skills/prompt-fixer",
   "why": "Set up AI to work for you"
  },
  {
   "name": "Persistent bug debugger",
   "url": "https://useaiblocks.com/skills/fix-loop-breaker",
   "why": "Persistent bug debugger"
  },
  {
   "name": "Hiring mistake checklist builder",
   "url": "https://useaiblocks.com/prompts/hire-mistake-checklist-builder",
   "why": "Hiring mistake checklist builder"
  }
 ],
 "source": null,
 "credits": [],
 "files": [],
 "links": {
  "page": "https://useaiblocks.com/skills/expert-agent-improvement-loop",
  "markdown": "https://useaiblocks.com/skills/expert-agent-improvement-loop.md",
  "json": "https://useaiblocks.com/skills/expert-agent-improvement-loop.json",
  "instructions": "https://useaiblocks.com/skills/expert-agent-improvement-loop/SKILL.md",
  "api_item": "https://useaiblocks.com/api/v1/items/expert-agent-improvement-loop",
  "api_document": "https://useaiblocks.com/api/v1/documents/skill/expert-agent-improvement-loop",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
