[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HXYQNJKQZXY2Q1FQPN2046":3,"skill-same:01M6HXYQNJKQZXY2Q1FQPN2046":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6HXYQNJKQZXY2Q1FQPN2046","search-fallback-workflow",null,"Graceful degradation workflow for continuing tasks when web search tools fail, using internal knowledge with verification caveats","HKUDS\u002FAgentPilot","HKUDS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F118165258?v=4","01M6HW8VRNZP64G0P4MVJW2KKQ","✨Data Intelligence Lab@HKU✨","01M6HW8VWZVHBRHYH3T330PFWV",8029,"MIT","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Flegacy\u002Fv1\u002Fgdpval_bench\u002Fskills\u002Fsearch-fallback-workflow\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"workflow","search","fallback","search fallback workflow","web","tasks","verification","Tools","knowledge","web search","degradation","with","for","2026-11-10 10:12:30",false,"---\nname: search-fallback-workflow\ndescription: Graceful degradation workflow for continuing tasks when web search tools fail, using internal knowledge with verification caveats\n---\n\n# Search Fallback Workflow\n\n## When to Apply\n\nUse this workflow when:\n- `search_web` tool fails repeatedly (typically 2+ consecutive failures)\n- External information is needed but unavailable due to tool limitations\n- Task completion is still possible with reasonable confidence using internal knowledge\n- The output can include appropriate caveats about verification needs\n\n## Core Pattern\n\n1. **Detect Search Failure**\n   - Monitor `search_web` responses for errors, empty results, or timeouts\n   - After 2 consecutive failures, assess whether the task can proceed without fresh data\n\n2. **Assess Feasibility**\n   - Determine if internal knowledge is sufficient for the task at hand\n   - Identify which sections\u002Fclaims require external verification\n   - Evaluate risk level: Can the task proceed safely with caveats?\n\n3. **Proceed with Internal Knowledge**\n   - Continue the task using well-established facts, regulations, or principles\n   - Prioritize accuracy over completeness when uncertain\n   - Use conservative language for claims that cannot be verified\n\n4. **Flag for Verification**\n   - Clearly mark any claims that should be verified:\n     ```markdown\n     [VERIFICATION NEEDED: Search tool unavailable during generation]\n     ```\n   - Include a verification checklist in the execution summary\n   - Distinguish between high-confidence and low-confidence assertions\n\n5. **Document Limitations**\n   - Include an explicit note in the output about search unavailability\n   - List specific items requiring follow-up verification\n   - Provide recommendations for manual verification steps\n\n## Implementation Template\n\n```markdown\n## Execution Notes\n\n**Search Tool Status**: Unavailable during generation\n\n**Confidence Levels**:\n- ✓ High confidence: Established regulations, well-documented facts\n- ⚠ Medium confidence: Industry standards, commonly accepted practices  \n- ✗ Requires verification: Time-sensitive data, recent changes, specific citations\n\n**Verification Checklist**:\n- [ ] Verify citation: [specific reference]\n- [ ] Confirm current status: [specific item]\n- [ ] Review recent updates: [specific topic]\n```\n\n## Code Pattern for Agents\n\n```python\n# Pseudocode for search fallback detection\nsearch_attempts = 0\nmax_search_attempts = 2\nsearch_failed = False\n\nfor query in required_searches:\n    result = search_web(query)\n    if result.success:\n        process_result(result)\n    else:\n        search_attempts += 1\n        if search_attempts >= max_search_attempts:\n            search_failed = True\n            log_warning(\"Search tool unavailable, proceeding with fallback\")\n            break\n\nif search_failed:\n    # Apply graceful degradation\n    content = generate_with_internal_knowledge()\n    add_verification_flags(content)\n    document_limitations_in_summary()\n```\n\n## Example Output Structure\n\nWhen using this fallback, structure documents with clear sections:\n\n```markdown\n# Document Title\n\n## Disclaimer\nThis document was generated with limited access to external verification tools.\nItems marked with [VERIFICATION NEEDED] should be confirmed before final use.\n\n## Content Sections\n[Standard content with internal knowledge]\n\n## Items Requiring Verification\n- Topic A: Current regulatory status needs confirmation\n- Topic B: Recent policy changes should be checked\n- Topic C: Specific citations require source validation\n\n## Recommendations\n1. Cross-reference with official sources\n2. Verify time-sensitive information\n3. Consult subject matter experts for critical decisions\n```\n\n## Best Practices\n\n1. **Don't fabricate citations** - Better to flag as unverified than invent sources\n2. **Use conservative language** - \"Generally,\" \"Typically,\" \"Commonly\" instead of absolutes\n3. **Prioritize safety** - If misinformation could cause harm, recommend manual verification\n4. **Track what's missing** - Maintain a clear list of items needing follow-up\n5. **Be transparent** - Clearly communicate limitations to end users\n\n## When NOT to Use This Pattern\n\n- Tasks requiring current\u002Freal-time data (stock prices, news, weather)\n- Legal or medical advice requiring authoritative sources\n- Compliance documentation where citations are mandatory\n- Situations where incorrect information could cause significant harm\n\n## Related Patterns\n\n- `citation-management`: Handling references and sources in documents\n- `error-recovery-workflow`: General patterns for tool failure recovery\n- `confidence-annotation`: Marking certainty levels in generated content","# Search Fallback Workflow\n\n## When to Apply\n\nUse this workflow when:\n- `search_web` tool fails repeatedly (typically 2+ consecutive failures)\n- External information is needed but unavailable due to tool limitations\n- Task completion is still possible with reasonable confidence using internal knowledge\n- The output can include appropriate caveats about verification needs\n\n## Core Pattern\n\n1. **Detect Search Failure**\n   - Monitor `search_web` responses for errors, empty results, or timeouts\n   - After 2 consecutive failures, assess whether the task can proceed without fresh data\n\n2. **Assess Feasibility**\n   - Determine if internal knowledge is sufficient for the task at hand\n   - Identify which sections\u002Fclaims require external verification\n   - Evaluate risk level: Can the task proceed safely with caveats?\n\n3. **Proceed with Internal Knowledge**\n   - Continue the task using well-established facts, regulations, or principles\n   - Prioritize accuracy over completeness when uncertain\n   - Use conservative language for claims that cannot be verified\n\n4. **Flag for Verification**\n   - Clearly mark any claims that should be verified:\n     ```markdown\n     [VERIFICATION NEEDED: Search tool unavailable during generation]\n     ```\n   - Include a verification checklist in the execution summary\n   - Distinguish between high-confidence and low-confidence assertions\n\n5. **Document Limitations**\n   - Include an explicit note in the output about search unavailability\n   - List specific items requiring follow-up verification\n   - Provide recommendations for manual verification steps\n\n## Implementation Template\n\n```markdown\n## Execution Notes\n\n**Search Tool Status**: Unavailable during generation\n\n**Confidence Levels**:\n- ✓ High confidence: Established regulations, well-documented facts\n- ⚠ Medium confidence: Industry standards, commonly accepted practices  \n- ✗ Requires verification: Time-sensitive data, recent changes, specific citations\n\n**Verification Checklist**:\n- [ ] Verify citation: [specific reference]\n- [ ] Confirm current status: [specific item]\n- [ ] Review recent updates: [specific topic]\n```\n\n## Code Pattern for Agents\n\n```python\n# Pseudocode for search fallback detection\nsearch_attempts = 0\nmax_search_attempts = 2\nsearch_failed = False\n\nfor query in required_searches:\n    result = search_web(query)\n    if result.success:\n        process_result(result)\n    else:\n        search_attempts += 1\n        if search_attempts >= max_search_attempts:\n            search_failed = True\n            log_warning(\"Search tool unavailable, proceeding with fallback\")\n            break\n\nif search_failed:\n    # Apply graceful degradation\n    content = generate_with_internal_knowledge()\n    add_verification_flags(content)\n    document_limitations_in_summary()\n```\n\n## Example Output Structure\n\nWhen using this fallback, structure documents with clear sections:\n\n```markdown\n# Document Title\n\n## Disclaimer\nThis document was generated with limited access to external verification tools.\nItems marked with [VERIFICATION NEEDED] should be confirmed before final use.\n\n## Content Sections\n[Standard content with internal knowledge]\n\n## Items Requiring Verification\n- Topic A: Current regulatory status needs confirmation\n- Topic B: Recent policy changes should be checked\n- Topic C: Specific citations require source validation\n\n## Recommendations\n1. Cross-reference with official sources\n2. Verify time-sensitive information\n3. Consult subject matter experts for critical decisions\n```\n\n## Best Practices\n\n1. **Don't fabricate citations** - Better to flag as unverified than invent sources\n2. **Use conservative language** - \"Generally,\" \"Typically,\" \"Commonly\" instead of absolutes\n3. **Prioritize safety** - If misinformation could cause harm, recommend manual verification\n4. **Track what's missing** - Maintain a clear list of items needing follow-up\n5. **Be transparent** - Clearly communicate limitations to end users\n\n## When NOT to Use This Pattern\n\n- Tasks requiring current\u002Freal-time data (stock prices, news, weather)\n- Legal or medical advice requiring authoritative sources\n- Compliance documentation where citations are mandatory\n- Situations where incorrect information could cause significant harm\n\n## Related Patterns\n\n- `citation-management`: Handling references and sources in documents\n- `error-recovery-workflow`: General patterns for tool failure recovery\n- `confidence-annotation`: Marking certainty levels in generated content",{"name":5,"description":7},"main","6b84b0689ca0d9e7b1e4061188ff6b60758e0f8a","openspace\u002Flegacy\u002Fv1\u002Fgdpval_bench\u002Fskills\u002Fsearch-fallback-workflow",944,"https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot","https:\u002F\u002Fgithub.com\u002FHKUDS","https:\u002F\u002Fsites.google.com\u002Fview\u002Fchaoh","2026-11-12 22:26:39",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add HKUDS\u002FAgentPilot --skill search-fallback-workflow",{"tool":51,"command":52},"bunx","bunx skills add HKUDS\u002FAgentPilot --skill search-fallback-workflow",{"tool":54,"command":55},"pnpm","pnpm dlx skills add HKUDS\u002FAgentPilot --skill search-fallback-workflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Flegacy\u002Fv1\u002Fgdpval_bench\u002Fskills\u002Fsearch-fallback-workflow\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},".skill_id","OTHER","其他",38,"https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Flegacy\u002Fv1\u002Fgdpval_bench\u002Fskills\u002Fsearch-fallback-workflow\u002F.skill_id",[66,85,104,122,143,166],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":32},"01M6HYB297NDABRERJRVG0K8R0","agentpilot","Set up AgentPilot and use its single entry to prepare missing inputs and run configured RSI experiments. Use when the user requests AgentPilot installation or work with AgentPilot.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fplugins\u002Fagentpilot\u002Fskills\u002Fagentpilot\u002FSKILL.md",[],[68,73,74,30,75,76,77,78,79,80,81,82,83,84],"prepare","requests","missing","installation","rsi","up","use","user","work","SET","run","experiments",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":32},"01M6HYAYWXTTE1J7DJM0MFNQ4H","remember","Review auto-memory entries and propose promotions to OPENSPACE.md, OPENSPACE.local.md, or retained auto-memory topics; detect duplicates, stale facts, conflicts, and ambiguous entries before making changes.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fopenspace\u002Fskills\u002Fremember\u002FSKILL.md",[],[87,92,93,94,95,96,97,98,99,100,101,102,103],"memory","review","auto","openspace","changes","facts","detect","entries","local","conflicts","stale","duplicates",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":32},"01M6HYAVMPM4SBDV60R2B5HPV8","skill-discovery","Search reusable OpenSpace skills locally, and browse cloud packages step by step when a cloud skill may help. Reusing proven skills saves tokens, improves reliability, and extends your capabilities beyond built-in tools.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fopenspace\u002Fhost_skills\u002Fskill-discovery\u002FSKILL.md",[],[111,112,113,95,114,115,116,117,118,119,120,121,20,26],"skill discovery","discovery","reusable","step by step","tokens","packages","help","cloud","reliability","capabilities","browse",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":32},"01M6HYAR811B3RB0M50RBEDGN6","delegate-task","Delegate tasks to OpenSpace — a full-stack autonomous worker for coding, DevOps, web research, and desktop automation, backed by an extensive MCP tool and skill library. Skills auto-improve through use, reducing token consumption over time. A cloud community lets agents share and collectively evolve reusable skills.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Fopenspace\u002Fhost_skills\u002Fdelegate-task\u002FSKILL.md",[],[129,130,131,95,132,133,134,135,136,113,94,79,137,138,139,31,140,24,141,142],"delegate","task","delegate task","time","improve","desktop automation","worker","community","autonomous","tool","stack","share","automation","MCP",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":32},"01M6HYAM9FSGV6E52AYENDQXYH","write-special-chars-ts-check","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, plus a reliable TypeScript type-checking step that filters output to only the newly-written files to avoid being misled by pre-existing errors.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Flegacy\u002Fv1\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[150,151,152,153,154,155,156,157,158,159,160,161,162,163,31,164,165],"write special chars ts check","write","check","type","files","filters","only","template","file","python","typescript","output","Existing","type-checking","errors","script",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":32},"01M6HYAH05HGV7SVWSVR8PJRQD","write-special-chars-readback","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, with mandatory post-write verification via read_file and cleanup of \u002Ftmp helper scripts.","https:\u002F\u002Fgithub.com\u002FHKUDS\u002FAgentPilot\u002Fblob\u002Fmain\u002Fopenspace\u002Flegacy\u002Fv1\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[173,174,151,30,31,165,175,176,177,178,179,157,158,25,180,159],"write special chars readback","readback","helper","post","via","scripts","read","cleanup"]