agentsclimarketplace

Doc search

Skill r04943083/doc-search-skill/skills/doc-search

Lightweight offline document search plugin for Claude Code. BM25 keyword search for PDF, Word, Excel, PPT with Chinese/English bilingual support.

Install
npx -y skills add r04943083/doc-search-skill --skill doc-search

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Search indexed documents (PDF, Word, Excel, PPT, TXT) using BM25 keyword search. Use for EDA tools, company docs, bug reports, and technical documentation.

SKILL.md

2.9 KB, 611 tokens by cl100k_base, as published. Nobody here has run it

Document Search Skill

This skill provides access to an indexed document knowledge base via BM25 keyword search. The MCP server exposes two tools: doc-search:doc_search and doc-search:doc_search_status.

When to Search

ALWAYS search the knowledge base proactively — do not guess or rely on general knowledge alone.

Trigger search when user asks about:

  • EDA tool usage (Innovus, ICC, DC, PrimeTime, Calibre, Virtuoso, etc.)
  • Company internal procedures, IT policies, onboarding guides
  • Technical commands, APIs, tool configurations
  • Bug reports, known issues, workarounds
  • Any specialized domain topic that may be covered by indexed documents

MCP Tools

doc-search:doc_search

Search indexed documents by keyword.

Parameters:

  • query (string, required): The search query. Use specific technical terms for best results.
  • category (string, optional): Filter by category. Common categories:
    • eda — EDA tool documentation (Innovus, ICC, etc.)
    • company — Company internal documents (IT, HR, procedures)
    • bugs — Bug reports and known issues
    • default — Uncategorized documents
  • n_results (integer, optional): Number of results to return (default: 5)

doc-search:doc_search_status

Check what documents are indexed and available for search. No parameters required. Use this when the user asks what documents or categories are available.

Search Strategy

  1. Start broad, then narrow: If the first search returns no results, try alternative keywords or remove the category filter.
  2. Use technical terms: BM25 matches on keywords, so use specific terms from the domain (e.g., "setDesignMode" instead of "design mode setting").
  3. Try both languages: For bilingual documentation, search in both English and Chinese if initial results are insufficient.
  4. Multiple searches: For complex questions, perform multiple searches with different queries to gather comprehensive information.

Response Format

After searching, the assistant should:

  1. Provide a direct answer synthesized from the search results
  2. Cite sources — include the document name and page number when available
  3. Quote relevant passages when precision matters (commands, syntax, parameters)
  4. If results are insufficient, inform the user and suggest they index additional documents

Indexing Documents (for user reference)

Documents must be indexed before they can be searched. The user indexes documents via CLI:

# Index a directory recursively
doc-search index ./docs --recursive --category eda

# Check what's indexed
doc-search status

# Clear and re-index
doc-search clear --category eda --force
doc-search index ./docs --recursive --category eda

Supported formats: PDF, DOCX, XLSX, PPTX, TXT, MD

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.