local-wiki

local-wiki is a skill for Claude Code, Codex from vNeeL-code/GHOST. It costs 36 tokens per session (355 once invoked), scanned A, original, MIT.

A local document search and reading tool for long PDFs, manuals, notes, and offline wiki files. It finds relevant passages on the device and can report their file locations, pages, or line ranges.

In plain words
What is it for?
Use it to answer questions about local documents, search a specific PDF, or read selected pages and lines.
Why use it?
It reduces the need to read long files from beginning to end and helps avoid made-up answers by grounding responses in matching passages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to answer questions about local documents, search a specific PDF, or read selected pages and lines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vneel-code/ghost/local-wiki
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vNeeL-code/GHOST --skill local-wiki
Clone the repo
git clone --depth 1 https://github.com/vNeeL-code/GHOST

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for local-wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/vneel-code/ghost/local-wiki/github.svg)](https://agentmods.dev/skills/vneel-code/ghost/local-wiki)
Your own site
<a href="https://agentmods.dev/skills/vneel-code/ghost/local-wiki"><img src="https://agentmods.dev/badge/skills/vneel-code/ghost/local-wiki/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for local-wiki

Your own site · 80×15
<a href="https://agentmods.dev/skills/vneel-code/ghost/local-wiki"><img src="https://agentmods.dev/badge/skills/vneel-code/ghost/local-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 355 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00355
Opus 5.5 $0.00014 $0.00142
Sonnet 5.5 $0.00007 $0.00071
Haiku 4.5 $0.00004 $0.00036

Measured 7d ago against content hash 937d9d409f1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

local-wiki scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

app/src/main/assets/skills/local-wiki/SKILL.md · 26 lines

What it actually says

Local Wiki & PDF Document Reader

Instructions

Never guess or hallucinate details from long files or PDFs. Use the on-device Gecko-110M RAG tools so only the most relevant passages enter context:

1. Search the Local Wiki / Static Cartridges (Documents/GHOST/wiki/)

When the user asks about their local wiki, personal docs, lore sheets, or dropped cartridges:

  • Call execute_command("search_wiki", "<question or keywords>")
  • Cite the returned [wiki/<file> ...] passages directly in your answer.

2. Search Inside a Specific PDF or Long Text File

  1. If you don't know the exact path yet, call execute_command("search_files", "<filename or pdf>").
  2. Call execute_command("search_document", "{\"filePath\":\"<absolute path>\",\"query\":\"<question or keywords>\"}").
  3. Cite page numbers (p.X) or line ranges (L10-L30) from the returned hits.

3. Read Sequentially / Paginate Through a PDF or File

When the user asks to read or summarize specific pages or lines:

  • Call execute_command("read_file_text", "{\"filePath\":\"<absolute path>\",\"startOffset\":1}")
  • For PDFs, startOffset is the 1-indexed page number (returns 3 pages per call). For text files, startOffset is the 1-indexed line number (returns 100 lines per call).
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 26 lines · 36 tokens per session scan A 937d9d409f1f

Subscribe to this mod's changes

local-wiki is a skill published in the GitHub repository vNeeL-code/GHOST (173 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 355 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

local-wiki compared with skills from other repositories

local-wiki next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
local-wikivNeeL-code/GHOSTSkill173todayMITA36Claude Code, Codex
pdfkitTalissonVitorino/kmp-ios-skillsSkill163d agoMITA212Claude Code, Codex
latex-expertJosephSanjaya/skillsSkill51mo agoMITA124Claude Code, Codex
androidayush016/android-lead-agent-skillsSkill525mo agoMITA264Claude Code, Codex
nano-pdfyunze7373/openclaw-termuxSkill25mo agoMITA17Claude Code, Codex
report-to-pdfasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A17Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.5ktodayMITA29Claude Code