Version-accurate library docs for AI coding agents.
ASK downloads version-specific library docs and generates AGENTS.md + Claude Code skills so your agent reads real code at the version your project actually runs — not last year's training snapshot.
Pinned to your lockfile
ASK resolves versions from bun.lock, package-lock.json, pnpm-lock.yaml, or yarn.lock — every read reflects the version your project actually installs.
Generates AGENTS.md
Each library lands as a Claude Code skill under .claude/skills/<name>-docs/SKILL.md, indexed by a single auto-generated AGENTS.md block.
Works with npm, PyPI, Go, Crates, Pub, Hex, NuGet, Maven
The ASK Registry maps ecosystem specs (npm:react, pypi:fastapi, crates:tokio) to their GitHub source and docs path. Bare owner/repo works too.
ask install # resolve every entry in ask.json
ask add npm:next # add a library and regenerate AGENTS.md
ask docs zod # print candidate doc paths for the version in lockfile
ask src facebook/react # print the cached checkout root
One-shot reading commands
ask docs <spec> and ask src <spec> emit absolute paths to stdout — drop them straight into $(…) for rg, cat, fd, or any tool that takes a path.
Cached at ~/.ask/
Every fetched library is stored once under ~/.ask/. Multiple projects share the same cache; ask cache ls and ask cache clean manage disk pressure.