po4yka/llm-wiki-skills/llm-wiki-local-first-stack
Claude Code and agent skill by po4yka/llm-wiki-skills
- community
Checking that the SKILL.md file is still in the repository.
Design a local-first LLM-Wiki stack. Use when the user wants Markdown, git, Obsidian, ripgrep, local embeddings, qmd-style retrieval, SQLite/FTS/vector indexes, local LLMs, offline operation, or safe sync without cloud lock-in; route retrieval/index layer design to llm-wiki-retrieval-architect.
Install
npx vskill@latest install po4yka/llm-wiki-skills/llm-wiki-local-first-stackSKILL.md
LLM-Wiki Local-First Stack
Goal
Help the user choose and configure a durable local-first LLM-Wiki stack with the least necessary infrastructure.
When to use
- The user wants their LLM-Wiki to run offline or with minimal cloud dependency.
- The user asks whether they need a vector database, graph store, or SQLite/FTS index yet.
- The user is deciding between Markdown+git+rg and a heavier retrieval or product storage layer.
- The user wants a sync strategy for a vault shared across multiple devices without breaking index files.
- The user needs a model policy split between local-only and cloud-assisted tasks for privacy reasons.
Inputs
- Corpus size and growth rate.
- Privacy/offline requirements.
- Existing tools: Obsidian, git, qmd, SQLite, vector DB, local LLMs.
- Target machine constraints.
- Desired agent integration.
Procedure
1. Start with the minimum viable stack
Default:
Do not add vector databases or graph stores unless symptoms justify them.
2. Choose retrieval tier
| Tier | Use when | |
|---|---|---|
index.md + rg | Early and medium vaults with good titles and wikilinks. | |
| hybrid local search | Exact search misses conceptual matches. | |
| graph-aware retrieval | Relationship and multi-hop questions dominate. | |
| product storage | Concurrency, permissions or scale require it. |
3. Decide storage policy
Prefer:
- Markdown as source of truth;
- SQLite/FTS for local indexes;
- reconstructable vector indexes;
- content hashes for incremental rebuild;
- git for text and manifest files;
- per-device generated indexes.
Avoid syncing mutable DB/index files unless the user has a tested sync strategy.
4. Decide model policy
Classify tasks:
- local-only ingest for sensitive sources;
- cloud-assisted query for public material;
- cheap model for triage;
- stronger model for synthesis;
- local embeddings/reranking when privacy matters.
Hand off to llm-wiki-model-policy for detailed policy.
5. Produce setup plan
Include:
- folder structure;
- agent instructions;
- retrieval tier;
- index/cache policy;
- backup/sync plan;
- upgrade triggers.
Output
Safety gates
- Do not recommend syncing non-mergeable index files without warning.
- Do not make cloud services mandatory for local-first users.
- Browse before giving current install commands.
- Keep raw sources portable and human-readable where possible.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/llm-wiki-local-first-stack/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/po4yka/llm-wiki-skills/llm-wiki-local-first-stack)