stripe-docs — Claude Code skill: docs and API lookup
Searches Stripe documentation and API reference from the terminal. Use it when an agent needs a docs page, a keyword search, or an API lookup.
npx skills add stripe/ai --skill stripe-docs -a claude-codeWhat stripe-docs does
The skill routes Stripe documentation and API reference requests through stripe docs instead of curl or WebFetch. It can read a page by web path, search by keyword, and look up an API resource, an HTTP method and path, or an event type.
The command fetches Markdown automatically. Gated documentation requires stripe login, and CLI versions below v1.50.9 cannot access it. That makes checking the CLI version necessary before requesting gated pages.
The skill is built for agent and terminal workflows. Its available commands are stripe docs, stripe login, and stripe version.
What it helps with
- read a documentation page by web path
- search Stripe docs by keyword
- look up an API resource or HTTP endpoint
- find reference material for an event type
- access gated documentation after login
Example prompts for the agent
- Read the Stripe documentation page at
/payments. - Search Stripe docs for Payment Intents.
- Look up the API reference for
GET /v1/products.
How to install stripe-docs
1Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a claude-code2Manually: put the files in place
~/.claude/skills/stripe-docs/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/stripe-docs/
1Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a codex2Manually: put the files in place
.agents/skills/stripe-docs/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a cursor2Manually: put the files in place
.cursor/skills/stripe-docs/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install stripe/ai stripe-docs2Manually: put the files in place
.github/skills/stripe-docs/SKILL.md1Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a gemini-cli2Platform CLI
gemini skills install https://github.com/stripe/ai --path skills/stripe-docsManually: put the files in place
.devin/skills/stripe-docs/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about stripe-docs
How do I install stripe-docs in Claude Code?
Run npx skills add stripe/ai --skill stripe-docs -a claude-code, then run npx skills add stripe/ai --skill stripe-docs -a claude-code again. The skill is located at ~/.claude/skills/stripe-docs/SKILL.md.
What does stripe-docs do?
It reads and searches Stripe documentation through stripe docs. It can also look up API reference entries by resource, HTTP method and path, or event type.
What is required for gated Stripe documentation?
Sign in with stripe login and use a current Stripe CLI version. Versions below v1.50.9 cannot access gated documentation.
Source text
SKILL.md · MIT
--- name: stripe-docs description: >- Use when the user or agent needs to read, search, or look up Stripe documentation or API reference. Prefer this over curl or WebFetch for any docs.stripe.com content. Use to fetch gated documentation. metadata: short-description: Read and search Stripe documentation from the terminal allowed-tools: - Bash(stripe docs *) - Bash(stripe login) - Bash(stripe version) --- Use `stripe docs` instead of fetching [docs.stripe.com](https://docs.stripe.com/.md) content directly with `curl` or `WebFetch`. If you don’t have the CLI installed, [install the Stripe CLI](https://docs.stripe.com/cli/install). Always use the latest CLI version. If the current CLI version is less than v1.50.9, you must [upgrade](https://docs.stripe.com/cli/install) to access gated documentation. - Fetches Markdown automatically - Fetches gated documentation. Users must log in using `stripe login` to access gated documentation. - Purpose-built for agents and terminal workflows ## Read a page by its web path ```bash stripe docs /payments ``` ## Search documentation by keyword ```bash stripe docs search "payment intents" ``` ## Look up API reference ```bash # By resource name stripe docs api product # By HTTP method and path stripe docs api GET /v1/products # By event type stripe docs api product.created ```
© stripe · MIT · stripe/ai