Agent skill

Query

by jackwener in jackwener/llm-wiki

Answer questions from an LLM Wiki vault. An agent skill from jackwener/llm-wiki.

Apache-2.0Auto-check passedKnowledge Management

Install Query

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

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

GitHub CLI
$ gh skill install jackwener/llm-wiki 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/jackwener/llm-wiki.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/query .claude/skills/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
query
GitHub stars
104
Token cost
~479 tokens
SKILL.md length
219 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Answer questions from an LLM Wiki vault. An agent skill from jackwener/llm-wiki.

  • Works in 5 steps: Find the vault and read wiki-purpose.md;… → Search with llm-wiki search "". Use… → Read the matched pages and follow… → …
  • The user invokes /query
  • SKILL.md covers Workflow and When knowledge should compound
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Query is an agent skill from jackwener/llm-wiki. Answer questions from an LLM Wiki vault. Use whenever the user invokes /query, asks what the wiki knows about a topic, or needs an evidence-grounded synthesis of existing wiki pages and their links.

Its SKILL.md is about 480 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. The repository describes itself as: Agent-native persistent knowledge management — compile knowledge once, query forever. The licence is Apache-2.0.

When your agent uses it

  • The user invokes /query
  • Asks what the wiki knows about a topic
  • Needs an evidence-grounded synthesis of existing wiki pages and their links

Example prompts

  • “/query”

Workflow steps

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

  1. Find the vault and read wiki-purpose.md; confirm that the question falls
  2. Search with llm-wiki search "". Use --bm25-only only when
  3. Read the matched pages and follow relevant [[wikilinks]] and ## Related
  4. Give a direct answer grounded in the pages. Cite pages as [[slug]], state
  5. If the wiki lacks enough evidence, say so and suggest specific material to

What it can do on your machine

Read from SKILL.md and the folder at commit cd54666. 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 yaml).

    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

Query loads about 479 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 219 words of instructions outside code blocks.

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

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 jackwener/llm-wiki at commit cd54666, republished under its Apache-2.0 licence (© jackwener). 219 words, ~479 tokens.

Download SKILL.mdSave it as .claude/skills/query/SKILL.md (or your agent's skills folder).
name
query
description
Answer questions from an LLM Wiki vault. Use whenever the user invokes `/query`, asks what the wiki knows about a topic, or needs an evidence-grounded synthesis of existing wiki pages and their links.

Query an LLM Wiki

Answer from the maintained wiki, then capture only durable synthesis that makes future queries more useful.

Workflow

  1. Find the vault and read wiki-purpose.md; confirm that the question falls within its intended scope. Read wiki-schema.md for local conventions.
  2. Search with llm-wiki search "<question>". Use --bm25-only only when vector search is unavailable or inappropriate. Scan wiki/ for exact terms if needed.
  3. Read the matched pages and follow relevant [[wikilinks]] and ## Related sections. Use the graph as context rather than treating search ranking as the answer.
  4. Give a direct answer grounded in the pages. Cite pages as [[slug]], state uncertainty, distinguish evidence from inference, and surface conflicts or gaps instead of guessing.
  5. If the wiki lacks enough evidence, say so and suggest specific material to ingest. Do not fill gaps from unsaved external knowledge.

When knowledge should compound

Write back only a non-trivial, high-confidence synthesis: for example, a new connection among at least three pages, a resolved contradiction, or a useful comparison absent from all source pages. Do not create a page for a simple lookup or speculative conclusion.

For a durable synthesis, create a focused wiki page with complete frontmatter:

yaml
---
title: Synthesis Title
description: One-line summary
tags: [synthesis]
sources: [contributing-page-slugs]
source_type: query-synthesis
created: YYYY-MM-DD
updated: YYYY-MM-DD
---

Link it to the contributing pages, append a query entry to wiki-log.md, and run llm-wiki sync. Do not modify anything under sources/.

© jackwener, Apache-2.0. 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 skills/query of jackwener/llm-wiki.

Open the folder on GitHubat commit cd54666

Compare with similar skills

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.

Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Query this skilljackwener/llm-wiki104—~479Automated safety check: PassApache-2.0
Karpathy LLM WikiAstro-Han/karpathy-llm-wiki2.4k—~3.6kAutomated safety check: PassMIT
LLM Wiki Knowledge GraphEgonex-AI/Understand-Anything85k1 repos~1.5kAutomated safety check: PassMIT
Hermes History IngestAr9av/obsidian-wiki3.5k1 repos~2.2kAutomated safety check: NotesMIT
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Wiki Builderrohitg00/pro-workflow2.9k—~1kAutomated safety check: PassNone

Similar skills

  • Karpathy LLM Wiki

    Astro-Han/karpathy-llm-wiki

    A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.

    2.4k GitHub stars~3.6k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki Knowledge Graph

    Egonex-AI/Understand-Anything

    Detects a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit relationships and topic clusters.

    85k GitHub starsUsed in 1 repo~1.5k tokens
    Knowledge ManagementAuto-check passed
  • Hermes History Ingest

    Ar9av/obsidian-wiki

    Ingest Hermes agent history into Obsidian as distilled knowledge.

    3.5k GitHub starsUsed in 1 repo~2.2k tokens
    Knowledge ManagementAuto-check: notes
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Wiki Builder

    rohitg00/pro-workflow

    Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base.

    2.9k GitHub stars~1k tokensUpdated 8 days ago
    Knowledge ManagementAuto-check passed
  • Wiki Query

    rohitg00/pro-workflow

    Query pro-workflow wikis via SQLite FTS5 BM25 retrieval. An agent skill from rohitg00/pro-workflow.

    2.9k GitHub starsUsed in 1 repo~554 tokens
    Knowledge ManagementAuto-check passed

More from jackwener/llm-wiki

  • Ingest

    jackwener/llm-wiki

    Ingest source material into an LLM Wiki vault. An agent skill from jackwener/llm-wiki.

    104 GitHub stars~689 tokensUpdated 2 mo ago
    Auto-check passed
  • Lint

    jackwener/llm-wiki

    Audit and safely maintain an LLM Wiki vault. An agent skill from jackwener/llm-wiki.

    104 GitHub stars~450 tokensUpdated 2 mo ago
    Auto-check passed
  • Research

    jackwener/llm-wiki

    Research a topic for an LLM Wiki vault. An agent skill from jackwener/llm-wiki.

    104 GitHub stars~516 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Query

What does Query do?

Answer questions from an LLM Wiki vault. An agent skill from jackwener/llm-wiki. Query is an agent skill from jackwener/llm-wiki. Answer questions from an LLM Wiki vault.

When should I use Query?

Query fits situations like: the user invokes /query; asks what the wiki knows about a topic; needs an evidence-grounded synthesis of existing wiki pages and their links.

How do I install Query in Claude Code?

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

How do I install Query in Codex?

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

Can I use 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 jackwener/llm-wiki --skill 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/query, .gemini/skills/query, .github/skills/query and .opencode/skills/query in your project.

What does Query need to run?

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

Does 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 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 Query use?

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

How many tokens does Query use?

About 479 tokens (SKILL.md is roughly 1.9k 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 Query?

Skills that share tags, products or a category with Query: Karpathy LLM Wiki (Astro-Han/karpathy-llm-wiki, 2.4k stars), LLM Wiki Knowledge Graph (Egonex-AI/Understand-Anything, 85k stars), Hermes History Ingest (Ar9av/obsidian-wiki, 3.5k stars) and LLM Wiki (lewislulu/llm-wiki-skill, 655 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Query?

jackwener (a GitHub user) maintains it in jackwener/llm-wiki, which has 104 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on July 10, 2026.

Source: jackwener/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.