Installation
Install the ASK CLI and run it against your project.
Installation
Prerequisites
- Node.js 22.5+ (required for the
node:sqliteconnector used by some integrations) - A package manager (bun, npm, pnpm, or yarn) — ASK reads whichever lockfile is present
Install the CLI
# bun (recommended for this repo)
bun add -d @pleaseai/ask
# npm
npm install -D @pleaseai/ask
# pnpm
pnpm add -D @pleaseai/ask
# yarn
yarn add -D @pleaseai/ask
Or run ad-hoc without installing:
bunx @pleaseai/ask docs zod
npx @pleaseai/ask docs zod
First run
Declare libraries in ask.json:
{
"libraries": [
"npm:next",
"npm:zod",
{ "spec": "github:tanstack/intent", "ref": "v0.5.0" }
]
}
Then resolve, fetch, and wire everything up:
ask install
This will:
- Resolve every entry against the project's lockfile (or the pinned
reffor github specs). - Fetch docs into
.ask/docs/<name>@<version>/(gitignored). - Write a Claude Code skill at
.claude/skills/<name>-docs/SKILL.md. - Regenerate the
<!-- BEGIN:ask-docs-auto-generated -->block inAGENTS.md.
One-shot reads
No ask.json required:
# Candidate doc directories (one per line)
ask docs zod
# Cached checkout root (single path)
ask src facebook/react
# Producer-shipped skills
ask skills list vercel/ai
All three commands share a single cache at ~/.ask/ (override with ASK_HOME).