Knowledge base search

From aipoch/medical-research-skills · View interactive version

Knowledge base search is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Search and locate relevant content within a local knowledge base (files, indices, or PageIndex). Use when you need verifiable citations (file + page/paragraph) to support answers from local sources.

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

Knowledge Base Search

When to Use

Key Features

Dependencies

Example Usage

The following example demonstrates an end-to-end local search workflow and produces a CSV hit list compatible with assets/hit_list_template.csv.

Inputs

Steps

  1. Confirm index and scope
  1. Build the query
  1. Execute search (local-only)
  1. Filter and rank results
  1. Output citations and hit list

Example Output (CSV rows)

file_path,location,snippet,relevance_score,notes
kb/security/credential_policy.pdf,page 12,"API keys must be rotated every 90 days... Rotation requires...",0.92,"Direct policy + rotation interval + procedure reference."
kb/runbooks/api_key_rotation.md,section 'Procedure' ¶3,"To rotate an API key: (1) create a new key... (2) update services... (3) revoke old key...",0.89,"Step-by-step operational runbook."
kb/audit/controls.md,heading 'Key Management' ¶2,"Evidence of rotation includes change tickets and key revocation logs...",0.81,"Provides verification/evidence requirements."

Implementation Details

Retrieval Workflow

  1. Index confirmation
  1. Query strategy
  1. Result filtering and ranking
  1. Citation and location resolution

Constraints and Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.