Wiki.js CLI Skill for Openclaw

A comprehensive command-line interface for managing Wiki.js instances through the GraphQL API.

hopyky
v1.4.0
Feb 7, 2026
0
2.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wikijs

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wikijs using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Wiki.js CLI Skill?

The Wiki.js CLI skill is a powerful tool designed for developers and documentation maintainers who need to interact with their Wiki.js instance directly from the terminal. It provides a full suite of commands to handle page lifecycle management, asset uploads, and complex content operations without the need for the web interface. By integrating this skill into your Openclaw Skills library, you can automate repetitive tasks like bulk page creation, content auditing, and multi-environment synchronization with ease.

This utility leverages the Wiki.js GraphQL API to ensure performant and reliable communication. Whether you are performing routine health checks, generating sitemaps, or executing global search-and-replace operations, this skill transforms your wiki into a highly programmable documentation platform.

Wiki.js CLI Skill Use Cases

  • Automating the creation of wiki pages from local Markdown documentation folders using bulk import commands.
  • Identifying and fixing broken links or orphan pages to maintain documentation health.
  • Synchronizing local file systems with a remote wiki instance in real-time using watch mode.
  • Performing global content updates and regex replacements across hundreds of pages simultaneously.
  • Managing documentation backups and version history through automated terminal workflows.

How Wiki.js CLI Skill Works

  1. The skill connects to the remote Wiki.js instance using the URL and API token defined in the local configuration file.
  2. Commands are issued via the CLI, which translates user intent into optimized GraphQL queries or mutations.
  3. Content operations such as creation or updates are processed, supporting Markdown formatting and custom templates.
  4. Bulk operations interact with the local file system to sync, upload, or export content based on defined paths.
  5. The skill provides feedback through standardized exit codes and optional JSON output, making it compatible with larger Openclaw Skills automation sequences.

Wiki.js CLI Skill Setup

To get started with the Wiki.js CLI skill, follow these installation and configuration steps:

# Install the package and link the binary globally
npm install && npm link

# Create your local configuration file from the template
cp config/wikijs.example.json ~/.config/wikijs.json

# Edit ~/.config/wikijs.json with your Wiki.js URL and API token

# Verify your connection to the server
wikijs health

Wiki.js CLI Skill Data Schema & Taxonomy

The skill manages data through a structured configuration and specific API metadata. Use the following schema to understand how information is organized:

Component Description
Configuration Stored in ~/.config/wikijs.json containing apiUrl and token.
Page Metadata Includes ID, Path, Title, Description, and Tags.
Templates Defined in the wiki and accessible via the CLI for standardized content generation.
Assets Managed by ID or filename, supporting bulk uploads and deletions.
Formats Supports output in table for human readability or json for machine processing.

Wiki.js CLI Skill Advanced Features

  • Interactive shell mode for executing multiple commands in a persistent session.
  • Real-time synchronization with a --watch flag to monitor local changes and update the wiki instantly.
  • Deep content analysis including spellcheck, link validation, and duplicate content detection.
  • Flexible templating system with support for placeholders like {{title}}, {{path}}, and {{date}}.
  • Advanced version control features allowing users to diff versions and revert to previous states via the CLI.
  • Rate limiting support to prevent API throttling during massive bulk operations within Openclaw Skills environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*