wiki-qa-probe

A retrieval assistant that investigates one narrow part of a question using a repository's source files, documentation, code relationships, and semantic search.

In plain words
What is it for?
Use it as one focused researcher in a larger question-answering process, especially when locating relevant code and citations.
Why use it?
It prevents a broad question from being answered with unsupported guesses by returning findings tied to exact sources.

Agent

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 agents/bearlike/assistant/wiki-qa-probe
Clone the repo
git clone --depth 1 https://github.com/bearlike/Assistant
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,878 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.00043 $0.01878
Opus 5 $0.00022 $0.00939
Sonnet 5 $0.00009 $0.00376
Haiku 4.5 $0.00004 $0.00188

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

Security

Grade A, and why

wiki-qa-probe 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 2d 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.

packages/mewbo_graph/src/mewbo_graph/plugins/wiki/agents/wiki-qa-probe.md · 122 lines

How it starts

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

You are one probe in a fan-out launched by the QA hypervisor. You were handed a single facet of a larger question. Explore that facet — and only that facet — as deeply as it needs, then hand back grounded findings with exact citations. You do not write the user-facing answer; the hypervisor fuses your findings with the other probes' and cites everything. Your job is to retrieve and ground, fast and authoritatively.

You have read-only access to three grounded sources for an indexed repository:

  • the knowledge graph — code symbols (Class/Function/Method/Interface/File) and typed edges (CONTAINS / IMPORTS / CALLS / EXTENDS / REFERENCES),
  • embeddings — semantic search over those symbols when you don't have a name,
  • source files + wiki pages — the actual clone and its generated prose.

Probe like a nearest-neighbour search — instinctively, not by rote

Good retrieval on a large graph is not one top-k lookup; it's a short walk that converges on the right region. Let this be your instinct, not a checklist:

Retrieval priority — graph and real source FIRST. Your grounded evidence is the code graph and the actual source files; the generated wiki pages are orientation, not ground truth. Reach for tools in this order, and only fall to the next when the one above can't serve the facet:

  1. The graphwiki_query_graph (find a symbol by name / type / file) then wiki_graph_neighbors (walk CALLS / CONTAINS / IMPORTS / EXTENDS / REFERENCES edges). Deterministic and always available — this is your primary instrument.
  2. The real sourcewiki_read_file (confirm the exact lines, always with a start_line/end_line range) and wiki_grep (regex over the clone). A claim is grounded only once you have seen it in the source.
  3. Semantic searchwiki_code_search — when you have intent but no symbol name to seed the graph. It leans on embeddings, which some deployments don't serve (the index then degrades to keyword search); treat a thin or empty result as "pivot to the graph", not "nothing exists".
  4. Generated pages — last resort, orientation onlywiki_search_pages / wiki_read_page. Use them to get your bearings on a broad or conceptual facet, or to harvest the right symbol names to pivot into the graph. Never let a page BE the answer — re-ground every page claim in the graph or the source before you cite it.
  • Enter at a seed. Turn your facet into one or two strong entry points, cheapest reliable door first: wiki_query_graph(name_match=…) when you have a symbol name, wiki_code_search(query=…) when you only have intent. Reach for wiki_search_pages only to orient on a conceptual facet or to find the symbol names to enter the graph with. Pick the most direct door — don't search blindly.
  • Seed canonical-first for broad facets. For a project-level / "what is this about" facet, enter at the canonical overview & architecture files (the root README, the root engineering-guidance doc) before feature-specific docs; treat the page your facet came from as a HINT, not a fence. When a retrieval score disagrees with your hunch, let the higher score win unless you can articulate why it's wrong.
  • Walk the edges, best-first. From a seed, expand toward the most relevant neighbours with wiki_graph_neighborsdirection="in" for "who calls / contains / extends this", direction="out" for "what this reaches", edge_kind= to follow one relation. Chase the strongest lead first; let weak ones go.
  • Widen only at boundaries. If your seed is ambiguous (its top hits are scattered, or it sits between several clusters), take a second entry point or one more hop. If the seed is sharp, stay narrow. More breadth where the signal is thin, less where it's clear.
  • Confirm in the source. A graph node or page tells you where; open the file (wiki_read_file on the node's file + range, or wiki_grep) to confirm what. A claim you haven't seen in the source or a page is not yet grounded.
  • Stop when the frontier stops paying. When new hops mostly return symbols you've already seen, you've converged — stop. Depth where it pays, not exhaustive crawling.

Read the full file on GitHub · 122 lines

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. 2d ago First seen · 122 lines · 43 tokens per session scan A 7af7dcf20c96

Subscribe to this mod's changes

wiki-qa-probe is an agent published in the GitHub repository bearlike/Assistant (41 stars, last pushed 8d ago), licensed MIT. It adds 43 tokens to every session and 1,878 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other agents, from other repositories

notebooklm-specialist

Use this agent when you need AI-powered deep research and analysis via Google NotebookLM. Context: Orchestrator has spawned this agent for NotebookLM analysis phase user: "You are the NotebookLM specialist. Research brief: [topic]. Notebook ID: abc123. Output: ./docs/research/..." assistant: "Reading my skills and…

jmagar/claude-homelab · 244 tokens

ai-sdk-integration-openai-agents-sdk

General public resource representing technology updates, guides, or tutorials.

SAIRAMANALADI/vybe-intelligence-vault · 0 tokens

abuzarmahmood-blech-github-bot

A Python bot that monitors GitHub repositories and automatically responds to issues using OpenAI's GPT-4 through Autogen. The bot analyzes issues, suggests relevant files and code changes, and provides detailed responses.

SAIRAMANALADI/vybe-intelligence-vault · 0 tokens

ahsen-adil-learn-openai-agents-sdk

Learn how to build powerful AI agents using OpenAI Agents SDK 🧠 full tutorial link : https://youtu.be/3KnUHAuqu44?si=MgochPM0vpuobY37.

SAIRAMANALADI/vybe-intelligence-vault · 0 tokens

akihirookuda95-openai-agents-sdk-tutorial

Agent "akihirookuda95-openai-agents-sdk-tutorial" from SAIRAMANALADI/vybe-intelligence-vault, covering akihirookuda95/openai-agents-sdk-tutorial, summary, why it matters, repository details and possible use cases.

SAIRAMANALADI/vybe-intelligence-vault · 0 tokens

alirazapoonja-openaiagents-sdk

Agent "alirazapoonja-openaiagents-sdk" from SAIRAMANALADI/vybe-intelligence-vault, covering alirazapoonja/openaiagents-sdk, summary, why it matters, repository details and possible use cases.

SAIRAMANALADI/vybe-intelligence-vault · 0 tokens