guild-wiki-query

guild-wiki-query is a skill for Claude Code, Codex from lookatitude/guild. It costs 0 tokens per session (2,415 once invoked), scanned A, original, MIT.

A read-only search tool for a project wiki stored in .guild/wiki/. It can search page text and filter results by category, owner, confidence, or update date, then trace summaries back to their original files or URLs.

In plain words
What is it for?
Use it to find project knowledge, load pages by role, filter trusted or recent information, and retrieve the source behind a summary.
Why use it?
It avoids manually browsing many wiki pages and helps answer where stored knowledge came from. For larger wikis, it can use a separate memory service if available.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the guild plugin — 19 skills, 22 commands, 13 agents, 10 hooks, 2 MCP servers shipped together

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.

agentmods
npx agentmods add skills/lookatitude/guild/wiki-query
Any agent
npx skills add lookatitude/guild --skill wiki-query
Clone the repo
git clone --depth 1 https://github.com/lookatitude/guild

Made for: Claude Code, Codex.

Or install guild, the plugin that ships this one along with the rest of its 19 skills, 22 commands, 13 agents, 10 hooks, 2 MCP servers.

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 guild-wiki-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/lookatitude/guild/wiki-query.svg)](https://agentmods.dev/skills/lookatitude/guild/wiki-query)
Your own site
<a href="https://agentmods.dev/skills/lookatitude/guild/wiki-query"><img src="https://agentmods.dev/badge/skills/lookatitude/guild/wiki-query.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.02415
Opus 5 $0.00000 $0.01208
Sonnet 5 $0.00000 $0.00483
Haiku 4.5 $0.00000 $0.00242

Measured 4d ago against content hash ce77259643a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

guild-wiki-query 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 4d 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.

skills/knowledge/wiki-query/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

guild:wiki-query

Implements the knowledge layer query contract: wiki structure + filterable frontmatter, load-by-role categorization, scale-transition (rg/filesystem under ~200 pages, guild-memory MCP above), and the read side of the memory write path that all specialists depend on.

Read-only counterpart to guild:wiki-ingest. Every page that skill writes carries a source_refs: [<slug>] back-citation into .guild/raw/sources/<slug>/; this skill honors it so "where does this come from" always returns the original URL or file path, not just the LLM summary.

Input

  • query (required) — free-text, matched against page body and frontmatter. An empty query is allowed only when at least one filter is set.
  • filters (optional, combinable):
    • categorycontext | standard | product | entity | concept | decision | source (the type: enum). Mapped internally to the plural directory (standardstandards/). Reject plural forms with an error pointing at the singular enum.
    • owner — specialist slug; matches owner:.
    • confidencelow | medium | high; matches exactly.
    • updated_since — ISO-8601 date; returns pages with updated_at: on or after it.
    • tag — matched against a tags: array if present, else against body headings.
  • source_resolve (optional, default true) — dereference each result's source_refs: to .guild/raw/sources/<slug>/metadata.json and include the original URL/path.

If the caller passes an unknown category, reject the query with the list of valid categories — never silently fall back to a full-wiki walk.

Search strategy

Two paths, chosen by scale; pick one per invocation (no mid-query switching):

  • Under ~200 pages — ripgrep + filesystem (default). Search root = .guild/wiki/<category>/ if category set, else .guild/wiki/ (excluding index.md, log.md, lint-*.md). Full-text match via Grep (case-insensitive by default), Glob to enumerate when only filters are set. Extract the frontmatter block and filter on owner/confidence/updated_since/tag — never regex-parse YAML. Rank exact-phrase > bag-of-words > frontmatter-only, tie-break updated_at desc then confidence high→low. Cap 20 (raise via limit).
  • Above ~200 pages — guild-memory MCP (optional, P6). First check mcp.stdio_available (resolved config) — see ## MCP-availability gate: when false, the MCP stdio transport is declared unavailable, so do not attempt the MCP call; route to fsScan instead. When true, delegate to its BM25 search; post-filter confidence/updated_since if unsupported; on an unreachable MCP despite stdio_available: true, fall back to fsScan (or ripgrep) and note the degradation.

Read the full file on GitHub · 98 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 98 lines · 0 tokens per session scan A ce77259643a1

Subscribe to this mod's changes

guild-wiki-query is a skill published in the GitHub repository lookatitude/guild (7 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,415 tokens. 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-08-31.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

auditing-subgroup-fairness

Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…

maziyarpanahi/openmed · 148 tokens

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens