Agent skill · Testing & QA

local-vault

Build and query a local Markdown knowledge base ("vault"). TWO functions — (1) CONVERT raw files (PDF, Word/docx, PowerPoint/pptx, Excel/xlsx, csv/tsv, images, html, md/txt, json/yaml/code, audio/video) into clean Markdown with retrieval-friendly frontmatter; local-first (pandoc / python-pptx / openpyxl / pymupdf4llm / whisper), with cloud OCR (MinerU) only as a fallback. (2) ANSWER questions over the resulting vault with retrieval discipline — self-monitor coverage, flag missing/lossy content, and propose Maps-of-Content (MOCs). Triggers: "build/sync my local knowledge base", "convert these f

genli-aigithub.com/genli-aiGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add genli-ai/market-research-skills --skill local-vault --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 12 KB
Bundled scripts: yes
Path: skills/local-vault/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 57
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# local-vault Turn a folder of raw files into a **Markdown vault** that an LLM can grep, and then answer questions over that vault responsibly. **Mental model:** `SOURCE` = raw files (source of truth). `VAULT` = one `.md` per source file, carrying retrieval frontmatter (abstract / tags / synonyms) + a `source` backlink. The vault is the layer the LLM reads; the raw files are where the user goes to verify. There are **two distinct jobs** — figure out which the user wants: - **A. Convert / sync** — they dropped files in and want them in the vault → run the pipeline (`scripts/sync.py`). - **B. Retrieve / answer** — they want answers from an existing vault → follow the *Retrieval & feedback protocol* below. Do **not** run the pipeline for this. --- ## A. Convert / sync ### One-time setup (do this for the user if not already done) 1. **Python deps** (user-level, no venv): ``` python3 -m pip install --user requests python-dotenv pypdf pymupdf4llm openpyxl python-pptx ``` 2. **pandoc** (for docx/rtf/odt/epub): `brew install pandoc` (macOS) / distro pkg. 3. **ffmpeg** (only for audio/video transcription): `brew install ffmpeg` (macOS) / distro pkg. The **whisper engine is auto-selected by

What's inside
Steps it walks through
  1. A. Convert / sync
  2. One-time setup (do this for the user if not already done)
  3. Run it
  4. Routing (which tool per file type)
  5. PPT smart OCR
  6. Frontmatter written to every .md
  7. Tuning (scripts/config.py)
  8. B. Retrieval & feedback protocol (answering over the vault)
  9. Startup vault health check (first vault question of a session)
  10. Self-checks after a complex query (warn only when triggered)
  11. Topic queries → MOC entry order + evolution
  12. Do not
  13. Notes
Ships with 6 files
  • SKILL.zh.md
  • scripts/.env.example
  • scripts/config.py
  • scripts/mineru_client.py
  • scripts/sync.py
  • sync.command
More from market-research-skills
All skills →
About this skill
What does the local-vault skill do?

Build and query a local Markdown knowledge base ("vault"). TWO functions — (1) CONVERT raw files (PDF, Word/docx, PowerPoint/pptx, Excel/xlsx, csv/tsv, images, html, md/txt, json/yaml/code, audio/video) into clean Markdown with retrieval-friendly frontmatter; local-first (pandoc / python-pptx / openpyxl / pymupdf4llm / whisper), with cloud OCR (MinerU) only as a fallback. (2) ANSWER questions over the resulting vault with retrieval discipline — self-monitor coverage, flag missing/lossy content, and propose Maps-of-Content (MOCs). Triggers: "build/sync my local knowledge base", "convert these f

How do I install it?

Run `npx skills add genli-ai/market-research-skills --skill local-vault --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From genli-ai/market-research-skills, a repository with 57 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going