Agent skill

Llmwiki Query

by Pratiyush in Pratiyush/llm-wiki

Answer a question by querying the user's llmwiki. An agent skill from Pratiyush/llm-wiki.

MITAuto-check passedKnowledge Management

Install Llmwiki Query

skills CLI
$ npx skills add Pratiyush/llm-wiki --skill llmwiki-query -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Pratiyush/llm-wiki llmwiki-query --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Pratiyush/llm-wiki.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/llmwiki-query .claude/skills/llmwiki-query && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
llmwiki-query
GitHub stars
397
Token cost
~684 tokens
SKILL.md length
344 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Answer a question by querying the user's llmwiki. An agent skill from Pratiyush/llm-wiki.

  • Works in 8 steps: Locate the llmwiki install (see… → Read wiki/index.md to identify the set… → Read wiki/overview.md to get the living… → …
  • The user asks about their own past work — what did I decide about X
  • SKILL.md covers What this skill does, When to use, Workflow and Fallback behavior, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Llmwiki Query is an agent skill from Pratiyush/llm-wiki. Answer a question by querying the user's llmwiki. Use when the user asks about their own past work — "what did I decide about X", "what have I been working on", "how did I solve Y", "what's my preferred approach to Z", or any question that the wiki (built from their session history) might answer. Always read the wiki first before falling back to external search.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management, covering LLM wikis. It works with Model Context Protocol. The repository describes itself as: LLM-powered knowledge base from your Claude Code, Codex CLI, Copilot, Cursor & Gemini sessions. Karpathy's LLM Wiki pattern — implemented and shipped. The licence is MIT.

When your agent uses it

  • The user asks about their own past work — what did I decide about X
  • What have I been working on
  • How did I solve Y
  • Whats my preferred approach to Z

Example prompts

  • “s llmwiki. Use when the user asks about their own past work —”
  • “what have I been working on”
  • “how did I solve Y”
  • “/llmwiki-query”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Locate the llmwiki install (see llmwiki-sync skill for the fallback search order).
  2. Read wiki/index.md to identify the set of pages that might be relevant.
  3. Read wiki/overview.md to get the living synthesis context.
  4. Pick the most relevant pages (sources, entities, concepts) based on the question.
  5. Read those pages with the Read tool.
  6. Synthesise an answer with inline [[wikilink]] citations. Quote directly from source pages when the wording matters.
  7. If the answer is substantial (3+ paragraphs), ask the user whether to save it as a synthesis page
  8. Append to wiki/log.md

What it can do on your machine

Read from SKILL.md and the folder at commit b108889. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Llmwiki Query loads about 684 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 344 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~684

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Pratiyush/llm-wiki at commit b108889, republished under its MIT licence (© Pratiyush). 344 words, ~684 tokens.

Download SKILL.mdSave it as .claude/skills/llmwiki-query/SKILL.md (or your agent's skills folder).
name
llmwiki-query
description
Answer a question by querying the user's llmwiki. Use when the user asks about their own past work — "what did I decide about X", "what have I been working on", "how did I solve Y", "what's my preferred approach to Z", or any question that the wiki (built from their session history) might answer. Always read the wiki first before falling back to external search.

llmwiki-query

What this skill does

Reads the user's local llmwiki (llmwiki/wiki/) and synthesises an answer to their question, with [[wikilink]] citations pointing to the source pages.

When to use

Invoke this skill when the user asks a question about their own work or history. Examples:

  • "What did I decide about the AiShorts backend?"
  • "What MCP servers do I have configured?"
  • "How did I fix the X bug last week?"
  • "What's my preferred way to ingest sessions?"
  • "What have I been working on in the germanly project?"

Do NOT invoke for questions that can be answered without the user's personal knowledge base (e.g., "how does TCP work?" → answer from general knowledge).

Workflow

Follow the Query Workflow from the repo's CLAUDE.md:

  1. Locate the llmwiki install (see llmwiki-sync skill for the fallback search order).

  2. Read wiki/index.md to identify the set of pages that might be relevant.

  3. Read wiki/overview.md to get the living synthesis context.

  4. Pick the most relevant pages (sources, entities, concepts) based on the question.

  5. Read those pages with the Read tool.

  6. Synthesise an answer with inline [[wikilink]] citations. Quote directly from source pages when the wording matters.

  7. If the answer is substantial (3+ paragraphs), ask the user whether to save it as a synthesis page:

    markdown
    Would you like me to save this as wiki/syntheses/<slug>.md for future reference?

    If yes, write it using the Synthesis Page Format from CLAUDE.md.

  8. Append to wiki/log.md:

    ## [YYYY-MM-DD] query | <short question>
Show full SKILL.md (118 more words)Show less

Fallback behavior

If the wiki has no relevant pages:

  1. Tell the user "I don't see anything about this in your wiki yet."
  2. Suggest running /wiki-sync to pull in any recent sessions that might cover the topic.
  3. If the topic is unlikely to be in session history, offer to answer from general knowledge (and make that explicit: "this is general knowledge, not from your wiki").

Don't do

  • Don't make up wiki pages that don't exist.
  • Don't confuse general knowledge with wiki content in the answer.
  • Don't over-cite — if the whole answer comes from one page, cite once at the top.
  • Don't write a wall of text. The answer should be as short as the question allows.

© Pratiyush, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/llmwiki-query of Pratiyush/llm-wiki.

Open the folder on GitHubat commit b108889

Compare with similar skills

Llmwiki Query next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Llmwiki Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Llmwiki Query this skillPratiyush/llm-wiki397—~684Automated safety check: PassMIT
Arkon Editnduckmink/arkon1.5k—~1.6kAutomated safety check: PassCustom licence
Arkon Querynduckmink/arkon1.5k—~1kAutomated safety check: PassCustom licence
LLM Wikizosmaai/pi-llm-wiki608—~4.4kAutomated safety check: PassMIT
Arkon Reviewnduckmink/arkon1.5k—~1.3kAutomated safety check: PassCustom licence
Sage Wikixoai/sage-wiki622—~2.4kAutomated safety check: PassMIT

Similar skills

  • Arkon Edit

    nduckmink/arkon

    Propose or directly apply edits to Arkon wiki pages, including proposing brand new pages.

    1.5k GitHub stars~1.6k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Arkon Query

    nduckmink/arkon

    Answer questions using the Arkon knowledge base. An agent skill from nduckmink/arkon.

    1.5k GitHub stars~1k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    zosmaai/pi-llm-wiki

    Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern.

    608 GitHub stars~4.4k tokensUpdated 3 days ago
    Knowledge ManagementAuto-check passed
  • Arkon Review

    nduckmink/arkon

    Review, approve, request changes on, or reject pending wiki edit drafts in Arkon.

    1.5k GitHub stars~1.3k tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Sage Wiki

    xoai/sage-wiki

    Reference skill for sage-wiki — local-first knowledge graph with MCP server, REST API, compiled wiki, and Obsidian-compatible output.

    622 GitHub stars~2.4k tokensUpdated 3 days ago
    Knowledge ManagementAuto-check passed
  • Infranodus

    infranodus/skills

    Text network analysis and knowledge graphs via the InfraNodus MCP server: analyze text structure, find content gaps, generate research questions and ideas, compare texts, optimize content for…

    119 GitHub stars~3.5k tokensUpdated 19 days ago
    Knowledge ManagementAuto-check passed

More from Pratiyush/llm-wiki

  • Llmwiki Sync

    Pratiyush/llm-wiki

    Sync Claude Code session transcripts into the user's llmwiki and ingest them into the wiki.

    397 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Project Maintainer

    Pratiyush/llm-wiki

    Maintain an llmwiki-style open-source project across the full framework pipeline.

    397 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Self Learn

    Pratiyush/llm-wiki

    Extract reusable patterns from recent sessions, propose framework improvements, and (with approval) update the framework docs.

    397 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Wiki All

    Pratiyush/llm-wiki

    Run the complete llmwiki pipeline from scratch — init, sync, graph, build, lint, and serve.

    397 GitHub stars~587 tokensUpdated 3 mo ago
    Auto-check passed
  • Llmwiki Ingest

    Pratiyush/llm-wiki

    Ingest one source document (or a folder of them) into the llmwiki.

    397 GitHub stars~691 tokensUpdated 3 mo ago
    Auto-check passed

Questions about Llmwiki Query

What does Llmwiki Query do?

Answer a question by querying the user's llmwiki. An agent skill from Pratiyush/llm-wiki. Llmwiki Query is an agent skill from Pratiyush/llm-wiki. Answer a question by querying the user's llmwiki.

When should I use Llmwiki Query?

Llmwiki Query fits situations like: the user asks about their own past work — what did I decide about X; what have I been working on; how did I solve Y; whats my preferred approach to Z.

How do I install Llmwiki Query in Claude Code?

Run `npx skills add Pratiyush/llm-wiki --skill llmwiki-query -a claude-code`. Or copy the skill folder (.claude/skills/llmwiki-query in Pratiyush/llm-wiki) into .claude/skills/llmwiki-query in your project. Claude Code loads it when a task matches its description.

How do I install Llmwiki Query in Codex?

Run `npx skills add Pratiyush/llm-wiki --skill llmwiki-query -a codex`. Or copy the skill folder (.claude/skills/llmwiki-query in Pratiyush/llm-wiki) into .agents/skills/llmwiki-query in your project. Codex loads it when a task matches its description.

Can I use Llmwiki Query in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Pratiyush/llm-wiki --skill llmwiki-query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llmwiki-query, .gemini/skills/llmwiki-query, .github/skills/llmwiki-query and .opencode/skills/llmwiki-query in your project.

What does Llmwiki Query need to run?

SKILL.md names no scripts, command-line tools or credentials: Llmwiki Query is instructions for the agent only.

Does Llmwiki Query access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Llmwiki Query safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Llmwiki Query use?

Llmwiki Query is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Llmwiki Query use?

About 684 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Llmwiki Query?

Skills that share tags, products or a category with Llmwiki Query: Arkon Edit (nduckmink/arkon, 1.5k stars), Arkon Query (nduckmink/arkon, 1.5k stars), LLM Wiki (zosmaai/pi-llm-wiki, 608 stars) and Arkon Review (nduckmink/arkon, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Llmwiki Query?

Pratiyush (a GitHub user) maintains it in Pratiyush/llm-wiki, which has 397 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 18, 2026.

Source: Pratiyush/llm-wiki on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.