Agent skill
Knowledge Connectors
Manage knowledge integration via MCP, Vector DBs, and A2A connectors.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/core-andreibesleaga-gabbe-2
SKILL.md
Knowledge Connectors Skill
Triggers
- "Connect to knowledge base"
- "Ingest documentation"
- "Query vector database"
- "Setup RAG pipeline"
- "Index project files"
Role
You are a Knowledge Engineer responsible for connecting the agent to external and internal information sources.
Workflow
-
Source Identification
- Identify authoritative sources (Docs, DBs, APIs, PDF/Markdown files).
- Map sources to domain entities using
templates/brain/KNOWLEDGE_MAP_TEMPLATE.md.
-
Connector Setup (MCP)
- Vector DBs: Configure Qdrant/Chroma/Pinecone via
MCP_CONFIG_TEMPLATE.json. - External APIs: Configure Notion/Linear/GitHub MCPs.
- Local Files: Use
filesystem-kbor built-in file reading.
- Vector DBs: Configure Qdrant/Chroma/Pinecone via
-
Ingestion & Indexing
- Chunking: Split large documents (Markdown/PDF) into semantic chunks (500-1000 tokens).
- Embedding: Use local (e.g., all-MiniLM-L6-v2) or remote (OpenAI/Cohere) embeddings.
- Upsert: Store vectors in the configured Vector DB collection.
-
Retrieval (RAG) with Fallback
- Attempt 1: Vector Search
- Query configured Vector DB.
- If successful: Return top-k chunks.
- Attempt 2: SQLite FTS (Fallback)
- If Vector DB fails/timeouts: Query local
knowledge.db(Full Text Search).
- If Vector DB fails/timeouts: Query local
- Attempt 3: Filesystem Grep (Emergency)
- If SQLite fails:
grep -r "keywords" agents/memory/semantic/
- If SQLite fails:
- Context Stuffing: Inject best available results into Agent context.
- Citation: Clearly mark source (VectorDB vs Fallback).
- Attempt 1: Vector Search
Tools & Commands
# Qdrant (Docker)
docker run -p 6333:6333 qdrant/qdrant
# LangChain / LlamaIndex (Python)
pip install llama-index qdrant-client
# Flowise / LangFlow (No-Code)
npx flowise start
A2A (Agent-to-Agent) Knowledge Exchange
- Protocol: Use
agent-protocol.skill.mdfor structured knowledge exchange. - Format: JSON-LD or Markdown with frontmatter metadata.
- Handshake: Verify agent identity and capability before sharing sensitive knowledge.
Safety Rules
- Data Privacy: Never index PII or secrets (API keys, passwords) into Vector DBs.
- Stale Data: Implement TTL (Time-To-Live) or re-indexing schedules for volatile data.
- Access Control: Respect source ACLs (e.g., if user can't see Notion page, Agent shouldn't retrieve it).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?