blz-docs-search

blz-docs-search is a skill for Claude Code, Codex from outfitter-dev/blz. It costs 68 tokens per session (721 once invoked), scanned A, original, MIT.

Instructions for searching indexed technical documentation with the blz command-line tool, which uses keyword-based full-text search.

In plain words
What is it for?
Use it to look up library and framework APIs, usage instructions, code examples, and supporting documentation citations.
Why use it?
They help find relevant documentation and retrieve the exact referenced passages instead of guessing API behavior or examples.

Skill for Claude CodeCodex

Part of the blz plugin — 2 skills, 10 commands, 7 agents, 1 hook, 1 MCP server 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/outfitter-dev/blz/blz-docs-search
Any agent
npx skills add outfitter-dev/blz --skill blz-docs-search
Clone the repo
git clone --depth 1 https://github.com/outfitter-dev/blz

Made for: Claude Code, Codex.

Or install blz, the plugin that ships this one along with the rest of its 2 skills, 10 commands, 7 agents, 1 hook, 1 MCP server.

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 blz-docs-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/outfitter-dev/blz/blz-docs-search.svg)](https://agentmods.dev/skills/outfitter-dev/blz/blz-docs-search)
Your own site
<a href="https://agentmods.dev/skills/outfitter-dev/blz/blz-docs-search"><img src="https://agentmods.dev/badge/skills/outfitter-dev/blz/blz-docs-search.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 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.00068 $0.00721
Opus 5 $0.00034 $0.00360
Sonnet 5 $0.00014 $0.00144
Haiku 4.5 $0.00007 $0.00072

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

Security

Grade A, and why

blz-docs-search 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.

packages/agents/skills/blz-docs-search/SKILL.md · 87 lines

How it starts

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

BLZ Search Patterns

Fast local documentation search using blz. Search is local, free, and fast (~6ms) - try many queries.

Key Concepts

Full-text search, not semantic: blz uses BM25 ranking. Query with keywords that appear in docs:

  • Good: "useEffect cleanup", "test configuration", "HTTP server"
  • Bad: "How do I use useEffect?", "What's the best way to..."

Citations: Results include citations like bun:304-324 (source:start-end lines). Use these with blz find to retrieve content.

Quick Patterns

# Check available sources first
blz list --status --json

# Basic search
blz "test runner" --json

# Search specific source
blz "hooks" --source react --json

# Retrieve by citation
blz find bun:304-324 --json

# Retrieve with full section context
blz find bun:304-324 --context all --json

# Retrieve with surrounding lines
blz find bun:304-324 -C 5 --json

# Batch retrieve multiple citations
blz find bun:304-324 deno:500-520 --json

Search Strategy

  1. Start specific: Use precise technical terms
  2. Try variations: Synonyms, abbreviations, alternate terms
  3. Check sources: Verify relevant docs are indexed
  4. Multiple searches: Run 3-5 different queries - it's fast
  5. Narrow by source: Use --source when you know the library

Retrieval Options

Flag Use When
--json Always (structured output)
--context all Need full section
-C N Need N lines before/after
-A N / -B N Asymmetric context
--max-lines N Limit large sections

Common Pitfalls

  • Semantic queries: "Compare X vs Y" won't work. Search "X" and "Y" separately.
  • Too broad: "authentication" returns too much. Try "JWT auth", "OAuth flow".
  • Missing sources: Check blz list first. Add sources with blz add.
  • One search only: Try multiple query variations.

MCP Alternative

For structured operations, MCP tools are also available:

// Search documentation
mcp__blz__blz_find({ query: "test runner" })

// Retrieve citations
mcp__blz__blz_find({ snippets: ["bun:304-324"] })

// List available sources
mcp__blz__blz_list_sources()

// Add new source
mcp__blz__blz_add_source({ alias: "react", url: "https://react.dev/llms.txt" })

// Learn blz usage
mcp__blz__blz_learn({})

Read the full file on GitHub · 87 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. 4d ago First seen · 87 lines · 68 tokens per session scan A e09d32a70a92

Subscribe to this mod's changes

blz-docs-search is a skill published in the GitHub repository outfitter-dev/blz (27 stars, last pushed 23d ago), licensed MIT. It adds 68 tokens to every session and 721 once invoked, about $0.0003 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 skills, from other repositories

seller-research

Use when researching a merchant, storefront, marketplace seller, or merchant of record for a buying decision, especially when identity, refund terms, fulfillment, counterfeit risk, domain history, or independent buyer outcomes are uncertain.

cinderline/northcinder · 46 tokens

product-research

Use when researching or comparing a specific product, model, or variant for a buying decision, especially when specifications conflict, fit or compatibility matters, retailer copy dominates, or the evidence may be incomplete.

cinderline/northcinder · 43 tokens

anyr

Use when reading, searching, creating, or updating Anytype documents (objects, spaces, types, properties, files, chats) from the command line with the configured anyr CLI, including JSON output patterns for scripting.

stevelr/anytype · 46 tokens

vault-for-llm

Connect OpenClaw to Vault Agent Memory as a local-first governed project memory layer. Search first, then bounded-read cited source ranges; propose new memories as candidates instead of writing directly into active memory.

zycaskevin/Vault-Agent-Memory · 46 tokens

skills

Your next session starts cold. No memory of what you built, what broke, what you decided. Every memory you write is a gift to that future session. The richer the memory, the less time re-learning.

jackccrawford/Geniuz · 0 tokens

rust-modern-style

Apply rag-rat's Rust style when writing or reviewing Rust: current stable idioms, module-qualified free functions and constants, explicit persistence contracts, and narrow APIs.

cq27-dev/rag-rat · 37 tokens