v0.2.0 github ↗

A CLI for devdocs.io content. Search and read development documentation from the terminal or from automated workflows — scripts, editor integrations, LLM tool-use loops.

$ curl -fsSL https://raw.githubusercontent.com/jctosta/locadoc/main/install.sh | bash

Demo: install, download docsets, search, read — end-to-end.

What it does

Commands

locadoc docsFetch the manifest of available docsets.
locadoc lsList installed docsets (--all for the full manifest).
locadoc downloadInstall one or more docsets.
locadoc updateRe-download stale docsets.
locadoc removeUninstall a docset.
locadoc searchQuery installed docsets.
locadoc readRender a page as Markdown, ANSI, or HTML.
locadoc skillManage the Claude Code skill integration.
locadoc self-updateUpgrade the binary from the latest release.
locadoc doctorSanity-check the installation.

Use with Claude Code

Skill integration

locadoc ships with a Claude Code skill that teaches the model when and how to use it. Install it once and any future Claude Code session picks it up automatically.

locadoc skill install

The skill auto-triggers on API / library documentation questions and includes allowed-tools: Bash(locadoc:*), so Claude doesn't need to ask for permission on every invocation.

AI / automation

Schemas are stable within 0.x — safe to consume from scripts and LLM tool calls.

$ locadoc search 'promise.all' --json --limit 1 \
    | jq -r '.[0] | "\(.docset) \(.path)"' \
    | xargs -n2 locadoc read --json \
    | jq -r '.markdown'

See the JSON schemas and exit codes in the README.