Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

gitbookgitbook 搜索

Agent Skill

gitbook 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

346

周安装

14

GitHub Stars

11

下载量

109
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gitbook(gitbook 搜索)
来源仓库:https://github.com/enuno/claude-command-and-control
仓库路径:skills/gitbook
安装命令:
npx skills add https://github.com/enuno/claude-command-and-control --skill gitbook
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/enuno/claude-command-and-control --skill gitbook

简介

gitbook 用于 GitBook 平台相关操作,包括空间管理、同步配置、域名设置和 API 文档生成。

  • 支持块编辑器使用、团队协作变更管理和站点外观自定义,适用于文档发布和维护场景。
  • 建议在创建或迁移 GitBook 内容时启用,可辅助解决部署问题和品牌定制需求。
  • 安装前请确认仓库权限和 token 范围,避免误操作私有仓库或敏感配置。
  • gitbook 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

GitBook Skill

Use when working with GitBook documentation platform, generated from official documentation (107 pages).

When to Use This Skill

This skill should be triggered when:

  • Creating or managing GitBook documentation spaces
  • Setting up Git synchronization (GitHub/GitLab)
  • Publishing documentation sites with custom domains
  • Working with GitBook's block-based editor
  • Configuring OpenAPI/API reference documentation
  • Managing team collaboration and change requests
  • Migrating content to GitBook
  • Customizing site appearance and branding

Quick Reference

Core Concepts

ConceptDescription
SpaceA documentation project (like a book or wiki)
CollectionA group of related spaces
SitePublished documentation accessible via URL
Change RequestDraft changes for review before publishing
Live EditsDirect changes without change request workflow

Content Blocks

GitBook uses a block-based editor. Common blocks:

BlockShortcutDescription
ParagraphJust typeDefault text block
Heading#, ##, ###Section headers (H1, H2, H3)
Code Block`` or /code`Syntax-highlighted code
Quote> or /quoteBlockquote
List-, 1.Unordered/ordered lists
Task List- []Checkbox items
Table/tableData tables
Image/imageUpload or embed images
Tabs/tabsTabbed content
Expandable/expandableCollapsible sections
Cards/cardsVisual link cards
Hint/hintInfo, warning, danger, success boxes
API Reference/openapiOpenAPI spec integration

Inline Content (/) Palette

Press / in any text block to access:

  • Link - Relative (internal) or absolute (external) links
  • Image - Inline images
  • Emoji - :emoji_name: syntax
  • Math - LaTeX/KaTeX formulas: $$formula$$
  • Annotation - Footnote-style explanations

Common Patterns

Create a hint/callout box

{% hint style="info" %}
This is an info hint
{% endhint %}

{% hint style="warning" %}
This is a warning
{% endhint %}

{% hint style="danger" %}
This is a danger/error hint
{% endhint %}

{% hint style="success" %}
This is a success hint
{% endhint %}

Create tabs

{% tabs %}
{% tab title="JavaScript" %}
console.log("Hello");
{% endtab %}
{% tab title="Python" %}
print("Hello")
{% endtab %}
{% endtabs %}

Create expandable section

{% expandable title="Click to expand" %}
Hidden content here
{% endexpandable %}

Create stepper (numbered steps)

{% stepper %}
{% step %}
First step content
{% endstep %}
{% step %}
Second step content
{% endstep %}
{% endstepper %}

Create cards

{% cards %}
{% card title="Card 1" href="/page1" %}
Description here
{% endcard %}
{% card title="Card 2" href="/page2" %}
Another description
{% endcard %}
{% endcards %}

Git Sync Configuration

Enable GitHub Sync

  1. Go to space settings → Git Sync
  2. Connect GitHub account
  3. Select repository and branch
  4. Configure sync direction:

- GitBook → GitHub: GitBook is source of truth - GitHub → GitBook: Git repo is source of truth - Two-way: Bidirectional sync

Directory structure for Git

docs/
├── README.md          # Space landing page
├── SUMMARY.md         # Table of contents
├── .gitbook.yaml      # GitBook configuration
├── page-one.md
├── group/
│   ├── README.md      # Group landing page
│   └── nested-page.md
└── .gitbook/
    └── assets/        # Images and files

SUMMARY.md structure

# Table of contents

* [Introduction](README.md)
* [Getting Started](getting-started.md)

## Section Title

* [Page One](section/page-one.md)
* [Page Two](section/page-two.md)

.gitbook.yaml configuration

root: ./docs/          # Documentation root directory

structure:
  readme: README.md    # Landing page file
  summary: SUMMARY.md  # Table of contents file

redirects:
  old-path: new-path   # URL redirects

Custom Domain Setup

  1. Go to site settings → Custom domain
  2. Add your domain (e.g., docs.example.com)
  3. Configure DNS:

- CNAME record: Point to hosting.gitbook.io - Or A record for apex domains

  1. Enable HTTPS (automatic via Let's Encrypt)

Subdirectory publishing (with Cloudflare/Vercel)

example.com/docs → GitBook site

OpenAPI Integration

Add OpenAPI specification

  1. Upload OpenAPI/Swagger file (JSON or YAML)
  2. Or link to hosted spec URL
  3. GitBook auto-generates interactive API docs

Customize API reference

{% openapi src="./api.yaml" /%}

Publishing Options

TypeDescription
PublicAccessible to everyone
UnlistedNo search indexing, URL access only
Share linksPrivate with token-based access
AuthenticatedSSO/login required

Collaboration

Change Requests

  • Create a change request for non-breaking changes
  • Request reviews from team members
  • Merge when approved
  • Automatic conflict detection

Live Edits

  • Direct editing for quick fixes
  • No approval workflow
  • Immediate publishing

Comments

  • Inline comments on any block
  • @mention team members
  • Resolve when addressed

Migration to GitBook

From other platforms

  1. Import panel: Confluence, Notion, Docusaurus, Markdown
  2. Git Sync: Connect existing Git repo with markdown files
  3. Manual: Copy/paste with formatting preserved

Import via Git Sync

# Prepare your repo
mkdir docs
echo "# Welcome" > docs/README.md
echo "* [Welcome](README.md)" > docs/SUMMARY.md
git add . && git commit -m "Initial docs"

Keyboard Shortcuts

ActionShortcut
Command palette⌘/Ctrl + K
Bold⌘/Ctrl + B
Italic⌘/Ctrl + I
Link⌘/Ctrl + K (with selection)
Code⌘/Ctrl + E
Search⌘/Ctrl + /

Reference Files

This skill includes comprehensive documentation in references/:

  • llms-txt.md - Full GitBook documentation (107 pages, 456 KB)
  • llms-full.md - Complete llms.txt source
  • llms.md - Condensed reference (95 KB)

Use view to read specific reference files when detailed information is needed.

Content Categories

The reference documentation covers:

Creating Content

  • Blocks (code, tables, images, tabs, cards, etc.)
  • Inline content (links, emojis, math, annotations)
  • Formatting and layout
  • Page structure and navigation

Publishing

  • Sites and custom domains
  • Public vs private publishing
  • Share links and authentication
  • Redirects and SEO

Collaboration

  • Change requests and live edits
  • Comments and reviews
  • Team management
  • Merge rules

Integration

  • Git Sync (GitHub, GitLab)
  • OpenAPI/API documentation
  • Translations
  • Extensions

Configuration

  • Site structure and theming
  • Icons, colors, and branding
  • Content configuration
  • Troubleshooting

Common Issues

Git Sync not working

  • Check repository permissions
  • Verify branch exists
  • Ensure SUMMARY.md is valid
  • Check for merge conflicts

Custom domain issues

  • Verify DNS propagation (can take 24-48 hours)
  • Check CNAME points to hosting.gitbook.io
  • Ensure no conflicting records

Content not updating

  • Check for pending change requests
  • Verify Git sync status
  • Clear browser cache
  • Check for merge conflicts

Notes

  • This skill was generated from official GitBook documentation via llms.txt
  • Reference files contain 107 pages of comprehensive documentation
  • Content is current as of January 2026

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude

34.85%
按下载量换算38

Codex

33.79%
按下载量换算37

Cursor

17.88%
按下载量换算19

Gemini CLI

10.3%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills