wiki-query-api

wiki-query-api is a skill for Claude Code, Codex from rossoctl/examples. It costs 0 tokens per session (998 once invoked), scanned A, original, Apache-2.0.

A search and reading tool for a wiki memory service through a local REST API. A REST API is a way for programs to exchange data over HTTP.

In plain words
What is it for?
Use it to list topics, search within one topic or across all topics, read pages, inspect activity, find backlinks, and browse tags through the wiki API.
Why use it?
It helps an agent find and retrieve stored wiki information without manually opening pages. The service must be running locally and may require authentication.

Skill for Claude CodeCodex

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

Good fit Use it to list topics, search within one topic or across all topics, read pages, inspect activity, find backlinks, and browse tags through the wiki API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rossoctl/examples/wiki-query-api
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 rossoctl/examples --skill wiki-query-api
Clone the repo
git clone --depth 1 https://github.com/rossoctl/examples

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rossoctl/examples/wiki-query-api/github.svg)](https://agentmods.dev/skills/rossoctl/examples/wiki-query-api)
Your own site
<a href="https://agentmods.dev/skills/rossoctl/examples/wiki-query-api"><img src="https://agentmods.dev/badge/skills/rossoctl/examples/wiki-query-api/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 wiki-query-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/rossoctl/examples/wiki-query-api"><img src="https://agentmods.dev/badge/skills/rossoctl/examples/wiki-query-api.svg" alt="Reviewed on agentmods" width="80" 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 998 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 29
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00000 $0.00998
Opus 5.5 $0.00000 $0.00399
Sonnet 5.5 $0.00000 $0.00200
Haiku 4.5 $0.00000 $0.00100

Measured 1mo ago against content hash bacf37892988, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wiki-query-api scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:8321/topics \
mcp/wiki_memory_tool/skills/wiki-query-api/SKILL.md · 125 lines

How it starts

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

kwiki Query Agent (REST API)

Query the wiki memory service via REST API on behalf of a user.

Prerequisites

The wiki service must be running on http://localhost:8321.

Authentication

Option A: GitHub OAuth Token

Authorization: Bearer <wiki-jwt-token>

Option B: SPIFFE Headers (agent OBO user)

X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent
X-Original-Subject: [email protected]

Procedure

1. List Topics

curl -s http://localhost:8321/topics \
  -H "X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent" \
  -H "X-Original-Subject: [email protected]"

2. Search a Topic

curl -s -X POST http://localhost:8321/topics/{topic_id}/query \
  -H "X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent" \
  -H "X-Original-Subject: [email protected]" \
  -H "Content-Type: application/json" \
  -d '{"query": "search terms", "limit": 10}'

3. Global Search (across all topics)

curl -s -X POST http://localhost:8321/search \
  -H "X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent" \
  -H "X-Original-Subject: [email protected]" \
  -H "Content-Type: application/json" \
  -d '{"query": "search terms", "limit": 10}'

4. Read a Page

curl -s http://localhost:8321/topics/{topic_id}/pages/{path} \
  -H "X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent" \
  -H "X-Original-Subject: [email protected]"

5. Activity Feed

# Global
curl -s http://localhost:8321/activity \
  -H "X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent" \
  -H "X-Original-Subject: [email protected]"

# Topic-specific
curl -s "http://localhost:8321/topics/{topic_id}/activity?limit=10" \
  -H "X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent" \
  -H "X-Original-Subject: [email protected]"

6. Backlinks

curl -s http://localhost:8321/topics/{topic_id}/backlinks/{path} \
  -H "X-Spiffe-Id: spiffe://rossoctl.example.com/ns/wiki-system/sa/query-agent" \
  -H "X-Original-Subject: [email protected]"

Read the full file on GitHub · 125 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. 1mo ago First seen · 125 lines · 0 tokens per session scan A bacf37892988

Subscribe to this mod's changes

wiki-query-api is a skill published in the GitHub repository rossoctl/examples (11 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 998 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.