markdown-vault-query

markdown-vault-query is a skill for Claude Code, Codex from CloudChef/atlasclaw-providers. It costs 22 tokens per session (1,595 once invoked), scanned A, original, Apache-2.0.

A read-only search tool for a local Markdown vault, such as a notes or documentation knowledge base. It returns matching passages with file paths, headings and line references.

In plain words
What is it for?
Use it to answer questions from local documentation, wikis, runbooks and other Markdown-based knowledge bases with citations.
Why use it?
It helps find evidence in internal notes without changing the vault or manually opening many files.

Skill for Claude CodeCodex

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

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/cloudchef/atlasclaw-providers/markdown-vault-query
Any agent
npx skills add CloudChef/atlasclaw-providers --skill markdown-vault-query
Clone the repo
git clone --depth 1 https://github.com/CloudChef/atlasclaw-providers

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 markdown-vault-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloudchef/atlasclaw-providers/markdown-vault-query.svg)](https://agentmods.dev/skills/cloudchef/atlasclaw-providers/markdown-vault-query)
Your own site
<a href="https://agentmods.dev/skills/cloudchef/atlasclaw-providers/markdown-vault-query"><img src="https://agentmods.dev/badge/skills/cloudchef/atlasclaw-providers/markdown-vault-query.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,595 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.1 $0.00022 $0.01595
Opus 5 $0.00011 $0.00797
Sonnet 5 $0.00004 $0.00319
Haiku 4.5 $0.00002 $0.00160

Measured 6d ago against content hash a7d25855edff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

markdown-vault-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 6d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/__init__.py, scripts/get.py, scripts/search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

providers/markdown-vault/skills/markdown-vault-query/SKILL.md · 138 lines

How it starts

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

markdown-vault-query

Use this skill when the user wants answers grounded in a configured Markdown vault.

Workflow

  1. Analyze the question before searching. Extract useful keywords: product names, cloud/provider names, system names, aliases, English/Chinese variants, and likely typo corrections. Prefer domain terms over generic words; the provider down-weights vault-specific common tokens, but precise keywords still improve the top results.
  2. Call markdown_vault_search for knowledge-base, internal-doc, wiki, runbook, or vault-note questions. Pass both the original query and the expanded keywords.
  3. Read the returned text, path, heading_path, and line range as internal evidence. The returned text is not a final answer.
  4. Do not pass path_filter for ordinary Q&A. It is only a vault-relative path constraint, in the same format as returned result path values.
  5. Use path_filter only when the user explicitly gives a vault-relative directory/file path, or when a previous search result path should be used to narrow a follow-up search. Do not derive path_filter from product names, provider names, provider instance names, knowledge-base names, or topic words.
  6. If the top results are too narrow or ambiguous, search again with clearer keywords first. Add path_filter only when the path is explicit or came from prior search evidence.
  7. Call markdown_vault_get on the most relevant path and line range when surrounding context matters.
  8. Answer with a natural-language synthesis: start with the conclusion or support judgment, then give the minimal supporting details and citations. If the evidence text already contains headings or bullet fields, paraphrase and compress them instead of copying the block.
  9. Final answers must not contain the literal Source: label. Cite evidence in prose, for example from path.md or an inline parenthetical citation, and cite each path at most once.

Evidence Rules

  • Do not use this provider for every factual question. Use it only when the user intent is document or knowledge-base grounded.
  • If no result is returned, say the current knowledge base has no matching evidence.
  • Do not claim that an answer came from the vault unless it is supported by returned search or get output.
  • Never return raw search results as the final answer. Do not concatenate result blocks, repeated ### ... headings, - Source: sections, JSON payloads, or copied text fields. Use at most the most relevant citations needed to support the answer.
  • Specifically, a block that starts with ### ... and then - Source: ... is a vault evidence block, not a final answer format. Convert it into a concise conclusion and a few bullets; cite the source once instead of repeating source headings.
  • If multiple search/get results point to the same file, merge them into one answer section. Do not create one section per returned chunk.
  • Python retrieval only ranks and bounds Markdown evidence. The Agent LLM remains responsible for final answer synthesis and support judgment.

Read the full file on GitHub · 138 lines

Files

What ships with it

3 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. 6d ago First seen · 138 lines · 22 tokens per session scan A a7d25855edff

Subscribe to this mod's changes

markdown-vault-query is a skill published in the GitHub repository CloudChef/atlasclaw-providers (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,595 once invoked, about $0.0001 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.