Aller au contenu
Skillpedia
Agents7.8k · #12995

search-fallback-workflow

Ce qu’il fait

Ce flux de travail aide l'agent IA à poursuivre lorsque la recherche web échoue, tout en précisant ce qui n'a pas été vérifié. Il s'adresse aux personnes qui ont encore besoin d'un brouillon ou d'une réponse exploitable quand la recherche est en panne.

Quand l’utiliser

  • ✓Quand l'outil de recherche échoue deux fois ou plus de suite.
  • ✓Quand une tâche peut être réalisée avec des faits et des principes bien établis, même sans données récentes.
  • ✓Quand le résultat devra faire l'objet d'une vérification avant d'être utilisé.

Lien du skill

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/search-fallback-workflow/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/search-fallback-workflow/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Rédige un aperçu des principaux droits des locataires dans mon État. La recherche échoue, alors utilise ce que tu sais et signale ce que je dois revérifier.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Après des échecs répétés, l'agent décide si ses connaissances suffisent, signale les affirmations qui doivent être vérifiées et rédige le résultat avec des formulations prudentes. Il ajoute aussi une liste de vérification dans le résumé.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Search Fallback Workflow

When to Apply

Use this workflow when:

  • search_web tool fails repeatedly (typically 2+ consecutive failures)
  • External information is needed but unavailable due to tool limitations
  • Task completion is still possible with reasonable confidence using internal knowledge
  • The output can include appropriate caveats about verification needs

Core Pattern

  1. Detect Search Failure

    • Monitor search_web responses for errors, empty results, or timeouts
    • After 2 consecutive failures, assess whether the task can proceed without fresh data
  2. Assess Feasibility

    • Determine if internal knowledge is sufficient for the task at hand
    • Identify which sections/claims require external verification
    • Evaluate risk level: Can the task proceed safely with caveats?
  3. Proceed with Internal Knowledge

    • Continue the task using well-established facts, regulations, or principles
    • Prioritize accuracy over completeness when uncertain
    • Use conservative language for claims that cannot be verified
  4. Flag for Verification

    • Clearly mark any claims that should be verified:
      [VERIFICATION NEEDED: Search tool unavailable during generation]
      
    • Include a verification checklist in the execution summary
    • Distinguish between high-confidence and low-confidence assertions
  5. Document Limitations

    • Include an explicit note in the output about search unavailability
    • List specific items requiring follow-up verification
    • Provide recommendations for manual verification steps

Implementation Template

## Execution Notes

**Search Tool Status**: Unavailable during generation

**Confidence Levels**:
- ✓ High confidence: Established regulations, well-documented facts
- ⚠ Medium confidence: Industry standards, commonly accepted practices  
- ✗ Requires verification: Time-sensitive data, recent changes, specific citations

**Verification Checklist**:
- [ ] Verify citation: [specific reference]
- [ ] Confirm current status: [specific item]
- [ ] Review recent updates: [specific topic]

Code Pattern for Agents

# Pseudocode for search fallback detection
search_attempts = 0
max_search_attempts = 2
search_failed = False

for query in required_searches:
    result = search_web(query)
    if result.success:
        process_result(result)
    else:
        search_attempts += 1
        if search_attempts >= max_search_attempts:
            search_failed = True
            log_warning("Search tool unavailable, proceeding with fallback")
            break

if search_failed:
    # Apply graceful degradation
    content = generate_with_internal_knowledge()
    add_verification_flags(content)
    document_limitations_in_summary()

Example Output Structure

When using this fallback, structure documents with clear sections:

# Document Title

## Disclaimer
This document was generated with limited access to external verification tools.
Items marked with [VERIFICATION NEEDED] should be confirmed before final use.

## Content Sections
[Standard content with internal knowledge]

## Items Requiring Verification
- Topic A: Current regulatory status needs confirmation
- Topic B: Recent policy changes should be checked
- Topic C: Specific citations require source validation

## Recommendations
1. Cross-reference with official sources
2. Verify time-sensitive information
3. Consult subject matter experts for critical decisions

Best Practices

  1. Don't fabricate citations - Better to flag as unverified than invent sources
  2. Use conservative language - "Generally," "Typically," "Commonly" instead of absolutes
  3. Prioritize safety - If misinformation could cause harm, recommend manual verification
  4. Track what's missing - Maintain a clear list of items needing follow-up
  5. Be transparent - Clearly communicate limitations to end users

When NOT to Use This Pattern

  • Tasks requiring current/real-time data (stock prices, news, weather)
  • Legal or medical advice requiring authoritative sources
  • Compliance documentation where citations are mandatory
  • Situations where incorrect information could cause significant harm

Related Patterns

  • citation-management: Handling references and sources in documents
  • error-recovery-workflow: General patterns for tool failure recovery
  • confidence-annotation: Marking certainty levels in generated content
Questions fréquentes

Comment l'agent signale-t-il les affirmations à vérifier ?

Le skill suggère une mention visible, comme une note « à vérifier », à côté de chaque affirmation incertaine.

Le résultat contient-il une liste de vérification ?

Oui, le skill demande une liste de vérification dans le résumé d'exécution.

L'agent peut-il quand même fournir une réponse utile ?

Oui, le skill demande de s'appuyer sur les faits établis et d'être prudent sur tout ce qui ne peut pas être vérifié.

Détails

Description originale de l’auteur

Graceful degradation workflow for continuing tasks when web search tools fail, using internal knowledge with verification caveats

repo: HKUDS/AgentPilot

Popularité

Étoiles GitHub
7.8k
Position au classement
#12995
Licence
MIT
Mis à jour
01/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires