Command-line tool to manage Wiki.js content, pages, assets, templates, and backups via its GraphQL API with search, update, sync, and analysis functions.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install wikijs或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install wikijs⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/wikijs/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
A complete CLI for managing Wiki.js via the GraphQL API.
# Install
npm install && npm link
# Configure
cp config/wikijs.example.json ~/.config/wikijs.json
# Edit with your Wiki.js URL and API token
# Test connection
wikijs health
| Command | Description | |---------|-------------| | wikijs list | List all pages | | wikijs search "query" | Search pages | | wikijs get | Read a page | | wikijs info | Show page metadata | | wikijs grep "pattern" | Search within content | | wikijs tree | Display page hierarchy |
| Command | Description | |---------|-------------| | wikijs create | Create a page | | wikijs create ... --template doc | Create from template | | wikijs update | Update a page | | wikijs move | Move a page | | wikijs delete | Delete a page |
| Command | Description | |---------|-------------| | wikijs tags | List all tags | | wikijs tag | Add a tag | | wikijs tag | Remove a tag |
| Command | Description | |---------|-------------| | wikijs backup | Create backup | | wikijs restore-backup | Restore from backup | | wikijs export | Export to files |
| Command | Description | |---------|-------------| | wikijs versions | Show history | | wikijs revert | Restore version | | wikijs diff | Compare versions |
| Command | Description | |---------|-------------| | wikijs images | List assets | | wikijs upload | Upload asset | | wikijs delete-image | Delete asset |
| Command | Description | |---------|-------------| | wikijs bulk-create | Create from files | | wikijs bulk-update | Update from files | | wikijs sync | Sync to local | | wikijs sync --watch | Watch mode |
| Command | Description | |---------|-------------| | wikijs tree | Page hierarchy tree | | wikijs check-links | Find broken links | | wikijs stats | Show statistics | | wikijs lint | Lint markdown file | | wikijs lint --id | Lint wiki page | | wikijs orphans | Find pages with no incoming links | | wikijs duplicates | Find similar/duplicate content | | wikijs toc | Generate table of contents | | wikijs validate | Validate page content | | wikijs validate --all | Validate all pages | | wikijs spellcheck | Check spelling |
| Command | Description | |---------|-------------| | wikijs clone | Duplicate a page | | wikijs replace "old" "new" | Search/replace across pages | | wikijs sitemap | Generate XML sitemap |
| Command | Description | |---------|-------------| | wikijs shell | Interactive shell mode | | wikijs watch | Watch page for changes |
| Command | Description | |---------|-------------| | wikijs template list | List templates | | wikijs template show | Show template | | wikijs template create | Create template | | wikijs template delete | Delete template |
| Command | Description | |---------|-------------| | wikijs health | Check connection | | wikijs cache clear | Clear cache | | wikijs completion bash | Shell completion |
| Option | Description | |--------|-------------| | -v, --verbose | Verbose output | | -d, --debug | Debug output | | --no-color | Disable colors | | --rate-limit | API rate limiting |
| Option | Description | |--------|-------------| | --format json\|table | Output format | | --limit | Limit results | | --force | Skip confirmations | | --locale | Specify locale | | --dry-run | Preview changes |
# Create page with template
wikijs template create doc --content "# {{title}}\n\n{{date}}"
wikijs create "/docs/api" "API Docs" --template doc
# Find broken links in docs section
wikijs check-links --path "/docs"
# Bulk import with rate limiting
wikijs --rate-limit 500 bulk-create ./pages --path-prefix "/imported"
# Watch mode for continuous sync
wikijs sync --output ~/wiki-mirror --watch --interval 60
# Debug API issues
wikijs --debug list
# Clone a page
wikijs clone 42 "/docs/new-page" --with-tags
# Find orphan pages (no incoming links)
wikijs orphans
# Search and replace across wiki
wikijs replace "oldterm" "newterm" --path "/docs" --dry-run
# Generate table of contents
wikijs toc 42 --format markdown
# Find duplicate content
wikijs duplicates --threshold 80
# Generate sitemap for SEO
wikijs sitemap --output sitemap.xml
# Interactive shell mode
wikijs shell
# Watch a page for changes
wikijs watch "/docs/api" --interval 60
# Spell check a page
wikijs spellcheck 42 --lang en --ignore "API,CLI,GraphQL"
# Validate all pages
wikijs validate --all --format json
--format json for machine-readable output--force is used\n, \t) are interpreted in --content strings{{title}}, {{path}}, {{date}}安装 Wiki.js CLI 后,可以对 AI 说这些话来触发它
Help me get started with Wiki.js CLI
Explains what Wiki.js CLI does, walks through the setup, and runs a quick demo based on your current project
Use Wiki.js CLI to command-line tool to manage Wiki
Invokes Wiki.js CLI with the right parameters and returns the result directly in the conversation
What can I do with Wiki.js CLI in my documents & notes workflow?
Lists the top use cases for Wiki.js CLI, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/wikijs/ 目录(个人级,所有项目可用),或 .claude/skills/wikijs/(项目级)。重启 AI 客户端后,用 /wikijs 主动调用,或让 AI 根据上下文自动发现并使用。
Wiki.js CLI 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Wiki.js CLI 可免费安装使用。请查阅仓库了解许可证信息。
Command-line tool to manage Wiki.js content, pages, assets, templates, and backups via its GraphQL API with search, update, sync, and analysis functions.
Wiki.js CLI 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Wiki.js CLI
Identifies repetitive steps in your workflow and sets up Wiki.js CLI to handle them automatically