Agent skills
Use GitBook’s official SKILL.md file to give AI coding assistants like Claude Code, Cursor or Codex knowledge of GitBook’s features and blocks
GitBook provides skill files that teach AI coding assistants how to edit GitBook documentation correctly. If you use Claude Code, Cursor, Codex, or another external coding assistant, add GitBook skills so your agent can work with GitBook syntax, blocks, and configuration files.
This fits well with Git Sync workflows — make changes in your repo, commit them, and your docs site updates automatically.
Add GitBook skills to your AI agent
Use this option when your AI coding assistant supports package-based skills.
Create an access token
To let your agent interact with GitBook, you need to create an access token from your GitBook developer settings. GitBook uses this token to authenticate your agent when working with GitBook skills.
Install GitBook skills
This skill is part of the gitbook-skills repository. Run the following command to install GitBook skills directly to your project:
Add GitBook skills locally
Download GitBook’s skills if your assistant doesn’t support package-based skills.
Create an access token
To let your agent interact with GitBook, you need to create an access token from your GitBook developer settings. GitBook uses this token to authenticate your agent when working with GitBook skills.
Download GitBook skills
Install GitBook skills with npx skills add GitBookIO/gitbook-skills when your assistant supports it.
To copy the files to your project manually, get GitBook skills from the gitbook-skills repository.
write-openapi
Author, configure, structure, and troubleshoot OpenAPI/Swagger API reference docs.
cr-review
Review GitBook change requests, summarize changes, comment, approve, or request changes.
Remember to update your local repository with the latest SKILL.md file as GitBook adds new features.
Using GitBook skills
FAQ
Last updated
Was this helpful?