Data & Analysis

Local Knowledge Base Retriever

Finds and cites answers from a local knowledge base through progressive search.

53/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code · Claude.ai
Stars
★ 13k
Last updated
16d ago
License
MIT
knowledge-retrievallocal-filesystemmarkdown-searchpdf-extraction
+3excel-analysisgreppandas

What does this skill do, and when should you use it?

kb-retriever helps an agent answer questions using local Markdown, text, PDF, and Excel files. It first follows layered data_structure.md indexes to narrow the search space, then applies file-type-specific retrieval workflows. PDF and Excel processing requires reading the relevant reference guides before extraction or analysis. Retrieval is limited to five iterations and the final answer is expected to identify sources and uncertainty.

It checks the current project's knowledge/ directory by default or uses a path supplied by the user; reads data_structure.md files hierarchically; searches Markdown, text, and log files with grep and local context reads; reads pdf_reading.md before processing PDFs and uses pdftotext, pdfplumber, or related tools for extraction; reads excel_reading.md and excel_analysis.md before processing spreadsheets and uses pandas for exploration, filtering, and analysis; then assembles evidence into an answer with filenames and approximate locations.

Good fit
  • A developer needs an answer from a multi-level local documentation tree covering APIs or system architecture.
  • A researcher needs to locate a field, section, or table in local PDF reports.
  • An analyst needs to filter or aggregate an Excel report by columns or time range.
  • A team needs evidence from a large Markdown or text repository without loading whole files.
  • A user needs to search a knowledge base stored at a custom path instead of the default knowledge/ directory.

How do you install this skill?

Before you use it
  • Confirm that the target agent actually provides the documented Read/Grep/Glob or read_file tools and dependencies such as pdftotext, pdfplumber, and pandas.
  • Before using the skill on personal or confidential knowledge bases, add access control, data minimization, temporary-output cleanup, and logging rules.
  • PDF/Excel extraction may fail or be incomplete; file locations, inferences, and uncertainty in answers still require human review.
  • The mandatory references step is procedural guidance, not a security boundary; it does not provide dependency pinning or protection against malicious content.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • grep
  • pdftotext
  • pdfplumber
  • pandas
  • pypdf

Use the repository's documented skills CLI method: npx skills add ConardLi/garden-skills -s kb-retriever -a claude-code. The README also documents copying the skills/kb-retriever folder into the target agent's skills directory; the exact directory depends on the agent.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/ConardLi/garden-skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/kb-retriever" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Answer from the knowledge base: what is the API timeout configuration in the system architecture?

In a compatible agent, ask for a knowledge-base retrieval task, such as: “Answer from the knowledge base: what is the API timeout configuration in the system architecture?” The default root is knowledge/ in the current project; provide another path explicitly when needed. If the default directory is missing or inaccessible, the Skill is intended to ask for the correct path.

What are this skill's strengths and limitations?

Pros
  • Designed for local retrieval without web searching.
  • Uses layered data_structure.md files to reduce irrelevant file reads.
  • Enforces a learn-before-process workflow for PDFs and Excel files.
  • Documents concrete workflows using grep, pdftotext, pdfplumber, and pandas.
  • Limits retrieval to five rounds and emphasizes source-aware answers.
Limitations
  • Requires an accessible local knowledge base and cannot safely guess a missing root path.
  • Requires shell access, filesystem access, and PDF/Excel processing tools.
  • The source provides no test suite, performance metrics, or detailed permission model.
  • Its documented workflows cover only the file types explicitly described in the source.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Local Knowledge Base Retriever this page 53 · Use with care ★ 13k 16d ago MIT
Extraction Pipeline Patterns 48 · Use with care ★ 9.4k 12d ago MIT
CSV/Excel Deep Data Analysis Skill 47 · Use with care ★ 20k 16d ago MIT
CSV Data Summarizer Skill 45 · Not recommended ★ 471 1y ago —
PDF Toolkit 44 · Not recommended ★ 4.4k 1mo ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
53/ 100 5-point scale 2.7 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust14 / 25 · 2.8/5

The evidence scopes the skill to local knowledge-base retrieval, asks for confirmation when the default directory is unavailable, emphasizes windowed reads, and requests source attribution. No malware or credential theft is shown. Points are deducted because sensitive-data handling, permission isolation, confirmation boundaries, temporary-file cleanup, rollback, and dependency-integrity checks are unspecified, while PDF/Excel workflows may write files.

2Reliability8 / 20 · 2.0/5

The evidence provides a fairly complete workflow with hierarchical navigation, a five-round bound, and explicit handling of insufficient information. Points are deducted for inconsistent tool naming (Read/Grep/Glob versus read_file), unverified tool availability, thin failure handling for PDF/Excel processing and the fallback script, and partially inconsistent retrieval rules. Static review caps this score at 10.

3Adaptability11 / 15 · 3.7/5

The evidence clearly identifies the audience, paths, default knowledge/ directory, supported file types, trigger wording, and Chinese/English response behavior, and the core workflow does not depend on overseas services. Points are deducted for limited non-fit boundaries, tool-environment assumptions, permission constraints, and large or complex-file edge cases; the semantic trigger remains broad.

4Convention10 / 15 · 3.3/5

The evidence includes layered documentation, bilingual READMEs, references, a script, manifest version 1.0.1, an MIT license, and repository-level validation and release workflows. Points are deducted because the skill does not clearly identify a maintainer, changelog, compatibility verification results, or systematic troubleshooting; version and governance evidence is mainly repository context.

5Effectiveness6 / 15 · 2.0/5

The evidence describes an actionable process for index navigation, progressive retrieval, PDF/Excel preprocessing, bounded iteration, and source-aware answers, which could reduce context usage and produce usable responses. Points are deducted because no representative outputs or behavioral tests are provided, tool portability and complex-format accuracy are unverified, and results still require review. Static review caps this score at 7.

6Verifiability4 / 10 · 2.0/5

The evidence is auditable through SKILL.md, READMEs, references, the script, manifest, and CI files; CI verifies listing, packaging, and README synchronization. Points are deducted because no committed tests cover the key retrieval paths and no third-party execution evidence is supplied, so actual behavior cannot be confirmed statically. Static review caps this score at 5.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision aaf9a82f5efd Review evidence[1][2][3][4][5][6][7][8][9][10][11][12][13]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does it access the internet?
No. The Skill is designed for local knowledge-base retrieval and explicitly prohibits using web search to obtain knowledge.
Must the knowledge base be named knowledge/?
No. knowledge/ is the default path, but the user can provide another directory explicitly. If the default is unavailable, the Skill should ask for confirmation.
Can it search PDFs and Excel files directly?
It can retrieve information from them, but it must first read the relevant reference guides and complete extraction or structured processing.
Does it load large files in full?
Its documented workflow avoids that by narrowing candidates with indexes and keywords before local reads or structured processing.

More skills from this repository

All from ConardLi/garden-skills

Related skills