Skip to content
Back to skills

Knowledge Base

ASecurity

Ground answers in the project's ingested docs via the search_knowledge tool.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agents

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Ashutosh0428/pi-agent --skill knowledge-base --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Knowledge Base?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Knowledge Base
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashutosh0428-knowledge-base/badge)](https://www.skillsdirectory.com/skills/ashutosh0428-knowledge-base)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: knowledge-base
description: Ground answers in the project's ingested docs via the search_knowledge tool.
trigger: when the user asks about project docs, or a local knowledge base exists
---
## When to use
The user asks how something in *their* project works and a `search_knowledge`
tool is available (a knowledge base was built with `pi ingest`).

## How
1. Call `search_knowledge` with a focused query before answering from general
   knowledge — the project's own docs are the source of truth.
2. Read the returned chunks; each is tagged with its `[source.md]`.
3. Answer using only what the chunks support, and cite the sources in
   `[brackets]` so the user can verify.
4. If retrieval returns nothing relevant, say the knowledge base doesn't cover
   it — don't fill the gap with guesses.

## Avoid
- Answering project-specific questions from memory when a KB exists.
- Dropping citations — an uncited claim is unverifiable.
- Inventing detail beyond what the retrieved chunks state.

## Done well
Every project-specific claim traces to a cited chunk; gaps are stated honestly
rather than hallucinated.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.