πŸ”Ž
AI EngineeringPython

RAG Web Fallback

by lyonzin

RAG Web Fallback is an AI Engineering skill for Claude Code, published by lyonzin in knowledge-rag.

265 stars38 forkson lyonzin/knowledge-ragAdded 2026/09/02+2% in starsRepository updated 2026/09/01
antigravityclaudeclaude-codeclaude-code-clicodexcursor-aidocument-searchhybrid-searchinteligencia-artificialknowledge-baselocal-aimcpmcp-serverragrag-chatbotrag-pipelinererankingretrieval-augmented-generationsemantic-searchvector-database
Install in seconds
Install RAG Web Fallback
Copy RAG Web Fallback into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-web-fallback ~/.claude/skills/rag-web-fallback

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/lyonzin/knowledge-rag.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/workflow/rag-web-fallback/SKILL.md in lyonzin/knowledge-rag
Installs to
~/.claude/skills/rag-web-fallback
Collection
One of 10 skills cataloged from this repository
Category
AI Engineering β€” 2631 skills

What RAG Web Fallback does

RAG Web Fallback forces an agent to search the local knowledge base before using external web tools. It is used when a question might be answered from indexed docs and the agent must explain why it escalated if local coverage is missing.

RAG Web Fallback is cataloged under AI Engineering on DirSkills. RAG Web Fallback comes from a repository tagged antigravity, claude, claude-code, claude-code-cli and codex.

Documentation

README

rag-web-fallback β€” local first, web only when necessary

When to use this skill

Whenever the agent is tempted to call an external tool for information (WebSearch, WebFetch, mcp__exa__*, mcp__context7__*, etc.), route through this skill's checklist first.

Applies to:

  • Any request that could be answered from indexed docs before hitting the network
  • Any factual claim the agent is about to look up externally
  • Any "give me the latest on X" question where X might be in the corpus

Does NOT apply to:

  • Deliberate freshness requests: "what happened today", "current news"
  • User explicitly asks for a web search
  • Live infra queries (external API calls that are the actual task, not for context)

What this skill commits to

The agent will:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about RAG Web Fallback

  • What else does lyonzin publish alongside RAG Web Fallback?

    RAG Web Fallback is one of 10 skills that DirSkills catalogs from lyonzin/knowledge-rag, the repository it ships in. Its siblings there include RAG Check First, RAG Code Review and RAG Evaluate Quality. Each one is a separate skill with its own page in this directory, installs the same way RAG Web Fallback does, and is maintained by lyonzin in that same repository. The rest of the collection is listed on the lyonzin/knowledge-rag page.

  • How does RAG Web Fallback compare to other AI Engineering skills?

    RAG Web Fallback ranks #2245 by stars among the 2631 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of RAG Web Fallback against them. Open each page to compare what they document and how they install.

More from lyonzin/knowledge-rag

RAG Web Fallback is one of 10 skills cataloged on DirSkills from lyonzin/knowledge-rag.

See all 10 skills β†’
πŸ”Ž
1h ago

RAG Check First

RAG Check First requires a local knowledge search before answering technical questions, code requests, or team-specific factual claims. Use it to ground responses in indexed docs, ADRs, runbooks, and prior work.
AI Engineering
26538
πŸ”
1h ago

RAG Code Review

RAG Code Review consults related ADRs, standards, similar files, and prior incidents before commenting on a code change. Use it for PR reviews or any critique of a diff so feedback is grounded in the team’s own decisions.
AI Engineering
26538
πŸ“ˆ
1h ago

RAG Evaluate Quality

RAG Evaluate Quality measures retrieval performance with MRR@5, Recall@5, Precision@5, and index health stats. Use it weekly, after reindexing, or when answer quality seems to drop.
AI Engineering
26538
🧠
1h ago

RAG Index Decisions

RAG Index Decisions prompts you to turn important architectural choices, bug fixes, and team conventions into indexed documents. Use it when a conclusion should be searchable the next time the same issue comes up.
AI Engineering
26538
πŸ”Ž
1h ago

RAG Onboard Context

RAG Onboard Context probes the indexed knowledge base at the start of a session or after a topic shift. It checks index stats, categories, and a few sample searches so the agent knows what content is available before answering.
AI Engineering
26538
πŸ›‘οΈ
1h ago

RAG Security First

RAG Security First routes security questions through the local corpus before external threat-intel lookups. Use it for incident response, MITRE mapping, CVE analysis, detections, and red/blue team research grounded in local playbooks.
AI Engineering
26538