query-writeback

query-writeback is a skill for Claude Code, Codex from AIwork4me/open-llm-wiki. It costs 82 tokens per session (1,142 once invoked), scanned A, original, MIT.

A wiki research tool for answering questions that require comparing or connecting several source and concept pages. It can also prepare reusable summaries for adding back to concept pages when file changes are allowed.

In plain words
What is it for?
Use it to trace relationships between concepts, compare information across sources, check claims and measurements, and prepare reviewed updates to wiki pages.
Why use it?
It removes the need to search multiple wiki pages manually and keep the connections in your head. It also supports reviewing proposed changes before they are written.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/wiki_search.py "<vault>" "<query>" --limit 8.

Good fit Use it to trace relationships between concepts, compare information across sources, check claims and measurements, and prepare reviewed updates to wiki pages.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/AIwork4me/open-llm-wiki
agentmods
npx agentmods add skills/aiwork4me/open-llm-wiki/query-writeback

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 query-writeback

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiwork4me/open-llm-wiki/query-writeback"><img src="https://agentmods.dev/badge/skills/aiwork4me/open-llm-wiki/query-writeback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00082 $0.01142
Opus 5.5 $0.00033 $0.00457
Sonnet 5.5 $0.00016 $0.00228
Haiku 4.5 $0.00008 $0.00114

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

Security

Grade A, and why

query-writeback 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 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.

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/query-writeback/SKILL.md · 145 lines

How it starts

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

Query Writeback

Use the wiki to answer synthesis questions, then preserve high-value synthesis only when file changes are authorized.

Runtime Tools

Use deterministic scripts when available:

  • wiki_search.py to find relevant source and concept pages
  • wiki_claims.py and claims/claims.jsonl to inspect normalized durable claims
  • wiki_normalize_metrics.py when comparisons depend on units, baselines, or protocols
  • wiki_semantic_qa.py when the answer depends on claim-level evidence quality
  • wiki_science_review.py when a high-stakes synthesis needs human or second-LLM review
  • wiki_writeback.py to produce a reviewable diff before changing files
  • wiki_lint.py after approved writeback

Example:

uv run python scripts/wiki_search.py "<vault>" "<query>" --limit 8
uv run python scripts/wiki_claims.py "<vault>"
uv run python scripts/wiki_normalize_metrics.py "<vault>" --in-place
uv run python scripts/wiki_writeback.py "<vault>" --target concepts/<page>.md --query "<query>" --body-file <draft.md>

Trigger Boundary

Use this skill for questions that require cross-source synthesis:

  • relationships between concepts
  • comparisons across papers
  • timelines or evolution paths
  • recurring questions that would benefit from a reusable concept note

Do not use it for simple factual lookup, casual chat, non-wiki topics, or questions where a single source page already gives the answer.

File-Safety Boundary

  • Read from the resolved wiki vault only.
  • Answering is read-only by default.
  • Writeback requires explicit user approval unless the current instruction has already authorized automatic wiki growth.
  • Before writing, show the target files and a short summary of the proposed additions.
  • Never rewrite a whole concept page when a targeted insertion is enough.
  • Never update sources/ or QA reports from this skill. Use wiki-ingest for source changes.
  • Always append a log.md entry for approved writeback.

Workflow

1. Resolve Scope

Read the full file on GitHub · 145 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 · 145 lines · 82 tokens per session scan A c1e1aa2bf981

Subscribe to this mod's changes

query-writeback is a skill published in the GitHub repository AIwork4me/open-llm-wiki (2 stars, last pushed 5mo ago), licensed MIT. It adds 82 tokens to every session and 1,142 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

Other skills, from other repositories

llmwiki

Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation. Use for llmwiki projects, retrieving reusable evidence for an agent task, or compiling a corpus for repeated questions. A one-off file read or live web search does not need a wiki.

atomicstrata/llm-wiki-compiler · 66 tokens

llm-wiki

Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).

zosmaai/pi-llm-wiki · 52 tokens

link-memory

Use after important user-approved decisions, when durable context should be proposed or reviewed, and for explicit Link memory lifecycle work: remember, recall, review, update, archive, restore, forget, or explain local memories through the CLI without requiring MCP.

gowtham0992/link · 0 tokens

link-retrieve

Use before answering work that may depend on user memory, project history, source-backed notes, or prior decisions; retrieve compact Link context through the CLI without loading the whole wiki or requiring MCP.

gowtham0992/link · 42 tokens

link-health

Use at the start of Link work when readiness is unclear, after installs or upgrades, and before repairs; verify health, inspect interrupted writes, back up, and repair generated indexes without MCP.

gowtham0992/link · 41 tokens

link-ingest

Use when raw files are present, source pages look stale, or a user asks to ingest notes into Link; refresh source-backed wiki pages, propose memories, and validate updates through the CLI without MCP.

gowtham0992/link · 44 tokens