ai-search-skill

Retrieves knowledge from a companyRAG collection using ai-search MCP tools with cited answers.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/innFactory-AI/company-ai-stack-skills --skill ai-search-skill-innfactory-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ai-search-skill
Source: https://github.com/innFactory-AI/company-ai-stack-skills/tree/main/de/skills/company-rag/ai-search-skill
Command: npx skills add https://github.com/innFactory-AI/company-ai-stack-skills --skill ai-search-skill-innfactory-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Employees often need answers grounded in internal company knowledge rather than generic AI responses. This Skill turns the agent into a knowledge retrieval assistant that searches a companyRAG collection and answers questions strictly based on the retrieved results, with source citations. ## Core Features & Use Cases - Semantic, Keyword, and Hybrid Search: Uses the search_content tool with configurable search modes (similarity, keyword, hybrid), topK limits, and metadata filters to find relevant content. - Document- and Metadata-Based Lookup: Retrieves all content from a named source document via find_content_by_source, or filters content purely by metadata using find_content_by_metadata with logical and comparison operators. - Grounded, Cited Answers: Answers only from tool results, cites sources inline, retries with reformulated queries up to four times, and clearly states when no information is found. - Use Case: A support agent asks "How do I reset a user password?" The Skill searches the internal documentation collection in hybrid mode and returns an answer with inline references to the relevant manual pages. ## Quick Start Ask the agent a question about your internal documentation and have it search your companyRAG collection for a cited, source-grounded answer.

Frequently Asked Questions about ai-search-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search a companyRAG collection with the ai-search MCP tools?▼

Use the search_content tool with a query, the collection name, and optionally topK, searchMode, and a metadata filter. The tool performs semantic, keyword, or hybrid search and returns matching content chunks from the collection.

What is the difference between similarity, keyword, and hybrid search modes?▼

Similarity mode uses vector search for conceptual questions, keyword mode matches exact terms like product names or error codes, and hybrid combines both. Hybrid is recommended when a question mixes concepts with exact terms or as a second attempt.

How do I retrieve all content from a specific document in a collection?▼

Use the find_content_by_source tool with the document's source name, such as a PDF filename, plus the collection name. It returns all content chunks belonging to that document without requiring a search query.

Can I filter companyRAG search results by metadata?▼

Yes, both search_content and find_content_by_metadata accept JSON filters. Supported operators include logical $and, $or, $not and comparison operators $eq, $ne, $gt, $gte, $lt, and $lte for fields like date or category.

What happens when the search returns no useful results?▼

The Skill reformulates the query, increases topK, or switches to hybrid mode, up to four searches per question. If nothing usable is found, it clearly states that no information exists in the knowledge base instead of guessing.