/install bookstack
BookStack Skill
BookStack is an open-source wiki and documentation platform. This skill lets you manage your entire knowledge base via API – perfect for automation and integration.
Features
- 📚 Books – create, edit, delete
- 📑 Chapters – organize content within books
- 📄 Pages – create/edit with HTML or Markdown
- 🔍 Full-text search – search across all content
- 📁 Shelves – organize books into collections
Quick Start
# List all books
python3 scripts/bookstack.py list_books
# Search the knowledge base
python3 scripts/bookstack.py search "Home Assistant"
# Get a page
python3 scripts/bookstack.py get_page 123
# Create a new page (Markdown)
python3 scripts/bookstack.py create_page --book-id 1 --name "My Page" --markdown "# Title\
\
Content here..."
All Commands
Books
python3 scripts/bookstack.py list_books # List all books
python3 scripts/bookstack.py get_book \x3Cid> # Book details
python3 scripts/bookstack.py create_book "Name" ["Desc"] # New book
python3 scripts/bookstack.py update_book \x3Cid> [--name] [--description]
python3 scripts/bookstack.py delete_book \x3Cid>
Chapters
python3 scripts/bookstack.py list_chapters # List all chapters
python3 scripts/bookstack.py get_chapter \x3Cid> # Chapter details
python3 scripts/bookstack.py create_chapter --book-id \x3Cid> --name "Name"
python3 scripts/bookstack.py update_chapter \x3Cid> [--name] [--description]
python3 scripts/bookstack.py delete_chapter \x3Cid>
Pages
python3 scripts/bookstack.py list_pages # List all pages
python3 scripts/bookstack.py get_page \x3Cid> # Page preview
python3 scripts/bookstack.py get_page \x3Cid> --content # With HTML content
python3 scripts/bookstack.py get_page \x3Cid> --markdown # As Markdown
# Create page (in book or chapter)
python3 scripts/bookstack.py create_page --book-id \x3Cid> --name "Name" --markdown "# Content"
python3 scripts/bookstack.py create_page --chapter-id \x3Cid> --name "Name" --html "\x3Cp>HTML\x3C/p>"
# Edit page
python3 scripts/bookstack.py update_page \x3Cid> [--name] [--content] [--markdown]
python3 scripts/bookstack.py delete_page \x3Cid>
Search
python3 scripts/bookstack.py search "query" # Search everything
python3 scripts/bookstack.py search "query" --type page # Pages only
python3 scripts/bookstack.py search "query" --type book # Books only
Shelves
python3 scripts/bookstack.py list_shelves # List all shelves
python3 scripts/bookstack.py get_shelf \x3Cid> # Shelf details
python3 scripts/bookstack.py create_shelf "Name" ["Desc"] # New shelf
Configuration
Set the following environment variables:
export BOOKSTACK_URL="https://your-bookstack.example.com"
export BOOKSTACK_TOKEN_ID="your-token-id"
export BOOKSTACK_TOKEN_SECRET="your-token-secret"
Or configure via your gateway config file under skills.entries.bookstack.env.
Create an API Token
- Log in to your BookStack instance
- Go to Edit Profile → API Tokens
- Click Create Token
- Copy the Token ID and Secret
⚠️ The user needs a role with "Access System API" permission!
API Reference
- Base URL:
{BOOKSTACK_URL}/api - Auth Header:
Authorization: Token {ID}:{SECRET} - Official Docs: https://demo.bookstackapp.com/api/docs
Author: xenofex7 | Version: 1.0.2
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bookstack - 安装完成后,直接呼叫该 Skill 的名称或使用
/bookstack触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
BookStack 是什么?
BookStack Wiki & Documentation API integration. Manage your knowledge base programmatically: create, read, update, and delete books, chapters, pages, and shelves. Full-text search across all content. Use when you need to: (1) Create or edit wiki pages and documentation, (2) Organize content in books and chapters, (3) Search your knowledge base, (4) Automate documentation workflows, (5) Sync content between systems. Supports both HTML and Markdown content. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2763 次。
如何安装 BookStack?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bookstack」即可一键安装,无需额外配置。
BookStack 是免费的吗?
是的,BookStack 完全免费(开源免费),可自由下载、安装和使用。
BookStack 支持哪些平台?
BookStack 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 BookStack?
由 xenofex7(@xenofex7)开发并维护,当前版本 v1.0.3。