{
  "schemaVersion": "1.0",
  "item": {
    "slug": "error-driven-evolution",
    "name": "Error-Driven Evolution",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/MarsNavi/error-driven-evolution",
    "canonicalUrl": "https://clawhub.ai/MarsNavi/error-driven-evolution",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/error-driven-evolution",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=error-driven-evolution",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/community-sharing.md",
      "references/quick-ref.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/error-driven-evolution"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/error-driven-evolution",
    "agentPageUrl": "https://openagent3.xyz/skills/error-driven-evolution/agent",
    "manifestUrl": "https://openagent3.xyz/skills/error-driven-evolution/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/error-driven-evolution/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Error-Driven Evolution",
        "body": "Turn mistakes into rules. Not reflections, not apologies — rules."
      },
      {
        "title": "Core Concept",
        "body": "When an agent makes an error or gets corrected, it must:\n\nExtract a rule (not a story)\nWrite it to lessons.md in its workspace\nScan relevant rules before future decisions in that domain\nOptionally share anonymized rules to the community repo"
      },
      {
        "title": "lessons.md Format",
        "body": "File location: {workspace}/lessons.md\n\nEach rule follows this structure:\n\n### [CATEGORY] Short imperative title\n\n- **When**: The specific situation/trigger\n- **Do**: The correct action (imperative, specific)\n- **Don't**: The wrong action that was taken\n- **Why**: One sentence — what went wrong\n- **Added**: YYYY-MM-DD"
      },
      {
        "title": "Categories",
        "body": "TagScopeDATAQuerying, interpreting, presenting dataCOMMSMessaging, tone, audience, channelsSCOPERole boundaries, doing others' workEXECTask execution, tools, file opsJUDGMENTDecisions, priorities, assumptionsCONTEXTMemory, context window, info managementSAFETYSecurity, privacy, destructive opsCOLLABMulti-agent coordination, handoffs"
      },
      {
        "title": "When to Record",
        "body": "Record a rule when:\n\nUser corrects you — explicit feedback\nUser overrides your output — they redo your work\nSame error twice — second occurrence MUST become a rule\nNear miss — you catch yourself about to repeat a mistake\n\nDo NOT record: one-off technical glitches, user preference changes (those go in MEMORY.md)."
      },
      {
        "title": "How to Record",
        "body": "Stop. Don't apologize at length.\nIdentify the category.\nWrite the rule in imperative form.\nAppend to lessons.md (never overwrite).\nConfirm briefly: \"Added to lessons: [title]\""
      },
      {
        "title": "Pre-Decision Scan",
        "body": "Before acting, scan lessons.md for applicable rules:\n\nAbout to...CheckPresent data[DATA]Send message / write report[COMMS] + [SCOPE]Make suggestion[JUDGMENT] + [SCOPE]Execute multi-step task[EXEC] + [CONTEXT]Start new sessionAll (skim titles)\n\nScan = read ### [TAG] headers, check if any When matches your situation."
      },
      {
        "title": "Community Sharing",
        "body": "Share anonymized lessons to help other agents: https://github.com/anthropic-ai/agent-lessons\n\nSee references/community-sharing.md for the anonymization and submission process."
      },
      {
        "title": "Setup",
        "body": "Create lessons.md in your workspace:\n\n# Lessons\nRules extracted from mistakes. Append after failing, scan before deciding.\n\nCopy community/top-100.md to your workspace as top-100.md — this is your pre-installed immune system. Small enough to skim on startup, covers the most common and costly mistakes across all agent deployments.\n\n\nAdd to your startup instructions:\n\n- On startup: skim top-100.md titles (pre-installed community lessons)\n- On correction/failure: append rule to lessons.md\n- Before decisions: scan lessons.md + top-100.md for [CATEGORY] rules"
      },
      {
        "title": "Loading Strategy",
        "body": "Your agent has two rule files:\n\nFileSourceLoad on startupSize targetlessons.mdYour own mistakesYes, fullyGrows organicallytop-100.mdCommunity top picksYes, skim titles~8KB, curated\n\nFor deeper community search (beyond top-100), query community/{category}.md files on-demand when facing an unfamiliar situation."
      },
      {
        "title": "Maintenance",
        "body": "When lessons.md exceeds 50 rules: review for duplicates, retire obsolete rules (mark don't delete), consider splitting by category."
      }
    ],
    "body": "Error-Driven Evolution\n\nTurn mistakes into rules. Not reflections, not apologies — rules.\n\nCore Concept\n\nWhen an agent makes an error or gets corrected, it must:\n\nExtract a rule (not a story)\nWrite it to lessons.md in its workspace\nScan relevant rules before future decisions in that domain\nOptionally share anonymized rules to the community repo\nlessons.md Format\n\nFile location: {workspace}/lessons.md\n\nEach rule follows this structure:\n\n### [CATEGORY] Short imperative title\n\n- **When**: The specific situation/trigger\n- **Do**: The correct action (imperative, specific)\n- **Don't**: The wrong action that was taken\n- **Why**: One sentence — what went wrong\n- **Added**: YYYY-MM-DD\n\nCategories\nTag\tScope\nDATA\tQuerying, interpreting, presenting data\nCOMMS\tMessaging, tone, audience, channels\nSCOPE\tRole boundaries, doing others' work\nEXEC\tTask execution, tools, file ops\nJUDGMENT\tDecisions, priorities, assumptions\nCONTEXT\tMemory, context window, info management\nSAFETY\tSecurity, privacy, destructive ops\nCOLLAB\tMulti-agent coordination, handoffs\nWhen to Record\n\nRecord a rule when:\n\nUser corrects you — explicit feedback\nUser overrides your output — they redo your work\nSame error twice — second occurrence MUST become a rule\nNear miss — you catch yourself about to repeat a mistake\n\nDo NOT record: one-off technical glitches, user preference changes (those go in MEMORY.md).\n\nHow to Record\nStop. Don't apologize at length.\nIdentify the category.\nWrite the rule in imperative form.\nAppend to lessons.md (never overwrite).\nConfirm briefly: \"Added to lessons: [title]\"\nPre-Decision Scan\n\nBefore acting, scan lessons.md for applicable rules:\n\nAbout to...\tCheck\nPresent data\t[DATA]\nSend message / write report\t[COMMS] + [SCOPE]\nMake suggestion\t[JUDGMENT] + [SCOPE]\nExecute multi-step task\t[EXEC] + [CONTEXT]\nStart new session\tAll (skim titles)\n\nScan = read ### [TAG] headers, check if any When matches your situation.\n\nCommunity Sharing\n\nShare anonymized lessons to help other agents: https://github.com/anthropic-ai/agent-lessons\n\nSee references/community-sharing.md for the anonymization and submission process.\n\nSetup\nCreate lessons.md in your workspace:\n# Lessons\nRules extracted from mistakes. Append after failing, scan before deciding.\n\n\nCopy community/top-100.md to your workspace as top-100.md — this is your pre-installed immune system. Small enough to skim on startup, covers the most common and costly mistakes across all agent deployments.\n\nAdd to your startup instructions:\n\n- On startup: skim top-100.md titles (pre-installed community lessons)\n- On correction/failure: append rule to lessons.md\n- Before decisions: scan lessons.md + top-100.md for [CATEGORY] rules\n\nLoading Strategy\n\nYour agent has two rule files:\n\nFile\tSource\tLoad on startup\tSize target\nlessons.md\tYour own mistakes\tYes, fully\tGrows organically\ntop-100.md\tCommunity top picks\tYes, skim titles\t~8KB, curated\n\nFor deeper community search (beyond top-100), query community/{category}.md files on-demand when facing an unfamiliar situation.\n\nMaintenance\n\nWhen lessons.md exceeds 50 rules: review for duplicates, retire obsolete rules (mark don't delete), consider splitting by category."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/MarsNavi/error-driven-evolution",
    "publisherUrl": "https://clawhub.ai/MarsNavi/error-driven-evolution",
    "owner": "MarsNavi",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/error-driven-evolution",
    "downloadUrl": "https://openagent3.xyz/downloads/error-driven-evolution",
    "agentUrl": "https://openagent3.xyz/skills/error-driven-evolution/agent",
    "manifestUrl": "https://openagent3.xyz/skills/error-driven-evolution/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/error-driven-evolution/agent.md"
  }
}