
Knowledge base integration
Guides an agent through building a retrieval-grounded product assistant with access
Knowledge base integration is an open-source agent skill for knowledge and memory. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 227
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Knowledge base integration
This skill is a specialist playbook for wiring a product-facing AI agent to an authorized retrieval knowledge base. It asks the builder to write down a versioned retrieval contract first, covering corpus version, authorized data classes, the mapping from user principals to access filters, representative query fixtures, and metric thresholds chosen from the team's own evaluation set.
The workflow covers the points where retrieval-augmented agents usually fail: applying access filters before ranking or generation, tracing each answer span back to returned passage IDs and versions, and treating retrieved text as untrusted evidence rather than instructions. It also defines a fixed response for no-hit or low-confidence queries, and a regression pass that compares old and new indexes before a refreshed corpus is accepted.
The skill is written as guidance and includes no scripts. It expects an existing retrieval stack and an evaluation set, and it does not name a specific vector store, model or framework.
When your agent uses it
Use when implementing or evaluating a retrieval-augmented product agent that must enforce corpus ACLs, trace answers to returned passages, fail safely on no-hit, and pass retrieval, injection, and refresh regressions. Not for general repository memory or chrono-vault recall.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/knowledge-base-integration to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/knowledge-base-integration &&
cp -R "$tmp/.agents/skills/knowledge-base-integration" ~/.claude/skills/knowledge-base-integration &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/knowledge-base-integration inside it instead.
Copy the skill folder to ~/.agents/skills/knowledge-base-integration to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/knowledge-base-integration &&
cp -R "$tmp/.agents/skills/knowledge-base-integration" ~/.agents/skills/knowledge-base-integration &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/knowledge-base-integration inside it instead.
Copy the skill folder to ~/.cursor/skills/knowledge-base-integration to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/knowledge-base-integration &&
cp -R "$tmp/.agents/skills/knowledge-base-integration" ~/.cursor/skills/knowledge-base-integration &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/knowledge-base-integration inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/knowledge-base-integrationOr copy the folder to ~/.gemini/skills/knowledge-base-integration yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/knowledge-base-integration:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/knowledge-base-integration &&
cp -R "$tmp/.agents/skills/knowledge-base-integration" ~/.copilot/skills/knowledge-base-integration &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/knowledge-base-integration inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/knowledge-base-integration into your agent's skills folder as knowledge-base-integration. Agents that support SKILL.md read one folder per skill.
What it does
- Versioned retrieval contract
- A template for recording corpus version, data classes, ACL mapping and thresholds before implementation starts.
- Access-filtered retrieval
- Guidance to apply the caller's permission filter before ranking or generation so forbidden passages never reach the model.
- Answer citation tracing
- Requires each answer span to map to real returned passage IDs and versions, with no fabricated citations.
- Injection test fixtures
- Adversarial query and passage cases that check instructions inside retrieved text cannot override policy or cross boundaries.
- Safe no-hit handling
- Defines an exact fallback response or handoff for low-confidence and no-result queries instead of guessing.
- Refresh regression suite
- Reruns retrieval and grounding checks after re-indexing and compares against the prior corpus before accepting the new index.
Good for
- Design access control for a customer-facing assistant that answers from internal documents
- Set up retrieval evaluation thresholds for a support bot over a product knowledge base
- Add citation tracing so each answer points to the passages it was drawn from
- Write adversarial tests for prompt injection hidden inside indexed documents
- Plan a re-indexing workflow that checks for regressions before a new corpus goes live
Knowledge base integration FAQ
What does Knowledge base integration need before it can be used?
It assumes an existing or planned retrieval-augmented agent, a representative set of evaluation queries, and a defined corpus with an access-control model. It supplies the checklist and contract structure, not the data.
When should Knowledge base integration not be used?
The SKILL.md says it is not meant for general repository memory or chrono-vault recall.
Does Knowledge base integration include scripts or tools that run automatically?
No. The folder contains only the SKILL.md file, with no scripts and no tool permissions declared.
Which metrics does Knowledge base integration require?
It asks the user to pick retrieval quality and answer grounding metrics with minimum thresholds from their own evaluation set rather than using fixed defaults.
How do I install Knowledge base integration in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/knowledge-base-integration to use it in all your projects, or to .claude/skills/knowledge-base-integration in one project.
Does Knowledge base integration run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Knowledge base integration?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Knowledge base integration?
The closest alternatives to Knowledge base integration are Kb query, Research, Foundry iq, Qdrant search quality diagnosis and Qdrant search quality.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides building product agent system prompts with eval-backed boundaries and output
- Open source
- 227 GitHub stars
- AI models and LLM tooling

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery
- Open source
- 227 GitHub stars
- Developer tools

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security







