{
  "schemaVersion": "1.0",
  "item": {
    "slug": "phoenix-loop",
    "name": "Phoenix Loop",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Dalomeve/phoenix-loop",
    "canonicalUrl": "https://clawhub.ai/Dalomeve/phoenix-loop",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/phoenix-loop",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=phoenix-loop",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "references/privacy-checklist.md",
      "SKILL.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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/phoenix-loop"
    },
    "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/phoenix-loop",
    "agentPageUrl": "https://openagent3.xyz/skills/phoenix-loop/agent",
    "manifestUrl": "https://openagent3.xyz/skills/phoenix-loop/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/phoenix-loop/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": "Phoenix Loop",
        "body": "Rise from failures. Complete tasks persistently.\n\nWhen the agent encounters blockers, failures, or repeated friction, this skill starts a self-healing loop: Diagnose -> Extract -> Crystallize -> Verify."
      },
      {
        "title": "1. Diagnose",
        "body": "# Read recent blocked items\nGet-Content memory/blocked-items.md | Select-String \"Blocker\" -Context 3\n\n# Extract failure patterns\nGet-Content memory/tasks.md | Select-String \"Status: failed\" -Context 5\n\nDiagnosis Checklist:\n\nIs the failure cause clearly stated?\n Were at least 2 solution paths attempted?\n Is minimum unblock input defined?"
      },
      {
        "title": "2. Extract",
        "body": "Extract reusable patterns from failures:\n\n## Failure Pattern: {pattern_name}\n- Trigger: {when_this_happens}\n- Root Cause: {root_cause}\n- Solution: {fix_steps}\n- Verification: {verification_criteria}"
      },
      {
        "title": "3. Crystallize",
        "body": "Write the lesson to a local skill:\n\nskills/local/{pattern_name}-recovery.md\n\nSkill Template:\n\n# {Pattern Name} Recovery\n\n## Trigger\nWhen {condition} happens\n\n## Steps\n1. {step_1}\n2. {step_2}\n3. {step_3}\n\n## Verification\n- [ ] {check_1}\n- [ ] {check_2}\n\n## Fallback\nIf failed, execute {fallback_action}"
      },
      {
        "title": "4. Verify",
        "body": "Next time a similar issue occurs:\n\nSearch skills/local/ for matching skills\nExecute recovery steps\nLog result to memory/{date}.md\nUpdate skill if needed"
      },
      {
        "title": "Privacy Security",
        "body": "All data stored locally:\n\nNO external logging of failure data\nNO API keys or tokens in skill files\nNO upload of user task content\nOnly pattern names and solution steps recorded\nSkills stored in skills/local/ local directory\n\nSensitive Data Filter:\nBefore writing to any memory or skill, check and remove:\n\napiKey, token, secret, password\nBearer , sk-, OPENCLAW_\nPersonal emails, phones, addresses"
      },
      {
        "title": "Executable Completion Criteria",
        "body": "A phoenix-loop task is complete if and only if:\n\nCriteriaVerification CommandFailure pattern namedSelect-String \"Failure Pattern\" memory/blocked-items.mdLocal skill createdTest-Path skills/local/{name}-recovery.mdSkill has trigger sectionSelect-String \"## Trigger\" skills/local/{name}.mdSkill has verification stepsSelect-String \"## Verification\" skills/local/{name}.mdMemory updatedSelect-String \"phoenix-loop\" memory/{today}.mdPrivacy check passedSkill file contains no `apiKey"
      },
      {
        "title": "Scenario: Missing API Key Blocks Task",
        "body": "1. Diagnose:\n\nBlocker: Missing Brave API key\nAttempted: web_search (failed)\nUnblock Input: User runs `openclaw configure --section web`\n\n2. Extract Pattern:\n\nFailure Pattern: missing-api-key\nTrigger: Tool requires unconfigured API key\nSolution: 1. Detect missing key 2. Return config command 3. Provide fallback\n\n3. Crystallize Skill:\n\n# Missing API Key Recovery\n\n## Trigger\nWhen tool returns \"missing_*_api_key\" error\n\n## Steps\n1. Extract required key name\n2. Return config command: openclaw configure --section {section}\n3. Provide manual fallback option\n\n## Verification\n- [ ] User receives clear config instructions\n- [ ] At least 1 alternative provided\n\n4. Verify:\nNext time an API key issue occurs, auto-apply this skill."
      },
      {
        "title": "Heartbeat Integration",
        "body": "Add to HEARTBEAT.md:\n\n## Self-Check (Every 24 Hours)\n1. Check `memory/blocked-items.md` for blockers older than 24h\n2. Run phoenix-loop diagnosis on each long-term blocker\n3. If reusable pattern found, create or update skill"
      },
      {
        "title": "Rollback",
        "body": "If the skill causes issues:\n\n# Disable skill (rename)\nRename-Item skills/local/{name}-recovery.md skills/local/{name}-recovery.md.disabled\n\n# Delete skill\nRemove-Item skills/local/{name}-recovery.md"
      },
      {
        "title": "References",
        "body": "memory/blocked-items.md - Blocker records\nmemory/tasks.md - Task history\nskills/local/ - Local skill library\n\nRise stronger from every failure."
      }
    ],
    "body": "Phoenix Loop\n\nRise from failures. Complete tasks persistently.\n\nWhen the agent encounters blockers, failures, or repeated friction, this skill starts a self-healing loop: Diagnose -> Extract -> Crystallize -> Verify.\n\nCore Mechanism\n1. Diagnose\n# Read recent blocked items\nGet-Content memory/blocked-items.md | Select-String \"Blocker\" -Context 3\n\n# Extract failure patterns\nGet-Content memory/tasks.md | Select-String \"Status: failed\" -Context 5\n\n\nDiagnosis Checklist:\n\n Is the failure cause clearly stated?\n Were at least 2 solution paths attempted?\n Is minimum unblock input defined?\n2. Extract\n\nExtract reusable patterns from failures:\n\n## Failure Pattern: {pattern_name}\n- Trigger: {when_this_happens}\n- Root Cause: {root_cause}\n- Solution: {fix_steps}\n- Verification: {verification_criteria}\n\n3. Crystallize\n\nWrite the lesson to a local skill:\n\nskills/local/{pattern_name}-recovery.md\n\n\nSkill Template:\n\n# {Pattern Name} Recovery\n\n## Trigger\nWhen {condition} happens\n\n## Steps\n1. {step_1}\n2. {step_2}\n3. {step_3}\n\n## Verification\n- [ ] {check_1}\n- [ ] {check_2}\n\n## Fallback\nIf failed, execute {fallback_action}\n\n4. Verify\n\nNext time a similar issue occurs:\n\nSearch skills/local/ for matching skills\nExecute recovery steps\nLog result to memory/{date}.md\nUpdate skill if needed\nPrivacy Security\n\nAll data stored locally:\n\nNO external logging of failure data\nNO API keys or tokens in skill files\nNO upload of user task content\nOnly pattern names and solution steps recorded\nSkills stored in skills/local/ local directory\n\nSensitive Data Filter: Before writing to any memory or skill, check and remove:\n\napiKey, token, secret, password\nBearer , sk-, OPENCLAW_\nPersonal emails, phones, addresses\nExecutable Completion Criteria\n\nA phoenix-loop task is complete if and only if:\n\nCriteria\tVerification Command\nFailure pattern named\tSelect-String \"Failure Pattern\" memory/blocked-items.md\nLocal skill created\tTest-Path skills/local/{name}-recovery.md\nSkill has trigger section\tSelect-String \"## Trigger\" skills/local/{name}.md\nSkill has verification steps\tSelect-String \"## Verification\" skills/local/{name}.md\nMemory updated\tSelect-String \"phoenix-loop\" memory/{today}.md\nPrivacy check passed\tSkill file contains no `apiKey\nUsage Example\nScenario: Missing API Key Blocks Task\n\n1. Diagnose:\n\nBlocker: Missing Brave API key\nAttempted: web_search (failed)\nUnblock Input: User runs `openclaw configure --section web`\n\n\n2. Extract Pattern:\n\nFailure Pattern: missing-api-key\nTrigger: Tool requires unconfigured API key\nSolution: 1. Detect missing key 2. Return config command 3. Provide fallback\n\n\n3. Crystallize Skill:\n\n# Missing API Key Recovery\n\n## Trigger\nWhen tool returns \"missing_*_api_key\" error\n\n## Steps\n1. Extract required key name\n2. Return config command: openclaw configure --section {section}\n3. Provide manual fallback option\n\n## Verification\n- [ ] User receives clear config instructions\n- [ ] At least 1 alternative provided\n\n\n4. Verify: Next time an API key issue occurs, auto-apply this skill.\n\nHeartbeat Integration\n\nAdd to HEARTBEAT.md:\n\n## Self-Check (Every 24 Hours)\n1. Check `memory/blocked-items.md` for blockers older than 24h\n2. Run phoenix-loop diagnosis on each long-term blocker\n3. If reusable pattern found, create or update skill\n\nRollback\n\nIf the skill causes issues:\n\n# Disable skill (rename)\nRename-Item skills/local/{name}-recovery.md skills/local/{name}-recovery.md.disabled\n\n# Delete skill\nRemove-Item skills/local/{name}-recovery.md\n\nReferences\nmemory/blocked-items.md - Blocker records\nmemory/tasks.md - Task history\nskills/local/ - Local skill library\n\nRise stronger from every failure."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Dalomeve/phoenix-loop",
    "publisherUrl": "https://clawhub.ai/Dalomeve/phoenix-loop",
    "owner": "Dalomeve",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/phoenix-loop",
    "downloadUrl": "https://openagent3.xyz/downloads/phoenix-loop",
    "agentUrl": "https://openagent3.xyz/skills/phoenix-loop/agent",
    "manifestUrl": "https://openagent3.xyz/skills/phoenix-loop/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/phoenix-loop/agent.md"
  }
}